Bug 154327 - NETWM hints are not preserved after a hide/show
Summary: NETWM hints are not preserved after a hide/show
Status: RESOLVED DUPLICATE of bug 59572
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-19 16:21 UTC by Mike
Modified: 2008-01-02 17:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
moves window state calls into toggleVisibility() (1.02 KB, patch)
2007-12-22 12:20 UTC, Jason Stubbs
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***