Bug 411502 - Context menu of system tray applet opens unexpectedly
Summary: Context menu of system tray applet opens unexpectedly
Status: RESOLVED DUPLICATE of bug 399234
Alias: None
Product: plasmashell
Classification: Plasma
Component: System Tray (show other bugs)
Version: 5.16.4
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-01 16:35 UTC by Philipp Maierhöfer
Modified: 2019-09-03 20:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Maierhöfer 2019-09-01 16:35:34 UTC
SUMMARY
In certain cases, a left click on the task bar unexpectedly opens the context menu of a system tray applet that has been used previously. This happens with package-update-indicator (PUI) (https://code.guido-berhoerster.org/projects/package-update-indicator) if its context menu was previously opened with a right click and then closed. According to the developer the bug is not in PUI, but probably in Plasma.

STEPS TO REPRODUCE (always reproducible)
1. Install package-update-indicator (tested versions 4 and 5) and start it. It will show in the system tray.
2. Right-click on the PUI systray icon. This opens the PUI context menu (note: left click also opens the menu, but does not trigger the bug).
3. Left-click somewhere on the desktop, but not on the task bar. This closes the PUI context menu.
4. Left-click on the task bar.

OBSERVED RESULT
The context menu of PUI opens.

EXPECTED RESULT
Depends on where exactly you clicked, e.g. focus/maximise/minimise the corresponding window, or, if you clicked on empty space, nothing, ...

SOFTWARE/OS VERSIONS
opensuse Tumbleweed, snapshot 20190829
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
To quickly reproduce this: PUI is available in the Tumbleweed repositories. Confirmed this behaviour on KDE Neon User Edition 20190829-1117.
Comment 1 Guido Berhörster 2019-09-02 13:35:15 UTC
Just to put this into context why this was filed against Plasmashell: package-update-indicator creates a status notifier using libappindicator and works fine with other SNI implementations (e.g. on XFCE). I also cannot reproduce the problem with the slightly older Plasmashell 5.14/Plasma Frameworks 5.54 in Debian Buster.
Comment 2 Nate Graham 2019-09-03 17:27:36 UTC
Possibly already fixed by the fix for Bug 399234.

If you have the ability to compile Plasma from source, could you do that and give it a try? If not, KDE Neon Unstable edition will allow you to test as well.
Comment 3 Philipp Maierhöfer 2019-09-03 20:15:36 UTC
I had problems compiling PUI on Neon unstable. Tried opensuse Krypton (5.12.80-Build10.155) instead. The Plasma package has the version 5.16.80git.20190901T175935~408f3ebbe-ku.85.1. There the bug is indeed not present.
Comment 4 Nate Graham 2019-09-03 20:20:54 UTC
Yay!

*** This bug has been marked as a duplicate of bug 399234 ***