Bug 117648

Summary: Current line thickness not pre-selected for certain shapes
Product: LibreOffice Reporter: Tomáš Chvátal <tomas.chvatal>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: enhancement CC: gerald, ilmari.lauhakangas
Priority: medium    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 112485    
Attachments: thicknes.odp
displaying the selector

Description Tomáš Chvátal 2018-05-16 14:28:00 UTC
Created attachment 142133 [details]
thicknes.odp

issue: open the attached presentation. select the upper shapes and open the line thickness drop down. For those shapes the current line thickness is highlighted and selected. Then select one of the three bottom shapes and do the same. For those shapes the current line thickness is not highlighted.

expected result: for all shapes the line thickness is highlighted
Comment 1 Buovjaga 2018-06-15 18:59:58 UTC
But the lower ones have a custom width of 2,2 pt. Do you propose the dropdown should highlight 2,3 pt even though it is not the correct one?
Comment 2 QA Administrators 2019-01-11 15:22:26 UTC Comment hidden (obsolete)
Comment 3 Tomáš Chvátal 2019-03-13 11:56:26 UTC
Created attachment 149930 [details]
displaying the selector

Ah totaly missed the ping.

The selector picks the smallest thickness to be preselected in the dropdown.

As such it should either pick the 'custom size' line or nearest fit rather than the first element unhighlighted...
Comment 4 Buovjaga 2019-03-13 12:55:11 UTC
(In reply to Tomáš Chvátal from comment #3)
> The selector picks the smallest thickness to be preselected in the dropdown.
> 
> As such it should either pick the 'custom size' line or nearest fit rather
> than the first element unhighlighted...

Ok, so either it should dynamically insert the custom size into the dropdown as a new entry or "round up or down" to the nearest fit.

Let's set it to enhancement.