! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Systray with qt apps & compositing toggling
Status:
RESOLVED: WONTFIX
Product:
Xfce4-panel
Component:
Notification Area

Comments

Description Swift Geek 2012-02-12 17:10:43 CET
steps to reproduce:
1) Run some QT apps which are using systray (opera, kadu)
2) Start toggling composting:
xfconf-query -c xfwm4 -p /general/use_compositing

Effect: many glitches and disappears of qt tray icons

FYI Toggling is needed for playing movies with proper VBlank on nvidia binary blob
Comment 1 b3nmore 2014-01-23 16:11:44 CET
Created attachment 5324 
PANEL_DEBUG=systray log

This is still an issue with version 4.10.1.

I've attached a panel log file created with 2 vlc instances running while toggling the compositor on and off.  In the log file I've annotated what exactly happened to tray icons at the switches.

To summarize: Switching the compositor on and off may result in apparent or complete disappearing of the tray icon of certain applications (mainly qt). The console output of those application is:
X Error: BadMatch (invalid parameter attributes) 8
  Major opcode: 2 (X_ChangeWindowAttributes)
  Resource id:  0x340001b

In some cases the application needs to be restarted to get the tray icon back.

I've had also cases of apparent disappearance of tray icons without compositor state change, which may be related to this issue (although hard to reproduce).
Comment 2 haarp 2014-04-19 09:32:38 CEST
I can confirm, same issue here.
Comment 3 haarp 2019-09-18 22:09:21 CEST
This is still an issue with panel 4.14.0. When the panel is (re)started while QT apps are running, they will not re-appear in the systray. If the compositor is toggled while they are running, they will disappear.
Comment 4 haarp 2019-09-18 22:12:56 CEST
Furthermore, the only way to make a vanished app reappear in the systray is to restart it.

Possible test candidates (verified to disappear) are: KeepassXC, Owncloud desktop client
Comment 5 Simon Steinbeiss editbugs 2020-05-22 00:37:57 CEST
While all of the above is true, there's not much we can do about it. Plus the notification area is considered deprecated upstream so we would have to fork this part of Gtk to be able to improve things (full disclosure: we won't do that).
Comment 6 Simon Steinbeiss editbugs 2020-05-22 00:41:11 CEST
*** Bug 11019 has been marked as a duplicate of this bug. ***
Comment 7 Simon Steinbeiss editbugs 2020-05-22 00:41:17 CEST
*** Bug 12082 has been marked as a duplicate of this bug. ***

Bug #8451

Reported by:
Swift Geek
Reported on: 2012-02-12
Last modified on: 2020-05-22
Duplicates (2):
  • 11019 systray sometimes starts after autostarted applications and they don't get icons
  • 12082 Icons are sometimes missing in the notification area

People

Assignee:
Nick Schermer
CC List:
6 users

Version

Attachments

PANEL_DEBUG=systray log (8.23 KB, text/plain)
2014-01-23 16:11 CET , b3nmore
no flags

Additional information