This is my solution to #16505 on bugzilla. It simply reopens
xfce-panel-profiles is launched with
--from-panel option and if the user click on
Obviously I need to open a merge request on
xfce-panel to launch this app with the new option.
This is a GIF that shows the behaviour: