Bug 444677

Summary: On X11, Kicker submenus are positioned below latte docks
Product: [Plasma] plasmashell Reporter: j.carvajal.ortiz
Component: Application Menu (Kicker) widgetAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: mvourlakos, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.23.0   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:
Attachments: The Application Menu is not showed correctly because part of him under the dock (option for power off the pc is not visible)

Description j.carvajal.ortiz 2021-10-30 19:07:26 UTC
Created attachment 143038 [details]
The Application Menu is not showed correctly because part of him under the dock (option for power off the pc is not visible)

SUMMARY
The Application Menu (in spanish MenĂº de Aplicaciones), a tree like menu for Plasma, is floating. When you press the key o click the menu the parts who are emergent (pop up) and big or are in the lower part of the menu are showed under the dock (in part) and some apps aren't visible.

STEPS TO REPRODUCE
1. Activate Latte Dock in dock mode and in plasma theme with background and some level of opacitty
2. Put Application Menu in the dock
3. Activate the Application Menu and click a category with a large numbers of apps or in the lower part of the menu

OBSERVED RESULT
Some apps aren't visible, they are under the dock (can be open and activate)

EXPECTED RESULT
The pop up tree of the menu is relocated to show all the apps in a visible space

SOFTWARE/OS VERSIONS 
Linux: Manjaro 
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Runnig with X11 and OpenGL 3.1 Compositor; Intel Graphics

Sorry for bad english
Comment 1 Michail Vourlakos 2021-10-30 20:44:21 UTC
use v0.10.3 and reopen if it is still reproducable.
Comment 2 Michail Vourlakos 2021-10-30 20:45:52 UTC
1. Ah sorry, this is not Latte fault, feel free to inform the applet developers to fix their implementation...

2. If you have enabled in Latte Behavior settings "Can be above fullscreen windows" it might be a good idea to disable it.

3. in any case you need to update first to v0.10.3
Comment 3 Michail Vourlakos 2021-10-30 21:42:17 UTC
The details are the following: org.kde.plasma.kicker is not setting WindowStaysOnTop for its submenus.

A quick fix is the following:
At file: ItemListDialog.qml file we can add line

flags: Qt.WindowStaysOnTopHint

just like the main CompactApplet is already doing.
Comment 4 Nate Graham 2023-12-09 04:27:33 UTC
Does not affect Plasma panels on X11, and Latte Dock looks dead-ish in Plasma 6. Still, maybe worth adding that trivial line of code.
Comment 5 Bug Janitor Service 2023-12-09 04:33:36 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1910
Comment 6 Nate Graham 2023-12-09 17:24:59 UTC
Git commit ca1a2f0d94866860f70971f60f5f8fe2fd42bc88 by Nate Graham.
Committed on 09/12/2023 at 17:50.
Pushed by ngraham into branch 'master'.

applets/kicker: don't let submenus go under Latte Dock
FIXED-IN: 6.0

M  +1    -0    applets/kicker/package/contents/ui/ItemListDialog.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/ca1a2f0d94866860f70971f60f5f8fe2fd42bc88