Bug 1442 - kwin screenshot desktop effect breaks ksnapshot with intel drivers
Summary: kwin screenshot desktop effect breaks ksnapshot with intel drivers
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: John Balcaen
QA Contact:
URL:
Whiteboard: Errata
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2011-05-27 04:34 CEST by Franklin Weng
Modified: 2012-12-02 14:31 CET (History)
7 users (show)

See Also:
Source RPM: ksnapshot-4.6.3
CVE:
Status comment:


Attachments

Description Franklin Weng 2011-05-27 04:34:06 CEST
Description of problem:
ksnapshot in RC version would always grab the whole screen, no matter set to grab window under cursor only, or specified rectangle area only.

Version-Release number of selected component (if applicable):
ksnapshot 4.6.3

How reproducible:
Always

Steps to Reproduce:
1. Open ksnapshot
2. Set to grab window under cursor
3. Get a whole screen snapshot
Comment 1 Dave Hodgins 2011-05-27 04:51:24 CEST
Works for me.

I pressed printscrn to start ksnapshot, changed the Capture mode to
Window under cursor, clicked Take new snapshot, then clicked on the
window to get a snapshot of.

CC: (none) => davidwhodgins

Comment 2 Franklin Weng 2011-05-27 11:54:32 CEST
Here I fix my description and bug title.

After a clean install of release iso and a clean KDE environment (without any old .kde4 folder), I still got a strange result.  

I launched a firefox window and use ksnapshot to grab window only, but the snapshot it gave me is a clean desktop without any window on it.  The result seems to always be the last photo it captures successfully.  Only capturing the whole screen without any delay would work everytime.  Other settings would not capture a new photo, just leave the last one.

Summary: ksnapshot would always grab the whole screen, no matter set to grab window under cursor only or rectangle area only => ksnapshot would only work when captureing the whole screen without delay. Other settings would not work.

Comment 3 John Balcaen 2011-05-27 12:38:16 CEST
I'm not able to reproduce here with the xguest user

Just in case are you sure you're not clicking a little to fast on knspashot?
Just after the first click when you select the « window » under the cursor, you should have a small aray to select the windows, if you click on the desktop it's going to take the full desktop, but clicking on the firefox allow to get only the firefox window ?

CC: (none) => balcaen.john

