Bug 244940 - KWin options lost after snapshot in KSnapshot
Summary: KWin options lost after snapshot in KSnapshot
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksnapshot
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Richard Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-17 11:08 UTC by yyyy12
Modified: 2018-09-04 04:20 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

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