Mantis Issue Tracking for Scribus
· Hosting provided by / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008548ScribusCanvaspublic2009-10-27 13:512015-06-19 20:31
Assigned To 
PlatformLinuxOSUbuntuOS Version9.04
Product Version1.5.0svn 
Target Version1.5.1Fixed in Version 
Summary0008548: [PATCH]redrawing the canvas goes wrong when object moved with arrow keys forcing the canvas to scroll
DescriptionIf one moves an object with arrow keys and 'hits' the edge of the view, the canvas starts scrolling, but the redrawing of stuff doesn't work properly. In the attached image the rectangle was moved over the top edge and perhaps a little horizontally as well.
Steps To ReproduceMake an empty document. Create a box. Select it. Move it over the edge with e.g. up arrow key.
Additional InformationAlso it seems, that if I then grab the object with the mouse, everything updates correctly, but after wards the edge detection goes haywire. I mean when I again move the object over the edge, the view starts moving only after I've goon some distance over or perhaps starts moving before I even hit the edge.
Attached Filespng file icon screenshot.png [^] (15,205 bytes) 2009-10-27 13:51

patch file icon Issue0008548.patch [^] (3,852 bytes) 2011-09-08 11:38 [Show Content]
gif file icon scribus-canvas-redraw.gif [^] (104,269 bytes) 2015-06-19 20:30

- Relationships

-  Notes
jghali (administrator)
2010-11-17 22:35

I committed a mitigation patch which allows to avoid the page offset one can observe in such case. That patch allows to preserve a correct redraw speed, but does not fix completly the issue. For now the solution i see to fix completely the redraw problems would induce a big hit in redraw speed when moving objects with arrow keys. Gonna try to find better solution first.
joan (reporter)
2011-09-08 11:46

The solution I did will redraw the entire canvas every time minCanvasCoord is changing. But redraw only the correct part if the keyboard move didn't change the minCanvasCoord.

So it induce a "big hit in redraw speed" when moving objects with arrow keys if the direction is top or left AND the move change minCanvasCoord. Else it redraws only the needed rect.
Kunda (manager)
2015-06-19 20:24
edited on: 2015-06-19 20:31

Can confirm the phenomena still occurs on OSX 10.10.3 1.5.1svn r20174 Qt5.4.2

Added animated gif.
Not reliably able to reproduce offset of the borders like in the OPs screenshot. Still an issue but tricky to reproduce. I was able once by using left and right arrow keys while frame was over the borderline.

- Issue History
Date Modified Username Field Change
2009-10-27 13:51 OssiLehtinen New Issue
2009-10-27 13:51 OssiLehtinen File Added: screenshot.png
2009-10-28 01:06 christoph_s Status new => confirmed
2009-10-28 07:26 christoph_s Target Version => 1.3.6
2010-01-07 00:24 cbradney Target Version 1.3.6 => 1.3.7
2010-05-27 00:31 cbradney Target Version 1.3.7 => 1.3.8
2010-07-17 22:52 cbradney Target Version 1.3.8 => 1.3.9
2010-11-17 22:35 jghali Note Added: 0024846
2010-11-23 22:53 cbradney Target Version 1.3.9 => 1.4.0
2011-07-03 00:17 jghali Target Version 1.4.0 => 1.4.1.svn
2011-07-03 00:19 jghali Target Version 1.4.1.svn => 1.4.1
2011-09-08 11:38 joan File Added: Issue0008548.patch
2011-09-08 11:46 joan Note Added: 0026836
2012-04-29 23:14 cbradney Target Version 1.4.1 => 1.4.2
2013-01-13 22:32 cbradney Target Version 1.4.2 => 1.4.3
2013-07-04 22:25 cbradney Target Version 1.4.3 => 1.5.0
2014-07-03 06:32 Kunda Tag Attached: patch
2014-07-03 21:38 Kunda Target Version 1.5.0 => 1.5.1
2014-08-10 16:04 Kunda Summary The redrawing of the canvas goes wrong when object moved with arrow keys forcing the canvas to scroll => [PATCH]redrawing the canvas goes wrong when object moved with arrow keys forcing the canvas to scroll
2014-10-25 01:00 Kunda Patch => Yes
2015-06-19 20:24 Kunda Note Added: 0035450
2015-06-19 20:30 Kunda File Added: scribus-canvas-redraw.gif
2015-06-19 20:31 Kunda Note Edited: 0035450 View Revisions

Copyright © 2000 - 2015 MantisBT Team
Powered by Mantis Bugtracker