Comment 4 Franklin Weng 2011-05-27 16:59:04 CEST
(In reply to comment #3)
> I'm not able to reproduce here with the xguest user
> 
> Just in case are you sure you're not clicking a little to fast on knspashot?

I'm not clicking too fast.

> Just after the first click when you select the « window » under the cursor, you
> should have a small aray to select the windows, if you click on the desktop
> it's going to take the full desktop, but clicking on the firefox allow to get
> only the firefox window ?

I have a small cross to ask me to select the window.  However, when I click any window I always got the same photo.  Even if I move the window to another position and click it, I still got the same photo before moving.
Comment 5 Ahmad Samir 2011-05-27 20:09:53 CEST
If you have any desktop effects try disabling them.
Comment 6 Franklin Weng 2011-05-28 11:15:10 CEST
(In reply to comment #5)
> If you have any desktop effects try disabling them.

Yes!  Disabling my desktop effects would make this problem gone.

Would anyone please take a look at that?
Comment 7 John Balcaen 2011-05-28 12:31:34 CEST
I'm not able to reproduce here (it's working with desktop effect enable).
Just a try, you're not using eventually a nvidia card ?
Comment 8 Franklin Weng 2011-05-28 14:10:32 CEST
(In reply to comment #7)
> I'm not able to reproduce here (it's working with desktop effect enable).
> Just a try, you're not using eventually a nvidia card ?

No.  My laptop and desktop PC in the office are using internal Intel card (driver i915).
Comment 9 Carsten Lohmann 2011-06-05 11:16:52 CEST
The KWin desktop effect "Screenshot" seems to be the problem here.
After disabling it, ksnapshot worked again as expected.

CC: (none) => c_lohmann

Comment 10 John Balcaen 2011-06-05 14:19:40 CEST
(In reply to comment #9)
> The KWin desktop effect "Screenshot" seems to be the problem here.
> After disabling it, ksnapshot worked again as expected.

It's working here with this functionnality enable :/

@ Franklin 
Does this workaround fix the problem for you ?
Comment 11 Sander Lepik 2011-06-05 14:26:26 CEST
(In reply to comment #10)
> (In reply to comment #9)
> > The KWin desktop effect "Screenshot" seems to be the problem here.
> > After disabling it, ksnapshot worked again as expected.
> 
> It's working here with this functionnality enable :/
> 
> @ Franklin 
> Does this workaround fix the problem for you ?

Are you using Intel graphics? It seems to occur on Intel cards. At least did for me. I haven't tested but if "Screenshot" effect is enabled by default then it should be disabled by default.

CC: (none) => sander.lepik

Comment 12 Franklin Weng 2011-06-05 17:26:27 CEST
(In reply to comment #10)
> (In reply to comment #9)
> > The KWin desktop effect "Screenshot" seems to be the problem here.
> > After disabling it, ksnapshot worked again as expected.
> 
> It's working here with this functionnality enable :/
> 
> @ Franklin 
> Does this workaround fix the problem for you ?

Yes.  This workaround fixes the problem for me.

(In reply to comment #11)
> Are you using Intel graphics? It seems to occur on Intel cards. At least did
> for me. I haven't tested but if "Screenshot" effect is enabled by default then
> it should be disabled by default.

Yes.  I'm using Intel (internal) graphic card with driver i915.
Comment 13 Ahmad Samir 2011-06-22 07:45:43 CEST
Maybe file a bug report upstream, having the Screenshot effect shouldn't break ksnapshot functionality.
Comment 14 John Balcaen 2011-07-09 14:04:20 CEST
(In reply to comment #13)
> > @ Franklin 
.
Did y
Comment 15 John Balcaen 2011-07-09 14:05:01 CEST
(In reply to comment #13)
> > @ Franklin 
Did you report upstream as suggested by ahmad ?
Comment 16 Franklin Weng 2011-07-09 14:13:42 CEST
(In reply to comment #15)
> (In reply to comment #13)
> > > @ Franklin 
> Did you report upstream as suggested by ahmad ?

Sorry, I missed the message.

I just filed a bug in KDE:

https://bugs.kde.org/show_bug.cgi?id=277416
Comment 17 John Balcaen 2011-07-09 14:33:14 CEST
Ok.
Just one more thing: you're on Mageia 1 currently or still Cauldron?

Keywords: (none) => UPSTREAM
See Also: (none) => https://bugs.kde.org/show_bug.cgi?id=277416

Comment 18 Franklin Weng 2011-07-09 16:21:08 CEST
(In reply to comment #17)
> Ok.
> Just one more thing: you're on Mageia 1 currently or still Cauldron?

Mageia 1.
John Balcaen 2011-07-09 18:13:07 CEST

Version: Cauldron => 1

Samuel Verschelde 2011-10-01 11:49:57 CEST

CC: (none) => stormi
Summary: ksnapshot would only work when captureing the whole screen without delay. Other settings would not work. => kwin screenshot desktop effect breaks ksnapshot with intel drivers

Comment 19 Marja Van Waes 2011-12-03 11:59:33 CET
nothing happened upstream

assigning to maintainer for him to decide what to do with this bug report

CC: (none) => marja11
Assignee: bugsquad => balcaen.john

Comment 20 John Balcaen 2011-12-03 14:46:47 CET
Well, we've got this situation :
-> the bug is an upstream bug (in kde or eventually in intel graphic driver )
-> i'm not able to reproduce on my netbook (but using an intel i810 card)
-> there's an easy workaround


So we should :
- let the bug report open (just in case it's ever fixed upstream)
- add this bug report in errata with the workaround.
Manuel Hiebel 2011-12-03 15:27:24 CET

Whiteboard: (none) => Errata

Comment 21 Marja Van Waes 2012-04-21 20:24:44 CEST
Weird, it has the "unconfirmed" status upstream, yet there were already two duplicates :/
Comment 22 Manuel Hiebel 2012-04-21 22:28:23 CEST
from kde.org

"I had this problem in connection with the KWin desktop effect "Screenshot" (it was enabled by default). After disabling the effect, ksnapshot worked again as expected."

(and seems resolved in kde 4.8.1 )
Comment 23 Nicolas Lécureuil 2012-07-22 14:37:01 CEST
are you still using mageia 1 or now mageia 2 ?

CC: (none) => nicolas.lecureuil

Comment 24 Manuel Hiebel 2012-11-05 16:51:02 CET
This message is a reminder that Mageia 1 is nearing its end of life. 
In approximately 25 days from now, Mageia will stop maintaining and issuing 
updates for Mageia 1. At that time this bug will be closed as WONTFIX (EOL) if it 
remains open with a Mageia 'version' of '1'.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 1's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not 
be able to fix it before Mageia 1 is end of life.  If you would still like to see 
this bug fixed and are able to reproduce it against a later version of Mageia, 
you are encouraged to click on "Version" and change it against that version 
of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad
Comment 25 Manuel Hiebel 2012-12-02 14:31:07 CET
Mageia 1 changed to end-of-life (EOL) status on ''1st December''. Mageia 1 is no 
longer maintained, which means that it will not receive any further security or 
bug fix updates. As a result we are closing this bug. 

If you can reproduce this bug against a currently maintained version of Mageia 
please feel free to click on "Version" change it against that version of Mageia and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.