Bug 406166

Summary: taskbar icons always show on all desktops for Qt5.9.1 based application windows
Product: [I don't know] kde Reporter: Pete Zakel <phz>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: critical    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: OpenBSD   
OS: Linux   
Latest Commit: Version Fixed In:

Description Pete Zakel 2019-04-02 23:22:12 UTC
SUMMARY
On SLES11 SP4 system running KDE 4.3.5 window icons for applications based on Qt 5.9.1 appear on the taskbar for all desktops even though both "Only show tasks from the current desktop" and "Only show tasks from the current screen" are selected in the Task Manager Settings.

This does not occur with a RedHat 6 system running KDE 4.3.4 running the same Qt 5.9.1 based application.

Note that in both cases KDE is running in a VNC server.  On the SuSE system I noticed that when remote displaying to the VNC session from another display, the problem did not occur.  I compared the environment variables from both terminal session and noted that the VNC terminal session defined VNCDESKTOP with a value of "X".  If I "unsetenv VNCDESKTOP" (I'm using csh) and start the application then the problem no longer occurs and the window icons only show in the taskbar of the same desktop they are in.  Doing "setenv VNCDESKTOP X" restored the wrong behavior.

This is a critical issue because our software is being blamed for this by our customers, even though we do not set anything that I can determine would cause this.  Note that thie problem does not occur on RedHat Linux, only on SuSE Linux (SLES).  Also, note that unsetting an environment variable that I assume should have no effect on how taskbar icons are displayed changes how they are displayed.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: SLES 11 SP4
(available in About System)
KDE Plasma Version: 4.3.5
KDE Frameworks Version: 
Qt Version: 5.9.1

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2019-04-03 07:22:48 UTC
Plasma 4.3 is long unmaintained. Please ask in a forum of your distribution how to update to Plasma 5.12 or later. This might involve updating your distribution.