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

Bug #799848 reported by su_v
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
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

Tags: preferences ui
Changed in inkscape:
status: New → Confirmed
Revision history for this message
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)
tags: added: easy-fix
Revision history for this message
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.

Revision history for this message
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
Revision history for this message
su_v (suv-lp) wrote :

Changing bug status to 'Fix released' in accordance with <http://wiki.inkscape.org/wiki/index.php/Bug_management#Bug_status>
(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)
tags: removed: easy-fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.