Hi, I noticed that "Current Configuration" is not the real current configuration, because it is a generated configuration file at application startup[0]. If you modify the panel after you opened xfce4-panel-profiles and then apply "Current Configuration", the old panel is restored. I think this is a bug. My solution: get rid of caching the current panel configuration, it is better to generate it only if the user want to export or copy it. [0]: https://git.xfce.org/apps/xfce4-panel-profiles/tree/xfce4-panel-profiles/xfce4-panel-profiles.py#n382
Created attachment 9176 Patch that solves the bug. This is my proposed patch. I removed all code related to caching current configuration, I also fixed 'apply' button when current configuration is selected.
I'm a fan of this approach - makes sense to me!
Emanuele Petriglia referenced this bugreport in commit 2bd963527c84595292df038465220631cff81bc7 Do not cache current configuration (Bug #16114) https://git.xfce.org/apps/xfce4-panel-profiles/commit?id=2bd963527c84595292df038465220631cff81bc7
Thanks for the patch! Applied above.