Bug 396529

Summary: Auto Hide panel: Some tray icon menu entries cannot be clicked
Product: [Plasma] plasmashell Reporter: jussi.kuokkanen98
Component: XembedSNIProxyAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: minor CC: bastimeyer123, kdedev, materka, nate, notuxius
Priority: NOR    
Version First Reported In: 5.13.2   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: example of the bug with Discord
broken tray icon menu of hexchat (GTK2 application) - close button only clickable for a split second

Description jussi.kuokkanen98 2018-07-15 09:39:50 UTC
Created attachment 113938 [details]
example of the bug with Discord

When a tray icon menu is spawned and is entirely in the panel activation area, it can't be clicked on.

Steps to reproduce:
1)Set panel to auto hide in the bottom and make it relatively short in height

2)Activate a menu dialog, i.e Discord and move the cursor away from the panel so it hides itself
Comment 1 Alexander Mentyu 2018-09-26 08:59:49 UTC
After activating menu and moving cursor away the panel isn't hiding
Comment 2 bastimeyer123 2019-06-26 00:25:19 UTC
This happens when opening tray icon contextmenus of GTK2 applications. I'm running into the same issue when using hexchat or smartgit.

The panel should not hide until the context menu gets closed, like when showing contextmenus of non-GTK2 applications or plasma widgets. Instead, the panel hides and the opened contextmenu becomes partially unusable, which is probably related to the position of the panel, but I'm not sure. In case of hexchat, I'm unable to click the bottom menu item (quit app), unless I'm fast enough before the panel gets fully hidden. Quite annoying.
Comment 3 Nate Graham 2022-06-25 20:04:27 UTC
Cannot reproduce with current git master.  A lot has changed since this bug was filed. Is it still reproducible for you in Plasma 5.24 (the latest LTS version) or 5.25 (the latest version, period)?
Comment 4 Bug Janitor Service 2022-07-10 04:36:59 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 bastimeyer123 2022-07-10 10:54:52 UTC
Created attachment 150507 [details]
broken tray icon menu of hexchat (GTK2 application) - close button only clickable for a split second

> Is it still reproducible for you in Plasma 5.24 (the latest LTS version) or 5.25 (the latest version, period)?

Still broken on Plasma 5.25.2. See the attached video.
Comment 6 Bug Janitor Service 2022-07-25 04:36:18 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2022-08-09 04:35:37 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 8 bastimeyer123 2022-08-09 05:35:52 UTC
> The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

This needs to be reopened (I won't do any bug triaging for you on this bug tracker as a regular end-user). This is clearly broken, as you can see in the attachment video from my last post:
https://bugs.kde.org/show_bug.cgi?id=396529#c5

1. Run latest version of Plasma on Arch
2. Have panel with tray icons set up which is set to auto-hide
3. Right click tray icons of certain applications, like HexChat for example
4. Hover over the tray menu and watch menu items become unresponsive/unclickable as soon as the panel hides

Other kinds of tray menus, like ones created by Steam or Electron/NW.js applications (Chromium) for example are all working fine. Hovering those menus prevents the panel from hiding, so this might be an indicator for the reason of this bug. AFAIK, there are different types of tray menus (due to lack of a proper standard), but I don't know for sure which ones are causing this problem. As mentioned, this issue can clearly be observed with the tray icon menu of HexChat, an IRC application.
Comment 9 TraceyC 2024-09-26 20:46:50 UTC
I'm not able to reproduce this on Plasma 5.27 on Kubuntu using Hexchat
Using the steps from the bug report, I'm able to click on all the menu items in the Hexchat tray menu, they all respond - even after the panel hides.

I am also not able to reproduce this with git-master or Plasma 6.1.5 (Wayland) using Discord
On Plasma 6, the behavior of the panel has changed. It doesn't hide when I activate a menu from any system tray icon, including the ones mentioned above. I'm also able to interact with all tray icon menu items.

There have been many improvements, some specific to fixes for the panels, since the last comment. Feel free to reopen this bug report if this bug is still present on an up to date system.