trunk: ruler position markers incorrect if units ≠ px (regression)

Bug #1105504 reported by su_v on 2013-01-25
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alex Valavanis

Bug Description

Steps to reproduce:
1) launch inkscape with default prefs, empty new document
2) open 'File > Document properties' and change default units to e.g. 'mm'
3) close document properties
4) move the mouse pointer position on-canvas and watch the marker of the rulers update according to the mouse pointer position

Expected result:
The marker corresponds with the current mouse pointer position.

Actual result:
The position of the marker only is correct if the mouse pointer is near the origin (lower left corner of the page). The further away from the origin the mouse pointer is moved, the more offset the marker in the ruler is.

Based on tests with archived builds, this regression was introduced between r12001-r12004:
- not reproduced with r12001 and earlier revisions
- reproduced with r12004 and later revisions
- OS X 10.7.4 with GTK+/X11 2.24.13 and GTK+/Quartz 2.24.14
- Ubuntu 12.10 (64bit, VM), r12063

Changelog for 'src/widgets/rulers.cpp':

su_v (suv-lp) on 2013-01-25
description: updated
Changed in inkscape:
importance: Undecided → High
status: New → Triaged
Alex Valavanis (valavanisalex) wrote :

Should be fixed in lp:inkscape r12067. I migrated the position tracking implementation to the much simpler new track_widget behaviour we adopted from Gimp in sp_ruler.

Changed in inkscape:
status: Triaged → Fix Released
milestone: 0.49 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers