Discussion:
[plasmashell] [Bug 358328] New: Java application systray icon: No context menu
via KDE Bugzilla
2016-01-21 21:10:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Bug ID: 358328
Summary: Java application systray icon: No context menu
Product: plasmashell
Version: 5.5.3
Platform: Kubuntu Packages
OS: Linux
Status: UNCONFIRMED
Severity: major
Priority: NOR
Component: System Tray
Assignee: plasma-***@kde.org
Reporter: ***@netcologne.de

I am using The UPnP server "minimserver" and its control app "minimwatch" that
is written in java. When running minimwatch it displays an (old style xembed)
systray icon. The right-mouse context menu is the only way to interact with
it. Unfortunately the menu is not displayed anymore in plasmashell 5.5 making
minimwatch completely useless.

Reproducible: Always

Steps to Reproduce:
1. Install minimwatch. See http://minimserver.com/install-linux-mwatch.html
2. Run it. It will display a systray icon
3. Try to right click the icon to open the context menu

Actual Results:
The context menu does not show up.

Expected Results:
The context menu should be displayed.

With plasmashell 5.3 xembed icons were not supported anymore. I worked around
this by using wmsystemtray. With plasmashell 5.5 this programm does not start
anymore because KDE already has launched a systemtray. So the workaround does
not work anymore. Is there another idea for a workaround?

Another xembed icon (of a program written in perl/gtk) does show its context
menu fine. So it seems to be a problem of a java systray icon.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-01-23 12:32:23 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #1 from ***@netcologne.de ---
When right clicking on the icon an entry is written in the ~/.xsession-errors
logfile:

Could not find DBusMenu interface, falling back to calling ContextMenu()
kde.xembedsniproxy: Received click 3 with passed x*y 1691 1169

(I do not know if this is of any interest?)
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson via KDE Bugzilla
2016-01-23 12:42:05 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@davidedmundson.co.uk

--- Comment #2 from David Edmundson <***@davidedmundson.co.uk> ---
the first line is plasma trying to see if we have a DBus menu that it can show
itself, before falling back to telling the app (in this case xembedsniproxy) to
show a menuitself.

That's all correct

The second line is xembedsniproxy sending a right click to the java app at that
co-ordinate.

Again, that's all correct.

I think I have some issues with the java apps and focus, but I need to poke
round the java code to find out.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-01-23 15:58:46 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #3 from ***@netcologne.de ---
Interestingly the icon is able to open a small popup if the state of the
watched minimserver changes (starting, stopping, rescanning).

So maybe the click event for opening the context menu does not reach the app?
(Well, just a guess, I do not know about the technical internals.)
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson via KDE Bugzilla
2016-01-23 16:16:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Severity|major |normal
Status|UNCONFIRMED |CONFIRMED
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson via KDE Bugzilla
2016-01-23 16:17:10 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.c
| |om

--- Comment #4 from David Edmundson <***@davidedmundson.co.uk> ---
*** Bug 356500 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Nicolas via KDE Bugzilla
2016-01-23 16:23:16 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Nicolas <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Wulf via KDE Bugzilla
2016-01-23 17:03:05 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Wulf <***@gmx.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmx.de
--
You are receiving this mail because:
You are watching all bug changes.
Joerg Mensmann via KDE Bugzilla
2016-01-24 21:25:55 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Joerg Mensmann <bugs-***@bitplanet.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |bugs-***@bitplanet.de
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson via KDE Bugzilla
2016-01-26 16:39:06 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@nicolaslecureuil.fr

--- Comment #5 from David Edmundson <***@davidedmundson.co.uk> ---
*** Bug 358487 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Nicolas L. via KDE Bugzilla
2016-01-26 22:15:11 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #6 from Nicolas L. <***@nicolaslecureuil.fr> ---
just to add infos : Bug 358487 is not a java apps but a perl-gtk3 ( but the
same final issue ).
--
You are receiving this mail because:
You are watching all bug changes.
Jörg Walter via KDE Bugzilla
2016-01-28 13:54:42 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Jörg Walter <***@garni.ch> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@garni.ch

--- Comment #7 from Jörg Walter <***@garni.ch> ---
FWIW, this also happens for radiotray (python/Gtk 3).
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson via KDE Bugzilla
2016-01-28 13:55:37 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #8 from David Edmundson <***@davidedmundson.co.uk> ---
oh, that's interesting. Radiotray is one of the ones I tested against.

That could mean it's not a client toolkit issue but something else
--
You are receiving this mail because:
You are watching all bug changes.
Wulf via KDE Bugzilla
2016-01-28 20:09:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #9 from Wulf <***@gmx.de> ---
(In reply to Jörg Walter from comment #7)
Post by Jörg Walter via KDE Bugzilla
FWIW, this also happens for radiotray (python/Gtk 3).
just fyi - I can't confirm; radiotray works very well for me and it is
clickable: left (normal menu) and right (context menu) click
--
You are receiving this mail because:
You are watching all bug changes.
Nicolas L. via KDE Bugzilla
2016-02-04 10:50:53 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #10 from Nicolas L. <***@nicolaslecureuil.fr> ---
I see the same with remmina
--
You are receiving this mail because:
You are watching all bug changes.
AlexLG via KDE Bugzilla
2016-02-04 15:18:48 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

AlexLG <***@alexlg.eu.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@alexlg.eu.org
--
You are receiving this mail because:
You are watching all bug changes.
Jörg Walter via KDE Bugzilla
2016-02-10 09:29:01 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #11 from Jörg Walter <***@garni.ch> ---
(In reply to Wulf from comment #9)
Post by Wulf via KDE Bugzilla
(In reply to Jörg Walter from comment #7)
Post by Jörg Walter via KDE Bugzilla
FWIW, this also happens for radiotray (python/Gtk 3).
just fyi - I can't confirm; radiotray works very well for me and it is
clickable: left (normal menu) and right (context menu) click
Note the toolkit: The Gtk-2 version (Ubuntu Wily) works, but the new Gtk-3
version (from xenial) fails.
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-02-29 17:02:11 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

***@arcor.de changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@arcor.de

--- Comment #12 from ***@arcor.de ---
Here is a small Java example. The context menu is not displayed:

Tray Icon Demo
https://docs.oracle.com/javase/tutorial/uiswing/examples/misc/index.html#TrayIconDemo

(To fix the warning, please enable metal instead of Windows LaF in
./src/misc/TrayIconDemo.java:
[...]

//UIManager.setLookAndFeel("com.sun.java.swing.plaf.windows.WindowsLookAndFeel");

UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
[...]
)
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson via KDE Bugzilla
2016-02-29 17:11:12 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Component|System Tray |XembedSNIProxy
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-03-07 20:07:17 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

***@gmx.de changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmx.de
Flags| |VisualDesign+
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Pfeiffer via KDE Bugzilla
2016-03-07 21:01:52 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Thomas Pfeiffer <***@autistici.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@autistici.org
Flags|VisualDesign+ |
--
You are receiving this mail because:
You are watching all bug changes.
Shlomi Fish via KDE Bugzilla
2016-03-13 09:26:34 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Shlomi Fish <***@shlomifish.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@shlomifish.org

--- Comment #13 from Shlomi Fish <***@shlomifish.org> ---
We're running into this problem in Mageia v6/Cauldron - see
https://bugs.mageia.org/show_bug.cgi?id=17592 .
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-03-14 01:56:29 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

***@posteo.at changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@posteo.at
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-03-15 19:20:52 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

***@gmx.de changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags| |VisualDesign+
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Pfeiffer via KDE Bugzilla
2016-03-15 21:18:42 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Thomas Pfeiffer <***@autistici.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Flags|VisualDesign+ |

--- Comment #14 from Thomas Pfeiffer <***@autistici.org> ---
Please don't add the VisualDesign flag to purely technical bugs. There is
nothing for the VDG to do here.
--
You are receiving this mail because:
You are watching all bug changes.
Fabian Henze via KDE Bugzilla
2016-04-04 23:04:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Fabian Henze <***@gmx.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmx.de
--
You are receiving this mail because:
You are watching all bug changes.
Nicolas L. via KDE Bugzilla
2016-04-06 12:53:11 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #15 from Nicolas L. <***@nicolaslecureuil.fr> ---
Any news on this issue ?
--
You are receiving this mail because:
You are watching all bug changes.
Nicolas L. via KDE Bugzilla
2016-04-06 12:53:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Nicolas L. <***@nicolaslecureuil.fr> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Java application systray |Application systray icon:
|icon: No context menu |No context menu
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Pfeiffer via KDE Bugzilla
2016-04-06 12:56:38 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Thomas Pfeiffer <***@autistici.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC|***@autistici.org |
--
You are receiving this mail because:
You are watching all bug changes.
Māris Nartišs via KDE Bugzilla
2016-04-13 13:12:29 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Māris Nartišs <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #16 from Māris Nartišs <***@gmail.com> ---
I observe the same behaviour with Rachota app
(http://rachota.sourceforge.net/en/index.html) - I see a blank square where
icon should be and can not get any pop-up menu to appear.

.xsession-errors:
Could not find DBusMenu interface, falling back to calling ContextMenu()
kde.xembedsniproxy: Received click 3 with passed x*y 1237 834
kde.xembedsniproxy: Received click 1 with passed x*y 1237 834

kde-apps/plasma-apps-15.08.3:4/15.08
kde-apps/plasma-runtime-15.12.3:4/15.12
kde-base/kdeplasma-addons-4.14.3:4/4.14
kde-base/libplasmaclock-4.11.22:4/4.11
kde-base/libplasmagenericshell-4.11.22:4/4.11
kde-frameworks/plasma-5.21.0:5/5.21
kde-plasma/plasma-desktop-5.6.2:5
kde-plasma/plasma-workspace-5.6.2:5
dev-libs/sni-qt-0.2.6-r1
dev-libs/libappindicator-12.10.0-r200
dev-libs/libappindicator-12.10.0-r300
--
You are receiving this mail because:
You are watching all bug changes.
EMR_Kde via KDE Bugzilla
2016-04-14 10:34:44 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

EMR_Kde <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Tiago Bello Torres via KDE Bugzilla
2016-04-28 04:33:48 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Tiago Bello Torres <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are watching all bug changes.
Elia Devito via KDE Bugzilla
2016-05-07 13:30:12 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Elia Devito <***@yahoo.it> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@yahoo.it

--- Comment #17 from Elia Devito <***@yahoo.it> ---
On this bug there is two potential patch to fix/workaround this (at least for
java app)

https://bugs.kde.org/show_bug.cgi?id=355504
--
You are receiving this mail because:
You are watching all bug changes.
EMR_Kde via KDE Bugzilla
2016-05-07 13:50:17 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #18 from EMR_Kde <***@gmail.com> ---
(In reply to Elia Devito from comment #17)
Post by Elia Devito via KDE Bugzilla
On this bug there is two potential patch to fix/workaround this (at least
for java app)
https://bugs.kde.org/show_bug.cgi?id=355504
Maybe I am missing something, but after following all of these bugs, I came
full circle back here. I am running DavMail and the icon, when I left click, a
pop up says "JavaEmbeddedFrame", right click does nothing.
--
You are receiving this mail because:
You are watching all bug changes.
Michael Büker via KDE Bugzilla
2016-06-05 20:45:03 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Michael Büker <***@michael-bueker.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@michael-bueker.de

--- Comment #19 from Michael Büker <***@michael-bueker.de> ---
I can confirm for solaar, an application for controlling Logitech wireless
devices, written in Python with GTK3 (not Java!).
--
You are receiving this mail because:
You are watching all bug changes.
EMR_Kde via KDE Bugzilla
2016-06-06 00:23:06 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #20 from EMR_Kde <***@gmail.com> ---
Yeah, we(In reply to Michael Büker from comment #19)
Post by Michael Büker via KDE Bugzilla
I can confirm for solaar, an application for controlling Logitech wireless
devices, written in Python with GTK3 (not Java!).
Good luck... no one seems intended on fixing this "feature"
--
You are receiving this mail because:
You are watching all bug changes.
EMR_Kde via KDE Bugzilla
2016-06-17 13:39:14 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #21 from EMR_Kde <***@gmail.com> ---
*bump* ?
--
You are receiving this mail because:
You are watching all bug changes.
Shlomi Fish via KDE Bugzilla
2016-06-19 08:22:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

--- Comment #22 from Shlomi Fish <***@shlomifish.org> ---
(In reply to EMR_Kde from comment #21)
Post by EMR_Kde via KDE Bugzilla
*bump* ?
*bump* from me as well.
--
You are receiving this mail because:
You are watching all bug changes.
Rex Dieter via KDE Bugzilla
2016-06-19 13:08:32 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Rex Dieter <***@math.unl.edu> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@math.unl.edu
--
You are receiving this mail because:
You are watching all bug changes.
via KDE Bugzilla
2016-06-22 08:24:42 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

***@rkmail.ru changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@rkmail.ru

--- Comment #23 from ***@rkmail.ru ---
StarDict is affected aswell.
--
You are receiving this mail because:
You are watching all bug changes.
Luiz Angelo De Luca via KDE Bugzilla
2016-07-19 00:22:57 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

Luiz Angelo De Luca <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #24 from Luiz Angelo De Luca <***@gmail.com> ---
I just tested with plasma 5.7.0/5.24 from OpenSUSE Tumbleweed and it is still
here.

In my case, it is a Windows prog running using wine.
BTW, as the icon is constantly animating, plasma keeps spamming my xerror with

kde.xembedsniproxy: Scaling pixmap of window 117440521 "" from w*h 20 20.
--
You are receiving this mail because:
You are watching all bug changes.
David Edmundson via KDE Bugzilla
2016-07-21 14:04:25 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

David Edmundson <***@davidedmundson.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|CONFIRMED |RESOLVED

--- Comment #25 from David Edmundson <***@davidedmundson.co.uk> ---


*** This bug has been marked as a duplicate of bug 362941 ***
--
You are receiving this mail because:
You are watching all bug changes.
H.H.
2017-01-05 15:04:58 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=358328

H.H. <***@gmx.de> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmx.de
--
You are receiving this mail because:
You are watching all bug changes.
Loading...