SUMMARY STEPS TO REPRODUCE 1. Set "Active drag/restore window" in the panel settings 2. Open up the network menu or any other panel plasmoid popover. 3. Double click on empty space in the panel. 4. Drag on empty space in the panel. OBSERVED RESULT The popover plasmoid is getting treated like a normal window. EXPECTED RESULT The plasmoid should get dismissed when the user clicks on empty space in the panel. Operating System: Kubuntu 19.04 KDE Plasma Version: 5.16.4 KDE Frameworks Version: 5.61.0
makes sense, but there is no way to identify it...
Well the window class of the popup is lattedock.
(In reply to leftcrane from comment #2) > Well the window class of the popup is lattedock. this is not an approach, Latte has more windows that can be dragged such the Latte Prefferences and also this does not solve the Plasma case
Latte windows don't really need this functionality, do they? I mean most of them are just dialogs. Alternately can't you change the class of maximizable/draggable latte windows?
(In reply to leftcrane from comment #4) > Latte windows don't really need this functionality, do they? I mean most of > them are just dialogs. Alternately can't you change the class of > maximizable/draggable latte windows? Some of them they need it, for example, applets settings dialog and Latte Global Preferences. Do you know any way to set different class for maximizable/draggable windows?
BTW I just remembered that I consider this upstream. Latte already contains checks to identify maximizable and draggable windows based on specs. So this is plasma upstream issue to not set its pop-up dialog no maximizable and no draggable
https://phabricator.kde.org/source/latte-dock/browse/master/app/wm/xwindowinterface.cpp$397 mentioned code
*** This bug has been marked as a duplicate of bug 411462 ***