[jitsi-dev] [jitsi] Tray icon is not displayed in KDE (5.4.2) (#192)


#1

Without plasma-systray-Legacy icon is not displayed, and with it is displayed but does not respond to clicks.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192


#2

We use Java for the systray in a platform-independent manner. I don't think it's our responsibility to follow whatever new trend a desktop env sets for displaying tray icons and not bringing the Java package up to date.
But given that we also have problems with other platforms I'm leaving this issue open.

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-159717953


#3

The same problem happens for me on Trisquel 7, default desktop.

As is described in the JavaDoc for the SystemTray class (https://docs.oracle.com/javase/8/docs/api/java/awt/SystemTray.html),
jitsi should first check if the system supports/has a system-tray, and if not, use a workaround. for example, just directly close jitsi (after maybe a warning) when cicking on the X(==close window button of the window manager), and make sure the main window is always open as long as jitsi is running, as in: no minimization to invisible/non-existent system-tray.
in other words: it is not save to assume that all systems will have a system-tray, even if in some case it might actually be a problem betwen Java and the OS/WM, because on some it is clearly not.

#### Trisquel 7 workaround
1. right-click on the start panel
2. click on "Add to Panel ..."
3. choose "Notification Area"
4. click on the button "Add"

after this, jitsi starts fine, and a tray icon is visible.

related ubuntu issue: https://bugs.launchpad.net/ubuntu/+source/tasque/+bug/1448512

jitsi output: https://pastebin.mozilla.org/8854062

···

---
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-162881780


#4

I have this problem with wingpanel under elementaryOs too.
Maybe it is related to this:
https://elementaryos.stackexchange.com/questions/4226/how-can-i-get-applications-to-display-a-system-tray-icon

Without systray icon jitsi is no usable under elementaryOS

···

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-196761739


#5

Bug report submitted to KDE: https://bugs.kde.org/show_bug.cgi?id=362941
I'm just not sure where the responsibility lies. Should Oracle be notified?

Log:

.../log/jitsi0.log.0:2016-05-11 07:21:46.177 SEVERE: [278] impl.osdependent.jdic.SystrayServiceJdicImpl.checkInitialized().475 Systray not init

And when we are stuck in this position, what config file and value should be changed so it doesn't get stuck in the tray?
I'm guessing "net.java.sip.communicator.impl.systray.showApplication=false" should become "true" for ~/.jitsi/sip-communicator.properties
It opened back up for me (after I killed the java process and restarted). You just have to be sure not to "X" close, but rather File->Quit.

···

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-218449343


#6

Last thing I've read is that legacy systray support is coming back in KDE 5.5. But ultimately there should be better support in Java.

···

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-218455746


#7

With KDE Plasma 5.5.5, the situation is slightly better, yet **_very far_** from fixed.

Now the Jitsi icon does appear in the system tray, yet it behaves incorrectly:
On Hover: "JavaEmbeddedFrame" is displayed
On Right Mouse Click: No Action
On Left Mouse Click: No Action
On Left Mouse Double Click: No Action

If the Jitsi window is hidden using the X window button, there is no way to restore Jitsi.

I represent a small community of people who use Jitsi under KDE Plasma 5, and this is a **very** significant problem for us. We would **_very greatly_** appreciate if this problem was resolved as soon as possible.

···

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-221459665


#8

I'm thinking you probably didn't need to copy/paste what I said in the bug report to KDE which I had previously linked to here.

But while I'm here, I'll go ahead and state I'm using KDE Plasma 5.6.4 and the same jitsi-nightly 2.9.20160414-1 with the same results as before.

"Legacy" is a word I feel has a negative connotation. A bit like deprecated. If something is newer and replacing the legacy(deprecated) feature, then that direction is where things need to be headed. It's sort of why we move on to SSD and not still using 5.25" floppies.
But on the flipside, it's understandable being on the leading edge means perhaps going in one direction, figuring out that it isn't a good direction and instead taking a different one. That would make deciding when to go with something "newer" a timing issue. Again, maybe similar to going the direction of blu-ray and not hd-dvd.

···

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-222290747


#9

i have patches mostly ready for this, as described in an other issue.. just cleaning them up a bit.

···

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jitsi/jitsi/issues/192#issuecomment-222446510