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

When built with gtk 3.24.33, tooltips are at the top of the screen when lxpanel is at the bottom #41

Open
nsalguero opened this issue Apr 4, 2022 · 2 comments

Comments

@nsalguero
Copy link

Hi,

As it is visible in the screenshot, taken from Mageia linux development version, when lxpanel is set to the bottom of the screen, the tooltips appear at the place they should if lxpanel was set to the top of the screen. That issue appears only with lxpanel when it is built with Gtk+3, not with Gtk+2.

Best regards,

screenshot-lxde-gtk3

@bdubbs
Copy link

bdubbs commented Apr 7, 2022

I have built lxpanel in a LinuxFromScratch system with gtk+-3.24.33 and have the same issue.

@CaptainBloodz
Copy link

left panel displays no tooltip, whatever application.
right panel displays tooltip depending on the application.

All failing applications above do display tooltip properly on top panel.

wandrien added a commit to lxde-continued/lxpanel that referenced this issue May 11, 2023
GTK3 has multiple tooltip positioning issues.
We can only partially dodge this.

Apply a hack from:
* https://bugs.mageia.org/show_bug.cgi?id=30574
* http://sophie.zarb.org/rpms/9d697fa6536295e90f166ca7199d7850/files/11

Thanks to Nicolas Salguero for the investigations.

To reduce the edit surface in the code of plugins, I moved the duplicated
parts to a separate function in misc.c and make it a part of lxpanel API.
(Ugly!)

Known issues:

1. The pager plugin tooltips are still buggy.
2. With this hack, tooltips don't seem to always show up when they should.

Partially fixes issue lxde#41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants