Bug 248204 - apps that place a non-ARGB icon in system tray spawn empty x window
Summary: apps that place a non-ARGB icon in system tray spawn empty x window
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.5
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 04:41 UTC by S. Christian Collins
Modified: 2010-08-18 12:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2010-08-18 04:41:54 UTC
Version:           4.5 (using KDE 4.5.0) 
OS:                Linux

Applications that place an icon in the system tray that doesn't use ARGB visuals (there is a non-transparent box around the icon) spawn a contentless window with no label--the taskbar entry has an X icon, which I presume has something to do with the X-server.  When the application is closed, the X-window closes automatically.  If the empty X window is closed manually, the desktop crashes to a black screen, although other running apps still function and can be displayed.

Reproducible: Always

Steps to Reproduce:
Start any application that uses non-ARGB taskbar icons.  This includes vlc (1.0.6 on my system) amule or trucrypt among others.  You can also start other applications that place an icon in the system tray with the following prefix:

env XLIB_SKIP_ARGB_VISUALS=1

Note: not all applications will put a non-ARGB icon in the taskbar when started this way, but many will, including skype, smb4k and audacious.

In each case, you should get the empty X-window starting up along with the application.

Actual Results:  
An empty X-window pops up.

Expected Results:  
No X-window popping up.

** My System **
Motherboard: MSI K9N SLI Platinum (nForce 570 SLI chipset)
CPU: AMD Athlon(tm) 64 Processor 4000+ (2.6 GHz)
RAM: 2GB DDR2
Video: Dell NVIDIA GeForce 7800 GTX w/ 256 MB RAM (PCI Express)
OS: Kubuntu 10.04 i386 w/ KDE SC 4.5.0 from Kubuntu PPA
Linux Kernel: 2.6.32-24-lowlatency
NVIDIA driver: 256.44
Screen Resolution: 1280 x 960
X.org: 7.5
Qt: 4.7.0
Comment 1 S. Christian Collins 2010-08-18 04:50:05 UTC
A workaround for this bug is to right-click on the title bar of the empty X-window, select Advanced -> Special Application Settings.  Under Geometry, set the window to be minimized, then under Preferences, set the window to have no border, skip the taskbar, and skip the pager.

That being said, I have no idea if there are ever nameless windows that you want to see, so don't be mad at me if this keeps something else from appearing.
Comment 2 Christoph Feck 2010-08-18 12:12:51 UTC
This bug is fixed in Qt. Either update your Qt 4.7 snapshot, or go back to Qt 4.6.3.

http://bugreports.qt.nokia.com/browse/QTBUG-10809