Bug 498824 - Application tray icon (Java Embedded Frame): No context menu, no mouse actions
Summary: Application tray icon (Java Embedded Frame): No context menu, no mouse actions
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: XembedSNIProxy (show other bugs)
Version: 6.2.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 01:11 UTC by ricken.ludger
Modified: 2025-02-18 13:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot, please note the green MinimServer tray icon (225.00 KB, image/png)
2025-01-18 01:11 UTC, ricken.ludger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ricken.ludger 2025-01-18 01:11:23 UTC
Created attachment 177477 [details]
Screenshot, please note the green MinimServer tray icon

SUMMARY
The tray icon of the MinimServer app, which is written in Java, doesn‘t show any mouse actions, in particular not its important right-click actions. There is no mouse-over hover text, just the banner "JavaEmbeddedFrame".

STEPS TO REPRODUCE
1. Install minimserver. See https://minimserver.com, follow the install on Linux procedure
2. Run it. It will display a systray icon
3. Try to right click the icon to open the context menu

OBSERVED RESULT
No context menu is shown, no right-click mouse actions. Thus, there is no control over the running MinimServer, making it almost useless.
Just the general banner "JaveEmbeddedFrame"

EXPECTED RESULT
It should show its context menu and make its right-click mouse actions possible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed, kernel 6.12.8
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Graphics Platform: X11
Java Version: openJDK Runtime Environment 21.0.5.0
MinimServer Version: 2.2 Update 256

ADDITIONAL INFORMATION
This bug from the Plasma version 5 days in 2016 still exists in today‘s 6.2.5.
Cf. https://bugs.kde.org/show_bug.cgi?id=358328
I am not sure whether the component "System Tray widget" that I selected is the appropriate one. The quoted 2016 bug had "XembedSNIProxy".

It had been marked as a duplicate of https://bugs.kde.org/show_bug.cgi?id=362941, which had been declared resolved in 2017.

However, it seems to me that the bug persists until today.

In case this is a feature which would require updating of the MinimServer code, please let me/us know.
I am in contact with the MinimServer developer, cf. https://forum.minimserver.com/showthread.php?tid=7433.
Comment 1 ricken.ludger 2025-01-18 02:01:40 UTC
I note a similarity to https://bugs.kde.org/show_bug.cgi?id=495064.
Comment 2 ricken.ludger 2025-01-19 11:24:02 UTC
I'd like to point out again that the appropriate component might/will be
    XEmbedSNIProxy.
I am not sure whether and/or how relevant
    System Tray Widget
is. Thanks for noting this.
Comment 3 ricken.ludger 2025-01-19 11:28:52 UTC
I added Wolfgang Bauer to the CC list, since he was the last supplier of a patch to the old bugs in 2016 and 2017.
Comment 4 Simon Nash 2025-01-19 22:00:39 UTC
I am the developer of the MinimServer application. This uses only standard Java APIs for creating and controlling tray icons in the system tray (java.awt.SystemTray and java.awt.TrayIcon). The same problem with JavaEmbeddedFrame occurs when running the small Java test case JavaSystemTray.tar.gz posted as attachment 100624 [details] to comment 9 of bug 362941.
Comment 5 ricken.ludger 2025-02-18 13:02:39 UTC
Update: We are at KDE Plasma 6.3.0 now, with KDE Frameworks 6.11.0, Qt 6.8.2, and kernel 6.13.2 in openSUSE Tumbleweed.
And one month has passed since reporting this bug here. An even longer time has passed since other similar reports.

However, nothing has changed. The buggy behavior persists.