SUMMARY In the current edit mode interaction, when the user closes the panel edit dialog, edit mode closes. When the user clicks the widget sidebar to close it, this closes edit mode. This leads to users who are not done in edit mode to have to constantly reopen edit mode to do more tasks. Given that the edit mode concentrates a few interactions into one main edit interaction, the user should not exit edit mode involuntarily. Instead, the user should click on the final call to action, such as "exit edit mode" and then close the interaction.
I forgot to mention that the escape key can also be the way to exit edit mode. It would be esc key until all dialogs are closed. When none are left, the user should exit edit mode.
this is probably petter discussed in vdg channel rather than tracked on bugzilla?
I submitted it here because it's a ux bug.
It's a valid UX issue IMO. If you showed the panel settings dialog from global edit mode, then closing it should just close it, not also exit global edit mode.
Regarding the Escape key, this at present already only closes the Panel Configuration interface, but it does so irrespective of whether it was opened directly or whether Edit Mode was manually activated beforehand. (So the opposite of what closing the interface through the button does).
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2376
Git commit 1a7b1593e0e9d21cc6cb0901f1d0bf197373158e by Niccolò Venerandi. Committed on 29/08/2024 at 14:52. Pushed by niccolove into branch 'master'. Only exit edit mode upon panel config close if we did not enter via desktop context menu M +9 -3 containmentactions/contextmenu/menu.cpp M +18 -0 shell/desktopview.cpp M +4 -0 shell/desktopview.h M +9 -1 shell/panelview.cpp M +10 -0 shell/shellcorona.cpp M +2 -0 shell/shellcorona.h https://invent.kde.org/plasma/plasma-workspace/-/commit/1a7b1593e0e9d21cc6cb0901f1d0bf197373158e