Status bar always shows stroke width in px, regardless of stroke units and document units

Migrated from: https://bugs.launchpad.net/inkscape/+bug/167238

Steps to reproduce:

  • open Inkscape
  • create a rectangle
  • open Fill & Stroke dialog
  • Set stroke units to mm
  • Change the stroke width
  • Set document units to mm
  • Change the stroke width

What happened?

The status bar (bottom left, next to the color of the stroke) always shows the stroke width in px, but doesn't display a unit.

What should have happened?

The displayed stroke width should either have a unit next to it (i.e. px), and respect the units set in the document properties or the Fill & Stroke dialog.

Inkscape Version and Operating System:

  • Inkscape Version: 1.1-dev (6b4d57f, 2020-04-01)
  • Operating System: Windows 10
  • Operating System version: 10.0.18362
Edited by Jonathan Neuhauser
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information