Bug 117648 - Current line thickness not pre-selected for certain shapes
Summary: Current line thickness not pre-selected for certain shapes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shapes-Line
  Show dependency treegraph
 
Reported: 2018-05-16 14:28 UTC by Tomáš Chvátal
Modified: 2019-03-13 12:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
thicknes.odp (164.09 KB, application/vnd.oasis.opendocument.presentation)
2018-05-16 14:28 UTC, Tomáš Chvátal
Details
displaying the selector (137.87 KB, image/png)
2019-03-13 11:56 UTC, Tomáš Chvátal
Details

Note You need to log in before you can comment on or make changes to this bug.
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.