Bug 347936 - REGRESSION: (kf5) ksnapshot rectangular selection is broken
Summary: REGRESSION: (kf5) ksnapshot rectangular selection is broken
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ksnapshot
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Aaron J. Seigo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-19 09:27 UTC by Swâmi Petaramesh
Modified: 2018-09-04 04:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Broken screenshot sample 1 (extending rectangle) (14.76 KB, image/png)
2015-05-19 09:29 UTC, Swâmi Petaramesh
Details
Broken screenshot sample 2 (not moving mouse) (15.40 KB, image/png)
2015-05-19 09:30 UTC, Swâmi Petaramesh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Swâmi Petaramesh 2015-05-19 09:27:50 UTC
In KDE5,trying to extend a "rectangular selection" in ksnapshot causes the screen to turn black and many rectangular artifacts to appear and be recorded in the snapshot.

When reducing the rectangle it is a bit more usable, however, the frame, handles and capture size are recorded as well.

Observed using the Intel HD xorg driver with :

[ 29582.149] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4400

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

ksnapshot-15.04.0-1.fc22.x86_64



Reproducible: Always

Steps to Reproduce:
Steps to Reproduce:
1. Press [Print Screen] key in KDE
2. ksnapshot opens
3. Choose the "rectangular region" screenshot mode
4. Click "take new capture"
5. Try to extend a rectangle
6. Press Enter


Actual Results:  
The resulting screenshot is b0rked.

Expected Results:  
What KDE4 did was perfect :-)
Comment 1 Swâmi Petaramesh 2015-05-19 09:29:15 UTC
Created attachment 92699 [details]
Broken screenshot sample 1 (extending rectangle)
Comment 2 Swâmi Petaramesh 2015-05-19 09:30:28 UTC
Created attachment 92700 [details]
Broken screenshot sample 2 (not moving mouse)

Note how the frame, handles and size in the center are captured...
Comment 3 Rex Dieter 2015-05-19 13:43:24 UTC
I can confirm the reported behavior with ksnapshot-15.04.0 (fedora 22, x86_64)
Comment 4 Sergio 2016-12-19 14:10:03 UTC
I confirm the issue with:

Kubuntu 16.04 (xenial) plus KDE backports (plasma 5.8.4) and latest intel driver and mesa from git (from ubuntu oibaf PPA), on intel haswell graphics.

Issue goes away by disabling compositor.
Comment 5 Andrew Crouthamel 2018-09-04 04:17:26 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!