kontalk / desktopclient-java

Kontalk official platform independent desktop client
https://www.kontalk.org
GNU General Public License v3.0
57 stars 24 forks source link

Inform about new messages if chat open and minimized to Systray #92

Closed webratte closed 8 years ago

webratte commented 8 years ago

If I send a message to Alice an minimized to Systray (without leaving the current chat) and Alice answering while Kontalk is minimized to Systray -- the Systray Icon doesn’t change the colour.

If I turned off the sound on my PC I can't notice there is a new message from Alice.

abika commented 8 years ago

Does this always happen? And what was your OS, Ubuntu? Which DE?

webratte commented 8 years ago

Ups Sorry

OS: Linux Kontalk: 3.1.1

It always happens if I receive a message in the current open chat (if minimized to systray too) If chat with Alice is open before I minimize to systray an Bob sends me a message, this message change the colour of the systray icon.

abika commented 8 years ago

And the desktop environment (Unitiy, Gnome, KDE...)? It is working for me and I think the problem is that the tray icon is not repainted after it actually changed. System independent tray implementations are error-prone, I already had to deal with multiple bugs with Qt's tray icon in different environments.

webratte commented 8 years ago

The DE is LXDE (Lubuntu)

abika commented 8 years ago

oh sorry, I totally misread your report. There was a bug in my code and it is fixed now. You will always get a notification now if the the application window is not focused (sound and tray).

webratte commented 8 years ago

I think your misread is related to my bad english :-D