Bug 294555 - garbage shown outside the image on the canvas when rotating and panning the canvas
Summary: garbage shown outside the image on the canvas when rotating and panning the c...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 2.4-snapshots
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-21 11:26 UTC by LukasT
Modified: 2014-01-07 14:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Artifacts around canvas (129.73 KB, image/png)
2012-02-21 11:26 UTC, LukasT
Details
the prescale projection (178.30 KB, image/png)
2014-01-07 13:57 UTC, Halla Rempt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LukasT 2012-02-21 11:26:17 UTC
Created attachment 68977 [details]
Artifacts around canvas

Version:           2.4-snapshots (using KDE 4.7.4) 
OS:                Linux

There are some weird rectangles rendered around canvas when doing canvas rotation and panning.

Reproducible: Always

Steps to Reproduce:
1. Select pan tool, press Shift and by dragging rotate the canvas
2. Pan(drag) the canvas so that original top left corner is not visible and still move back so that it is visible (in one drag)

Actual Results:  
Observe weird boxes rendered around the canvas, see attachment

Expected Results:  
Canvas is rendered without additional rectangles or other artifacts

It does happen with QPainter canvas, not with OpenGL canvas.
Comment 1 Halla Rempt 2012-02-21 11:30:51 UTC
Hm... Didn't we already have a bug for this? I remember Dmitry closing a bug that sounded like this. I can confirm in any case, I saw the issue this weekend.
Comment 2 Sven Langkamp 2012-02-21 15:54:19 UTC
I did fix the last bug that looked like that. But this is a different issue.
Comment 3 Halla Rempt 2014-01-07 13:57:18 UTC
Created attachment 84499 [details]
the prescale projection

It's actually already the prescaled image that is full of garbage.
Comment 4 Halla Rempt 2014-01-07 14:34:42 UTC
Git commit df7d6cb1b97ab5e64ae09d744e905ec82c1a561d by Boudewijn Rempt.
Committed on 07/01/2014 at 14:26.
Pushed by rempt into branch 'master'.

On doing a full prescale, clear the projection image first.

M  +6    -23   krita/ui/canvas/kis_prescaled_projection.cpp
M  +0    -7    krita/ui/canvas/kis_prescaled_projection.h

http://commits.kde.org/calligra/df7d6cb1b97ab5e64ae09d744e905ec82c1a561d
Comment 5 Halla Rempt 2014-01-07 14:34:47 UTC
Git commit f6aa3e4755b174bb9cea3a4cb08ad7b6244432c7 by Boudewijn Rempt.
Committed on 07/01/2014 at 14:26.
Pushed by rempt into branch 'calligra/2.8'.

On doing a full prescale, clear the projection image first.

M  +6    -23   krita/ui/canvas/kis_prescaled_projection.cpp
M  +0    -7    krita/ui/canvas/kis_prescaled_projection.h

http://commits.kde.org/calligra/f6aa3e4755b174bb9cea3a4cb08ad7b6244432c7