Bug 139209 - DRAW: UI for line color in toolbars not consistent with (underlying) selected color
Summary: DRAW: UI for line color in toolbars not consistent with (underlying) selected...
Status: RESOLVED DUPLICATE of bug 154270
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Toolbars
  Show dependency treegraph
 
Reported: 2020-12-24 14:06 UTC by Jan Nijman
Modified: 2023-07-04 20:29 UTC (History)
3 users (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 Jan Nijman 2020-12-24 14:06:18 UTC
Description:
DRAW: The UI for line color in toolbars ('Drawing', 'Line and Filling') are not consistent with the (underlying) selected color.
e.g. When you change the line color in the 'Drawing' toolbar its UI is udated, but  the 'Line and Filling' UI is not (no Observer-Observable pattern ?).
The same occurs when the default color (in a template) is e.g. set to black, the UI of the toolbars (in a new drawing) is stil showing the (standard?) blue, while the (underlying) color (and the line you draw) is indeed the intende black.

Steps to Reproduce:
1.Select line color from the Drawing Toolbar
2.Select color from the color palet (e.g. black)
3.Draw a line

Actual Results:
UI in Drawing Toolbar shows the selected color. OK!
The drawn line is black. OK!
'Properties>Line>Color' shows Black. OK!
UI of 'Line and Filling' Toolbar stil shows Line color blue !

Expected Results:
I expected the 'Line and Filling' Toolbar to show Line color Black 


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.4.7.2
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 2; OS: Mac OS X 10.11.6; UI render: GL; VCL: osx; 
Locale: en-BW (en.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 Regina Henschel 2020-12-25 21:34:09 UTC
It is not intended, that the button shows the line color of a selected object. But it shows the color, which will be used, when you draw a new object.
If nothing is selected and you click on the button (or open its drop-down list to select a color), then this color is the default color for new objects. The sidebar shows the actual color of the object.

Nevertheless, the error is, that if one button changes the default color, that the other incarnations of the button are not updated. Not updating has the impact, that the user cannot know, which is the current default color.
Comment 2 QA Administrators 2022-12-26 03:17:21 UTC Comment hidden (obsolete)
Comment 3 eisa01 2023-03-18 22:06:46 UTC
This is still the case, it is also present on Linux, so not macOS specific

Interestingly the "fill color" has correct behavior

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Debian package version: 1:7.0.4-4+deb11u4
Calc: threaded

Version: 7.5.1.2 (AARCH64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 10; OS: Mac OS X 13.2.1; UI render: default; VCL: osx
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Maxim Monastirsky 2023-07-04 20:29:40 UTC

*** This bug has been marked as a duplicate of bug 154270 ***