Bug 168238 - UI: Change (default) unit for line thickness Toolbar Line & Filling to point
Summary: UI: Change (default) unit for line thickness Toolbar Line & Filling to point
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Measurement-Units
  Show dependency treegraph
 
Reported: 2025-09-01 19:44 UTC by Telesto
Modified: 2025-09-02 07:48 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2025-09-01 19:44:04 UTC
Description:
UI: Change (default) unit for line thickness Toolbar Line & Filling to point

Steps to Reproduce:
1. Open Draw
2. Enable Toolbar Line & filling: View -> Toolbars -> Line and Filling
3. Draw a shape
4. Notice the line width being 0,00 cm

Actual Results:
Sidebar shows line thickness in pt. The toolbar uses cm. Default line thickness can't be proper represented in cm 

Expected Results:
Use point


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 26.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9653afbbe9ed5b124b2fc3186577c3788f664692
CPU threads: 4; OS: Windows 10 X86_64 (build 19045); UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded
Comment 1 Heiko Tietze 2025-09-02 06:59:33 UTC
Luckily you can enter a value/unit combination like "1 pt" which converts to the configured locale, eg. 0.03cm. Usability wise this is not easy to understand and I proposed a UI solution via right click context menu in bug 72662. It was (correctly) criticized as micro-management. Another approach might be to store the last used unit per entry, and have some sensible default. I agree with point for line thickness.
Comment 2 Telesto 2025-09-02 07:48:15 UTC
(In reply to Heiko Tietze from comment #1)
> Luckily you can enter a value/unit combination like "1 pt" which converts to
> the configured locale, eg. 0.03cm. Usability wise this is not easy to
> understand and I proposed a UI solution via right click context menu in bug
> 72662. It was (correctly) criticized as micro-management. Another approach
> might be to store the last used unit per entry, and have some sensible
> default. I agree with point for line thickness.

FWIW: 
(A) the sidebar uses point, so it's inconsistent UI wise. 
(B) Drawing a shape, which has a border by default, shows a border thickness of 0,00cm. So appears there is no border at all effectively (border ON; size 0), whereas it's actually present


>Another approach might be to store the last used unit per entry, and have some >sensible default. I agree with point for line thickness.

Seems most sensible. No clue if it's archivable. Not sure what's actually saved into the document format