Working with native units

Bug #299207 reported by Robert Rehammar
Affects Status Importance Assigned to Milestone
Matthew Petroff

Bug Description

It would be really nice to be able to work with the selected units everywhere in the program. Presently the only thing happening (inkscape 0.45.1) when selecting units is that the rulers works in the selected units. But in all dialogs the selected units should be default and in particular in the XML editor the selected units should be default. Now it is possible to e.g. set the width of a box by saying width=10cm in the XML editor, but this is converted to pixels so it is not possible to check the width later.

Tags: ui Edit Tag help
jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Wishlist
tags: added: ui
Changed in inkscape:
status: New → Confirmed
Revision history for this message
Matthew Petroff (matthewpetroff) wrote :

As of r12554, changing the document unit sets up a viewBox that makes the user unit equivalent to said document unit. In this example, if the document unit was set to centimeters, setting width=10 in the XML editor would set the object's width to 10cm (as long as the object doesn't have a transform applied to it).

Changed in inkscape:
assignee: nobody → Matthew Petroff (matthewpetroff)
status: Confirmed → Fix Committed
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers