-
Notifications
You must be signed in to change notification settings - Fork 143
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Menus seem to be displayed on the same layer as the parent #1293
Comments
The menu doesn't use the layershell protocol but is rather a usual xdg popup. We do move popups created by layershell clients to the top layer, however we apparently only do that when created by "bottom" layershell surfaces: Lines 365 to 368 in b34d074
So it should be easy to fix, will do it later if you don't beat me to it ( |
I'll leave you to it - you'll know where to look! Many thanks! |
Just checked on a quick hack here - just modifying that test to check for either LAYER_BOTTOM or LAYER_BACKGROUND does indeed fix the problem. |
Previously we would only do that for the bottom layer. Fixes labwc#1293 Reported-by: @spl237
Should be fixed in latest master. Thanks for the report. |
Yes, just tested here - fixed for me - many thanks! |
A small glitch I noticed yesterday.
We use pcmanfm to draw the desktop background; if you right-click the desktop, you get a pop-up menu.
On labwc, this menu displays underneath any windows which happen to be open - on wayfire, it displays on top of any open windows.
I suspect the layer-shell layer for the menu is being set to the same layer as the parent window which opens it - as the pcman desktop window is shown on the background layer, the menu gets set to the same layer, rather than the overlay layer where it should be displayed. Would it be better to make sure all menus get assigned to the overlay layer irrespective of parent layer?
The text was updated successfully, but these errors were encountered: