Bug 153841 - LibreOffice 7.5.1.2 Linux ignores Light view command
Summary: LibreOffice 7.5.1.2 Linux ignores Light view command
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.5.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 153864 154068 154537 (view as bug list)
Depends on:
Blocks: Linux-Dark-Mode
  Show dependency treegraph
 
Reported: 2023-02-26 09:38 UTC by brian.davies
Modified: 2024-03-27 10:45 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
My Linux Mint Cinnamon theme setup (57.81 KB, image/png)
2023-02-27 12:54 UTC, brian.davies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brian.davies 2023-02-26 09:38:10 UTC
Description:
Setting Tools/Options/View/Mode to Light does not work. Dark view remains.

Actual Results:
Setting Tools/Options/View/Mode to Light does not work. Dark view remains.

Expected Results:
View mode should change from Dark to Light. It does not change.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: StartModule
[Information guessed from browser]
OS: Linux Mint 21.1
OS is 64bit: yes
Comment 1 Stéphane Guillou (stragu) 2023-02-26 15:44:01 UTC
Hi Brian

- Does the icon theme change when you switch between dark and light mode?
- Can you please paste here the info copied from Help > About LibreOffice ?

Thank you!
Comment 2 brian.davies 2023-02-26 16:19:48 UTC
Hi Stephane,

No, the icon theme remains at Automatic (Elementary) whichever mode is selected.

Here is the Help/About info:

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded

Hope this helps,

Brian.
Comment 3 QA Administrators 2023-02-27 03:20:21 UTC Comment hidden (obsolete)
Comment 4 Stéphane Guillou (stragu) 2023-02-27 08:38:47 UTC
Thanks Brian.

I can reproduce the icon issue on Ubuntu 20.04 with GNOME 3.36.8but only with alternative UIs:
- Tabbed
- Tabbed Compact
- Groupedbar Compact
- Contextual Single

But it does switch the icon theme when using "Standard Toolbar", "Single Toolbar" and "Sidebar".
Do you see the same?

I have previously reported in bug 153618 that the icon theme does not change to one suitable to dark mode when GNOME is in dark mode. (i.e. in Automatic mode)

Regarding the background colour of the UI, I can't make it overwrite the default dark colours that the desktop environment uses. Using "Light" in View Mode keeps the dark grey theme.

Which desktop environment are you using, Brian?

Caolán, do you also see these three issues?
- Icon switch failing for alternative UIs
- LO's Light view mode does not overwrite GNOME's UI
- Icon switch failing on Automatic mode (bug 153618)
Comment 5 Caolán McNamara 2023-02-27 09:51:12 UTC
"do you also see these three issues?
- Icon switch failing for alternative UIs
- LO's Light view mode does not overwrite GNOME's UI
- Icon switch failing on Automatic mode (bug 153618)"

No, none of them. I have a vague memory of getting weirdness after logging out of the default Fedora gnome desktop and trying various other ones like KDE and Mate etc that eventually something got set into some unusual state.

Perhaps, if its available, launch gnome-tweaks and report what Appearance, Legacy Applications (in my version of gnome-tweaks-42~beta that's what its called, that might vary) reports. In my case its "Adwaita (default)"
Comment 6 brian.davies 2023-02-27 10:34:35 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2023-02-27 10:55:45 UTC
(In reply to Caolán McNamara from comment #5)
> No, none of them. I have a vague memory of getting weirdness after logging
> out of the default Fedora gnome desktop and trying various other ones like
> KDE and Mate etc that eventually something got set into some unusual state.
> 
> Perhaps, if its available, launch gnome-tweaks and report what Appearance,
> Legacy Applications (in my version of gnome-tweaks-42~beta that's what its
> called, that might vary) reports. In my case its "Adwaita (default)"

Thanks, I just had a look and I apparently have Yaru-dark. Switching the Window theme in GNOME settings > Appearance will use Yaru-light, Yaru and Yaru-dark.

If I use Adwaita-dark instead in GNOME Tweaks, I get:
- Icon switch failing for alternative UIs -> Fixed
- LO's Light view mode does not overwrite GNOME's UI -> Still reproduced
- Icon switch failing on System view mode (bug 153618) -> Still reproduced

I am using Wayland, might have something to do with it.

(In reply to brian.davies from comment #6)
> I am not at all agile with the myriad of settings available in LO so you
> will have to allow me more time to find and work through all those
> alternative UIs you mention.

Apologies. Alternative UIs are in top-bar menu, View > User Interface.
Please also let us know what appearance setting you are using in the Cinnamon settings (i.e. which dark theme, if there are several available.)
Comment 8 brian.davies 2023-02-27 12:54:58 UTC
Created attachment 185612 [details]
My Linux Mint Cinnamon theme setup
Comment 9 brian.davies 2023-02-27 13:10:44 UTC
(In reply to Stéphane Guillou (stragu) from comment #7)
> Apologies. Alternative UIs are in top-bar menu, View > User Interface.

Thanks for the guidance. I have now tried all interfaces. Nothing changes whichever UI I use.
Comment 10 Stéphane Guillou (stragu) 2023-02-28 09:30:07 UTC
*** Bug 153864 has been marked as a duplicate of this bug. ***
Comment 11 Stéphane Guillou (stragu) 2023-03-09 08:39:15 UTC
*** Bug 154068 has been marked as a duplicate of this bug. ***
Comment 12 Stéphane Guillou (stragu) 2023-03-10 13:18:13 UTC
Let's keep all icon-switch issues in bug 127138 and focus here on the rest of the UI remaining dark when "Light" is selected.
Comment 13 Stéphane Guillou (stragu) 2023-04-28 23:31:27 UTC
*** Bug 154537 has been marked as a duplicate of this bug. ***
Comment 14 Stéphane Guillou (stragu) 2023-08-03 13:42:04 UTC
Still the same for me in recent master build:

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

Starting with GNOME's "dark" appearance, changing LO to "Light" does not change anything.
Comment 15 Jeff Fortin Tam 2023-08-27 13:27:49 UTC
Wasn't this just implemented only in June this year in Cinnamon? https://9to5linux.com/cinnamon-5-8-desktop-released-with-gestures-dark-mode-styles-and-more

If this issue is about Cinnamon, then it sounds like it could be closed.
Comment 16 Michael Weghorn 2023-09-01 22:07:59 UTC Comment hidden (obsolete)
Comment 17 Michael Weghorn 2023-09-01 22:21:24 UTC Comment hidden (obsolete)
Comment 18 Michael Weghorn 2023-09-01 22:22:25 UTC
(In reply to Michael Weghorn from comment #17)
> (In reply to Michael Weghorn from comment #16)
> > For me on Debian testing (tested in a GNOME session), switching the theme
> > via the option in LO does not work when "Breeze" is selected in gnome-tweaks
> > -> "Appearance" -> "Legacy Applications", but it works when selecting
> > "Adwaita (default)" instead.
> 
> And in a KDE Plasma (X11) session, changing the mode doesn't work even with
> "Adwaita (default)" set.

(gtk3 VCL plugin used in both scenarios.)
Comment 19 Stéphane Guillou (stragu) 2024-03-27 10:45:02 UTC
Same with X11 or Wayland, on Ubuntu 22.04 + GNOME 42.9, with a recent trunk build:

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