Commands using 'Steps' values initially fail in trunk with preferences file from stable

Bug #799848 reported by su_v on 2011-06-20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Johan Engelen

Bug Description

Follow-up report to bug #170293 (comment #10):

All commands which take a value from the steps preferences (move with cursor, path inset/outset, scale with keyboard) initially fail with Inkscape trunk (there's no unit stored with the values in the preferences file). As soon as the preferences dialog has been opened once (without changing anything), the preferences are updated and have the necessary units added: the commands now work as expected.

For users upgrading to a newer version (or recent PPA), this is unexpected and the "fix" is not obvious.

Steps to reproduce:
1) quit all instances of Inkscape
2) rename/delete current preferences file
3) launch&quit Inkscape 0.48.1 (to recreate a default preferences file)
4) launch Inkscape trunk, draw a shape and try to move it with the cursor keys -> failure
5) open and close the preferences dialog
5) try again to move the shape -> success

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp) wrote :

Setting 'Importance' to 'Medium' for now: the workaround is easy but not obvious to the user. Without it, several basic commands simply fail.

(The question why moving objects with the arrow keys suddenly stopped working has been asked several times on irc already)

Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.49
status: Confirmed → Triaged
su_v (suv-lp) on 2011-11-05
tags: added: easy-fix
Alvin Penner (apenner) wrote :

- not reproduced on Tionkscape 0.48.2, Windows 7.
- I wonder if someone, who is not running Windows, could attach a preferences file after : deleting it, starting Inkscape, and then stopping Inkscape without doing anything. The three parameters that appear to be relevant here are :
'nudgedistance', 'defaultscale', and 'defaultoffsetwidth' in the preferences.xml file. In my case, after the above steps I get 2 for all three parameters.

Johan Engelen (johanengelen) wrote :

fixed. if no unit is specified in the preferences file, it is assumed it is in the unit requested by the code.

Changed in inkscape:
assignee: nobody → Johan Engelen (johanengelen)
status: Triaged → Fix Committed
su_v (suv-lp) wrote :

Changing bug status to 'Fix released' in accordance with <>
(Issue only affected development versions and never occurred in a stable release).

Please revert the status change if you don't agree.

Changed in inkscape:
milestone: 0.49 → none
status: Fix Committed → Fix Released
su_v (suv-lp) on 2012-12-17
tags: removed: easy-fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers