Bug 144077 - Full screen view [CTRL]+[SHFT]+[J] resets background, font and highlight colours to default in toolbar split buttons
Summary: Full screen view [CTRL]+[SHFT]+[J] resets background, font and highlight colo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Full-Screen-Mode Split-Group-Buttons-Color
  Show dependency treegraph
 
Reported: 2021-08-25 09:01 UTC by Colin
Modified: 2023-02-17 15:35 UTC (History)
2 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 Colin 2021-08-25 09:01:46 UTC
Description:
The cell shading button normally retains the last used background colour.
If a new colour is applied to a cell then this button indication changes to present the latest colour.
If the screen is expanded either by  [CTRL]+[SHFT]+[J] or View>Full Screen and then reverted to the previous screen zoom characteristics   [CTRL]+[SHFT]+[J] the colour display also reverts to the opening "default" colour - yellow in my case but I'm not sure even if this a user parameter.

Steps to Reproduce:
Highlight a cell with the default colour of the highlight button
Observe the colour of the button
Highlight a different cell with a new selection from the highlight button
Observe the colour of the button
Full screen zoom either  [CTRL]+[SHFT]+[J] or View>Full Screen
Revert to normal view  [CTRL]+[SHFT]+[J]
Observe that the colour in the button has reverted to the initial default colour


Actual Results:
Button presentation loses its integrity

Expected Results:
Button colour should retain its pre-zoom state


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.0.6.2 (x64)
Build ID: 144abb84a525d8e30c9dbbefa69cbbf2d8d4ae3b
CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: sv-SE (en_GB); UI: en-GB
Calc: threaded
Comment 1 Colin 2021-08-25 15:32:00 UTC
Same impact with the text colour button whereas both the AutoFilter and Row/Column freeze buttons retain their pre-zoom status.

Observation:
The buttons that revert are potentially just "local" ie. they can have different settings in different cells - the AutoFilter & Row/Column freeze functions are "global" affecting the entire sheet.
Comment 2 Henrik Palomäki 2021-08-26 08:24:25 UTC
The described bug confirmed. I don't think the bug is critical but when fixed, it can save a few mouse clicks.

There is a similar bug also in "Font Color" tool. It behaves in the same way. The font color tool does not retain its last color when returning from fullscreen. In my case the initial default color is Dark Red 2.

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 0224d859b8a497779611cc15943c017ec42f9b90
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: CL
Comment 3 Henrik Palomäki 2021-08-26 08:28:02 UTC
(In reply to Colin from comment #1)
> Same impact with the text colour button whereas both the AutoFilter and
> Row/Column freeze buttons retain their pre-zoom status.

Just noticed my second paragraph was obsolete.
Comment 4 Henrik Palomäki 2021-08-30 14:48:59 UTC
I made one additional test with an older version of LibreOffice (5.0.0.1, 21-Jun-2015). I got the same result: the bug is replicated. So the bug is old.

So, repro in

Version: 5.0.0.1 (x64)
Build ID: 9a0b23dd0ab9652e0965484934309f2d49a7758e
Locale: fi-FI (fi_FI)
Comment 5 Stéphane Guillou (stragu) 2023-02-17 15:35:17 UTC
Reproduced in:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b52117c0be97c45824d2897657084f8ac7e9bf42
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Same thing for font colour, and also with highlight + font colour in Writer. Changing summary as such, and adding meta bugs.