Bug 154327

Summary: NETWM hints are not preserved after a hide/show
Product: [Plasma] plasma4 Reporter: Mike <mike>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kwin-bugs-null
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: moves window state calls into toggleVisibility()

Description Mike 2007-12-19 16:21:39 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

The plasma show desktop effect shows an icon in the taskbar when it is showing.
Comment 1 Jason Stubbs 2007-12-22 12:19:03 UTC
This never happens on the first toggle of a session, right? It seems that the window flags that are set in the constructor are being reset after the window is hidden.

Lubos, setting flags on the window just before it is shown each time works, but is it supposed to work that way?
Comment 2 Jason Stubbs 2007-12-22 12:20:49 UTC
Created attachment 22650 [details]
moves window state calls into toggleVisibility()

Moving the flags like in this patch fixes it. I'd just like to confirm that
this is the right fix.
Comment 3 Jason Stubbs 2007-12-30 10:49:31 UTC
I'll apply this patch for the time being, but I'll leave this bug open for the time being so that the issue isn't lost.
Comment 4 Jason Stubbs 2007-12-30 10:51:14 UTC
SVN commit 754582 by jstubbs:

Move the setting of window hints to just before the window is shown as the
hints are reset after the window is hidden.

CCBUG: 154327


 M  +4 -4      dashboardview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=754582
Comment 5 Lubos Lunak 2008-01-02 17:09:47 UTC
This is rather a feature. Your change is a right fix, at least for now. Especially given that the current dashboard support is a hack and should get proper KWin support after 4.0.


*** This bug has been marked as a duplicate of 59572 ***