Skip to content
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

Wrong position of menus (and tooltips) with bottom/right panel on Wayland #2171

Open
gen2brain opened this issue Nov 16, 2024 · 7 comments
Open
Labels

Comments

@gen2brain
Copy link

Expected Behavior

The menu and submenus should be shown in the correct positions.

Current Behavior

The attached screenshot shows the issue.

Possible Solution
Steps to Reproduce (for bugs)

Start Wayland session with labwc compositor.

Context

There are no issues with the fancymenu, but I prefer to use plain ol' mainmenu even with this issue.

System Information
  • LXQt Version: 2.1.0
  • LXQt panel Version: 2.1.1
  • Distribution & Version: Gentoo
  • Qt Version: 6.7.3
  • liblxqt Version: 2.1.0

2024-11-16_09-05

@marcusbritanicus
Copy link
Contributor

I can confirm this on Wayfire as well with 2.1.0

2024-11-16_14:00:49

@tsujan
Copy link
Member

tsujan commented Nov 16, 2024

Thanks, but we've been aware of this for a long time (there may be an open report about it). It's a Qt bug.

If you use Main Menu, put the panel at the top.

@gen2brain
Copy link
Author

I only found this one #1990, but it is closed, marked as wontfix, and didn't look like my case at first. I guess I will have to leave with it in the Wayland session, I don't use it often anyway. Is there an open Qt bug that I can follow?

@tsujan
Copy link
Member

tsujan commented Nov 16, 2024

I only found this one #1990,

Yes, I wasn't sure that we had a report about it; hence not closing this one. It's good to keep track of such Qt problems. Main Menu should be OK if you put the panel at the top.

Is there an open Qt bug that I can follow?

I'm not aware of any. By Qt, I meant layer-shell-qt or QtWayland (or both); Qt's base (qt6-base) may be OK.

@tsujan tsujan added the wayland label Nov 16, 2024
@gen2brain
Copy link
Author

Thanks. I may as well try to use the new and fancy menu. I have decades of using the bottom panel everywhere, and I have used your panel since razor-qt, habits are hard to break.

@tsujan
Copy link
Member

tsujan commented Nov 16, 2024

You might see the same problem in some other menus, especially in context menus (Status Notifier?) with a bottom/right panel.

We usually don't wait for a fix in Qt but make workarounds. Sadly, no workaround is found for this one yet.

@stefonarch
Copy link
Member

The same can be seen with the "add|remove to favorites" dialog in fancy menu and with directorymenu widget, only with right or bottom panels. Also tooltips cover the items with those positions. So top panel on wayland or living with it.
I've seen a Qt bug about it but can't find it atm.

@tsujan tsujan changed the title mainmenu: Wrong position of menu and submenus on Wayland Wrong position of menus (and tooltips) with bottom/right panel on Wayland Nov 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants