Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#5334 closed defect (fixed)

Systray disappears regardless of settings in Windows 7 and Windows Server 2008 R2

Reported by: Rafi Owned by:
Priority: highest Milestone:
Component: systray Version: 0.13.4
Severity: critical Keywords:
Cc: Blocked By:
Blocking: OS: Windows

Description

With Windows 7 there are several options for handling system tray icons at the OS level:

1) "Show icon and notifications" 2) "Hide icon and notifications" 3) "Only show notifications"

The most pressing issue is that even with the first option set, Gajim seems to change the option to "Only show notifications" at startup; which I believe is the default behavior for tray icons from the OS perspective. I was asked in the conference channel whether this same issue occurs with Pidgin, it does not, the right thing happens.

So, to summarize, no matter what set of options are used on either the Gajim or OS side, the tray icon goes back to being hidden at startup. To have the tray icon visible at all, I need to change the option in Windows every single time to option #1.

Every other application I am using with tray icons behaves properly (even old apps), so I wonder if Gajim is attempting to force tray behavior changes and Windows 7 rejects this and resets to default Purly speculation, but the point is that MS changed the way applications can interact with the system tray.

Change History (23)

comment:1 Changed 7 years ago by asterix

We sue gtk.statusicon to show Gajim icon in tray icon, and of course we don't touch at the windows options inside Gajim. We have options in Gajim for always showing icon or only when there is a notification, but it has nothing to do with your system option. What;s the value of "trayicon" option? (look in advanced configuration editor)

comment:2 Changed 7 years ago by Rafi

Both the trayicon options ("trayicon" and "trayicon_notification_on_events") are set to Activated.

comment:3 Changed 7 years ago by asterix

As I don't have Windows 7, I cannot test and debug for this OS :/ I'll try to find someone with this OS

comment:4 Changed 7 years ago by Rafi

Since the release candidate of Windows 7 is free, would it help if I provided a Virtualbox image or perhaps a remote desktop account on a Windows 7 system?

Either one is an option if it helps.

comment:5 follow-up: Changed 7 years ago by asterix

Yep, a vb image could help me debug that

comment:6 Changed 7 years ago by johnny

  • Status changed from new to needinfo

comment:7 Changed 6 years ago by paul@…

http://notesville.net/gajim/gajim1.png - system tray. http://notesville.net/gajim/gajim2.png - status of icon ("Показать значок и уведомления" mean "show icon and notification" on russian)

is something changed with this problem? bug is in version 0.13.1 too.

comment:8 Changed 6 years ago by paul@…

  • Priority changed from normal to high
  • Status changed from needinfo to new
  • Version changed from 0.12.5 to 0.13.1

comment:9 Changed 6 years ago by asterix

  • OS changed from All to Windows
  • Priority changed from high to normal

Nobody has windows 7 and can debug that. Does pidgin has this problem? I guess they also use gtk.statusicon.

comment:10 Changed 6 years ago by paul@…

I`m tested Pidgin 2.6.4 on my system. All looks good, it haven`t this problem.

system tray:

http://clip2net.com/clip/m16281/1260969317-clip-18kb.png

status of icon:

http://clip2net.com/clip/m16281/1260969376-clip-3kb.png

comment:11 Changed 6 years ago by paul@…

  • Summary changed from Systray disappears regardless of settings in Windows 7 to Systray disappears regardless of settings in Windows 7 and Windows Server 2008 R2

Windows Server 2008 R2 - same problem.

comment:12 in reply to: ↑ 5 Changed 6 years ago by pflash@…

Replying to asterix:

Yep, a vb image could help me debug that

I could prepare windows 7 image for testing this issue. Please contact me at my email address.

comment:13 Changed 6 years ago by asterix

it's ok I have a win7 VM now, and I sent a mail in pygtk ML. I now need to open a bug in the bug tracker.

comment:14 Changed 6 years ago by paul@…

it`s fixed or not?

comment:15 Changed 6 years ago by asterix

No, no news from GTK developers:

https://bugzilla.gnome.org/show_bug.cgi?id=609622

comment:16 Changed 6 years ago by pflash@…

  • Priority changed from normal to high
  • Version changed from 0.13.1 to 0.13.4

Still nothing fixed? For users on windows7 platform is this big problem. Each start of Gajim must all windows7 users setup tray icon. This is realy annoying! I know it's problem in GTK libs, but there isn't any workaroud? In other GTK's apps is no problem. We are waiting half year for fix.

comment:17 Changed 6 years ago by asterix

  • Priority changed from high to normal

comment:18 Changed 6 years ago by anonymous

  • Priority changed from normal to highest
  • Severity changed from normal to critical

comment:19 Changed 6 years ago by anonymous

Why is this a bug in GTK if Pidgin doesn't have the issue? They are using GTK also.

comment:20 in reply to: ↑ description Changed 6 years ago by pflash

GTK fixed! https://bugzilla.gnome.org/show_bug.cgi?id=609622

Will be a new version of Gajim for windows platform? Thanks!

comment:21 Changed 6 years ago by asterix

I don't think the patch has been applied in GTK repos, so not yet fixed, but don't worry, when GTK will release a fixed version, I'll re-create a windows binary.

comment:22 Changed 5 years ago by asterix

  • Resolution set to fixed
  • Status changed from new to closed

Gtk has a fixed release, and a new windows installer is available: [www.gajim.org/downloads/0.14/gajim-0.14.1-3.exe]

comment:23 Changed 5 years ago by grzegorz janoszka

It seems it has been fixed with either new gajim 0.14.3 or the Windows 7 SP1.

Note: See TracTickets for help on using tickets.