Bug 143723 - ksnapshot draws artifacts on screen while selecting region
Summary: ksnapshot draws artifacts on screen while selecting region
Status: RESOLVED FIXED
Alias: None
Product: ksnapshot
Classification: Applications
Component: general (show other bugs)
Version: 0.7
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Richard Moore
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-02 12:45 UTC by Luke
Modified: 2008-08-03 16:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke 2007-04-02 12:45:41 UTC
Version:           0.7 (using KDE 3.5.6, Kubuntu (feisty) 4:3.5.6-0ubuntu13)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.20-13-generic

Using kubuntu feisty: 
When I select a region of the screen to be copied, ksnapshot leaves artifacts on the screen generated by the rectangle being drawn. These artifacts persist in the actual snapshot image.
Comment 1 Richard Moore 2007-04-02 14:01:48 UTC
This could be dependent on your graphics card and X server. Could you
please provide details of these?

Thanks

Rich.

On 2 Apr 2007 10:45:41 -0000, Luke <luke.campagnola@gmail.com> wrote:
[bugs.kde.org quoted mail]
Comment 2 Luke 2007-04-02 14:18:09 UTC
Using Xorg 7.2 from feisty repository, ksnapshot 0.7, and KDE 3.5.6.
The problem is present both on my desktop w/ nVidia drivers from
feisty restricted-modules package and on my laptop which uses the i810
driver, so I doubt the display driver is involved.

On 2 Apr 2007 12:01:49 -0000, Richard Moore <rich@kde.org> wrote:
[bugs.kde.org quoted mail]
Comment 3 Luke 2007-04-02 14:21:02 UTC
I've posted an example screenshot at
http://luke.no-ip.org/tmp/ksnapshot.png. You can see the path my mouse
followed while dragging the region as well as artifacts from the box
itself on the edges of the image.

On 2 Apr 2007 12:01:49 -0000, Richard Moore <rich@kde.org> wrote:
[bugs.kde.org quoted mail]
Comment 4 Richard Moore 2007-04-02 14:30:56 UTC
Ok, one possible cause of this is that it's taking a while to repaint
the window underneath. It looks from the screenshot as if you're
taking a region screenshot of a browser, does the same problem occur
when you do it over other applications? (browsers can be slower to
redraw than many other applications).

Cheers

Rich.

On 2 Apr 2007 12:21:03 -0000, Luke <luke.campagnola@gmail.com> wrote:
[bugs.kde.org quoted mail]
Comment 5 Luke 2007-04-02 15:16:39 UTC
Happens in konqueror, konsole, and on the desktop. Does not depend on
the time I give the application to repaint before completing the
rectangle (More likely the window underneath is not receiving the
request to repaint?)

On 2 Apr 2007 12:30:57 -0000, Richard Moore <rich@kde.org> wrote:
[bugs.kde.org quoted mail]
Comment 6 Luke 2007-04-09 08:36:07 UTC
I just noticed that the problem _only_ happens if the rectangle is
drawn from top-left to bottom right. If I start at any other corner,
there are no artifacts.

On 2 Apr 2007 12:30:57 -0000, Richard Moore <rich@kde.org> wrote:
[bugs.kde.org quoted mail]
Comment 7 Roland Wolters 2007-05-02 16:33:47 UTC
I can confirm the problem:
- it occurs on all kind of applications (konsole, wallpaper, etc.)
- I have an ATI card - it happens with both drivers (free and proprietary)
- it only occurs when I draw the rectangular from top left to bottom right - every other combination does not draw any artifact

Here is a very drastic screenshot taken with ksnapshot:
http://img398.imageshack.us/img398/7312/ksnapshotfragmentsja2.png
I drew the rectangle from top left to bottom right and on the way moved it around quite a lot.
Comment 8 brazzmonkey 2007-05-07 09:35:14 UTC
i do confirm this problem as well ; it appears in kubuntu feisty too. Any application is affected, as far as selecting a region from top left to bottom right is concerned (using nvidia drivers on core2duo, i386 kubuntu).
funny enough, i noticed the screenshot of this entry on kde-look.org is affected as well. http://www.kde-look.org/content/show.php/End+of+Nicolas+Sarkozy+presidency+counter?content=57818
Comment 9 Cory Doctorow 2007-06-08 18:48:23 UTC
I replicate this problem using a stock Lenovo Thinkpad T60p and Feisty.
Comment 10 Wolfgang Frisch 2007-06-17 06:27:14 UTC
I can reproduce this on Gentoo Linux with:
- binary NVidia drivers
- xorg-x11-7.2 / xorg-server-1.3.0
- KDE-3.5.7
- Screen resolution 1280x1024x24
Comment 11 Luke 2007-08-19 17:58:31 UTC
Appears to be fixed in 0.7 (or else something in kubuntu gutsy fixed the problem)
Comment 12 Richard Moore 2007-08-19 19:30:04 UTC
On 19 Aug 2007 15:58:32 -0000, Luke <luke.campagnola@gmail.com> wrote:
17:58 -------
> Appears to be fixed in 0.7 (or else something in kubuntu gutsy fixed the problem)
>


I think it must be some changes in the X server / drivers as the code
in ksnapshot hasn't changed here. Good to know, thanks.

Rich.
Comment 13 Grasyop 2007-10-25 17:44:20 UTC
Sorry, the bug isn't fixed: I upgraded to Gutsy, I have KSnapshot 0.7 and the bug is still there !

My hardware identifier : 317acd9700a2efadfc7cc4129bf03c41

Grasyop
Comment 14 Richard Moore 2007-10-25 17:55:15 UTC
On 25 Oct 2007 15:44:21 -0000, Grasyop <grasyop@yahoo.fr> wrote:
[bugs.kde.org quoted mail]

This seems to be a driver issue, report it to the ubuntu guys as
there's nothing I can do about it. It isn't a bug in ksnapshot.

Cheers

Rich.


>
> Grasyop
>

Comment 15 Janet 2008-08-03 16:38:29 UTC
It's there again :(. KDE 3.5.9, ksnapshot 0.7, Debian Sid, regardless of used Nvidia Driver with which it was ok before.

And it does only happen with ksnapshot but not with gimp screenshot tool when I select a rectangular area for the screenshot. So maybe ksnapshot nonetheless is involved?