Bug 244940

Summary: KWin options lost after snapshot in KSnapshot
Product: [Unmaintained] ksnapshot Reporter: yyyy12
Component: generalAssignee: Richard Moore <rich>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: kwin-bugs-null, selevt
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description yyyy12 2010-07-17 11:08:24 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

When taking a snapshot with KSnapshot, the KWin options of that window are reset (like 'Keep above others')

Reproducible: Didn't try

Steps to Reproduce:
1. Set KWin options on KSnapshot window (like window on all desktops and 'Keep above others')
2. Take a snapshot

Actual Results:  
KWin options are reset

Expected Results:  
The KWin options set before the snapshot are still active

OS: Linux (x86_64) release 2.6.34-ARCH
Compiler: gcc
Comment 1 Thomas Lübking 2010-07-17 18:35:11 UTC
The reason is that the window is closed, ie. "unmanaged".

Since the NETWM spec* recommands ("should") this as the proper behaviour, this isn't exactly a bug in kwin (though while openbox behaves the same, compiz & e17 don't...)

A solution from ksnapshot would be to not close the window

*
"The Window Manager should remove the property whenever a window is withdrawn, [...]
Rationale: Removing the property upon window withdrawal helps legacy applications which want to reuse withdrawn windows."
Comment 2 selevt 2014-02-18 18:57:14 UTC
As a workaround the "Remember" setting can be used, e.g.:

Window Operations (Alt + F3) → More Actions → Special Application Settings... → Arrangement & Access → Keep Above →  Remember
Comment 3 Andrew Crouthamel 2018-09-04 04:20:19 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years and I will be closing this bug. Spectacle is the replacement for ksnapshot now. Please test again and file a new bug for Spectacle if you still have issues. Thank you!