Bug 411437 - double clicking on panel maximizes the active panel menu plasmoid (it should dismiss it, per common UI patterns)
Summary: double clicking on panel maximizes the active panel menu plasmoid (it should ...
Status: RESOLVED DUPLICATE of bug 411462
Alias: None
Product: lattedock
Classification: Plasma
Component: application (show other bugs)
Version: git (master)
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-30 07:44 UTC by leftcrane
Modified: 2019-08-31 06:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leftcrane 2019-08-30 07:44:40 UTC
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
Comment 1 Michail Vourlakos 2019-08-30 07:47:38 UTC
makes sense, but there is no way to identify it...
Comment 2 leftcrane 2019-08-30 10:19:27 UTC
Well the window class of the popup is lattedock.
Comment 3 Michail Vourlakos 2019-08-30 11:30:09 UTC
(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
Comment 4 leftcrane 2019-08-30 23:42:12 UTC
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?
Comment 5 Michail Vourlakos 2019-08-30 23:58:21 UTC
(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?
Comment 6 Michail Vourlakos 2019-08-31 00:09:05 UTC
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
Comment 8 Michail Vourlakos 2019-08-31 06:57:10 UTC

*** This bug has been marked as a duplicate of bug 411462 ***