Bug 30574 - LXDE taskbar tooltips placement varies
Summary: LXDE taskbar tooltips placement varies
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Salguero
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 11:30 CEST by Ben McMonagle
Modified: 2022-11-02 09:59 CET (History)
2 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
image of issue (19.45 KB, image/png)
2022-06-22 11:31 CEST, Ben McMonagle
Details
and correctly positioned (9.08 KB, image/png)
2022-06-22 11:33 CEST, Ben McMonagle
Details

Description Ben McMonagle 2022-06-22 11:30:58 CEST
Description of problem: when hovering mouse pointer over taskbar icons or application, the tooltip for some (pcmanfm, firefox, mcc, lxterminal, iconify, language, clock, screenlock) are at the top of the screen.
bluetooth, net-applet and clipboard are just above the taskbar, where expected.


Version-Release number of selected component (if applicable):


How reproducible: everytime


Steps to Reproduce:
1.update to latest. login to LXDE sddm or lxdm
2.hover mouse pointer over taskbar icons 
3.observe result
Comment 1 Ben McMonagle 2022-06-22 11:31:33 CEST
Created attachment 13308 [details]
image of issue
Comment 2 Ben McMonagle 2022-06-22 11:33:57 CEST
Created attachment 13309 [details]
and correctly positioned
Comment 3 Lewis Smith 2022-06-22 20:38:36 CEST
Thank you for the report, Ben.
This is certainly a Cauldron affair. Playing with LXDE on Mageia 8, I find that taskbar 'hover' tooltips appear next to their icon, at the taskbar level. Their exact position is just to the right of wherever the cursor 'enters' icon: if on the RH side, the icon remains wholly visible; if on the LH side, it becomes half hidden by the popup.
OTOH, Systray hover popups are more variable, but always close to their icon.

NicolasS looks to be the LXDE packager, so assigning this to him.

Assignee: bugsquad => nicolas.salguero

Comment 4 Nicolas Salguero 2022-06-22 21:25:03 CEST
Hi,

I saw the problem too and reported it upstream:
https://github.com/lxde/lxpanel/issues/41.

For the moment, I have no solution.

Best regards,

Nico
Lewis Smith 2022-07-16 22:03:07 CEST

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=30631

Comment 5 Edward 2022-07-16 22:25:27 CEST
Confirming this behavior as well. 

If the icon moused over is on the left side of the LXDE Panel, the tooltip will appear in the upper left of the window. If the icon is on the right side of the panel, the tooltip will appear in the upper right of the window. As to the right side, this also includes the clock, if positioned on the right.

CC: (none) => epp

Comment 6 Edward 2022-07-16 23:07:19 CEST
(In reply to Nicolas Salguero from comment #4)
> Hi,
> 
> I saw the problem too and reported it upstream:
> https://github.com/lxde/lxpanel/issues/41.
> 
> For the moment, I have no solution.
> 
> Best regards,
> 
> Nico

Nicolas,

There doesn't seem to be much activity on GitHub.

LXDE also has a presence on SourceForge and the LXDE web site has a link to that: https://sourceforge.net/projects/lxde/

I can't say with any certainty which one is the official.

Ed
Comment 7 Edward 2022-07-16 23:32:04 CEST
> There doesn't seem to be much activity on GitHub.
> 
> LXDE also has a presence on SourceForge and the LXDE web site has a link to
> that: https://sourceforge.net/projects/lxde/
> 
> I can't say with any certainty which one is the official.

Per the LXDE ML, it's GitHub.
Comment 8 Edward 2022-07-18 20:02:07 CEST
This also affects notifications from other apps. When Thunderbird displays a notification of a new mail, it's displayed at the upper right corner of the window and I am not finding a setting in LXDE to change the location of it.
Comment 9 Nicolas Salguero 2022-07-19 09:31:51 CEST
(In reply to Edward from comment #8)
> This also affects notifications from other apps. When Thunderbird displays a
> notification of a new mail, it's displayed at the upper right corner of the
> window and I am not finding a setting in LXDE to change the location of it.

Notifications have nothing in common with tooltips.

In LXDE, even built with gtk+2, from Mageia 8, for instance, notifications are always displayed at the upper right corner of the screen.  Indeed, there is no setting to change that behaviour but it is not a bug.
Comment 10 Nicolas Salguero 2022-07-26 12:11:46 CEST
Hi,

The more I play with the code of lxpanel, the more I think the problem does not come from lxpanel itself but from gtk3.  For me, lxpanel only exhibits a tooltip placement bug in gtk3.

For instance, if I change the height from 36 to 56, the bug disappears but another one appears: https://gitlab.gnome.org/GNOME/gtk/-/issues/2784.

I am trying to work around the issue in the code of lxpanel.

Best regards,

Nico.
Comment 11 Edward 2022-07-26 16:27:29 CEST
Hi Nico,

Thank you for working on this.

I increased the LXDE panel size to 56, the HP tooltip correctly disappeared the first time, but on the second try, residue from it remained (my bug) -> Bug 30631

Then noticed the tooltips to the right of HP (network, mail. etc.) getting cut off at the bottom of the window, which is the new issue you mention.

With the exception of the HP tooltip:

It starts to mix with the panel height on 48 or 49: 

At 48, the network and mail tooltips are still cut off at the bottom of the screen, but the input language, weather and clock tooltips appear at the upper right corner of the window. 

At 49, the weather appears at the upper right, but the others are all cut off at the bottom.

Regardless of height, the tooltips from the left side (MCC, terminal, Firefox, etc.) still appear at the upper left.

I'm not a programmer/coder/packager, but I'm now inclined to think that GTK3 is the reason. 

I'll let the Mageia devs decide if they want to keep LXDE built on GTK3 or rebuild with GTK2.
Comment 12 Ben McMonagle 2022-09-30 21:38:32 CEST
ootb LXDE 32bit net-install issue is apparent.
Comment 13 Nicolas Salguero 2022-10-14 16:20:33 CEST
Hi,

After many hours of work, I was able to create a patch which offer a partial workaround for that bug.  lxpanel-0.10.1-11.mga9 will include it.

All the plugins of the panel, except the pager, will seem to display the tooltips at the right place.

Best regards,

Nico.
Comment 14 Edward 2022-10-22 01:34:26 CEST
Hi Nico,

I created a new VirtualBox tonight and installed LXDE in it from the mga8 Classic installer, then switched it to Cauldron. 

Confirming that lxpanel-0.10.1-11.mga9 has fixed the tooltip placement here. Anything moused-over on the left side of the panel, now displays the tooltip at the lower left above the respective icon. Same for the right side of the panel.

Thank you.

Ed
Comment 15 Ben McMonagle 2022-10-30 07:58:21 CET
new install from:
Mageia-9-alpha1-x86_64
DATE.txt: Sat Oct 29 07:52:30 PM CEST 2022.

taskbar items : *current workspace "desktop 1"* and *click to switch to "desktop 2"*
are also affected.
Comment 16 Nicolas Salguero 2022-11-02 08:55:32 CET
(In reply to Ben McMonagle from comment #15)
> taskbar items : *current workspace "desktop 1"* and *click to switch to
> "desktop 2"*
> are also affected.

Hi,

Those items belong to the pager.  That is why I said in comment 13 that, sadly, I was only able to provide a partial workaround for that bug.

Best regards,

Nico.
Lewis Smith 2022-11-02 09:59:42 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=31002
CC: (none) => lewyssmith


Note You need to log in before you can comment on or make changes to this bug.