Bug 141030 - kf5: toolbars appears in two different colors
Summary: kf5: toolbars appears in two different colors
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.1.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: KDE, KF5
  Show dependency treegraph
 
Reported: 2021-03-14 19:09 UTC by Frederic Parrenin
Modified: 2021-03-17 10:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
screenshot of writer under KDE (65.75 KB, image/png)
2021-03-14 19:09 UTC, Frederic Parrenin
Details
screenshot of writer with tabbed interface under KDE (102.79 KB, image/png)
2021-03-16 14:22 UTC, Frederic Parrenin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frederic Parrenin 2021-03-14 19:09:26 UTC
Created attachment 170486 [details]
screenshot of writer under KDE

I recently tried LibreOffice 7.1.1 on KDE on my debian testing box.
It seems there is an issue with the toolbars: they appear dark on the left and light on the right (see screenshot).
It seems something is wrong.
Comment 1 [REDACTED] 2021-03-15 16:01:43 UTC
no repro

Version: 7.1.1.2 / LibreOffice Community
Build ID: fe0b08f4af1bacafe4c7ecc87ce55bb426164676
CPU threads: 8; OS: Linux 5.3; UI render: default; VCL: kf5
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Michael Weghorn 2021-03-16 09:27:24 UTC
Can't reproduce on Debian testing. Some questions:

1) Does this also happen with a fresh user profile as described here?
https://wiki.documentfoundation.org/UserProfile#Resolving_corruption_in_the_user_profile

2) Does this always happen or just with some specific UI selected in "View" -> "User Interface"?

3) What theme have you selected in Plasma settings?

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: b63e845c25f5e78e845cc9947b0b1f9958a646ca
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded
Comment 3 Frederic Parrenin 2021-03-16 14:21:29 UTC
1) No, the bug does not show up in safe mode. But it does show up with a new user profile (if I proceeded correctly).

2) With other UIs, it is even worse. I will attach a screenshot of the tabbed interface.

3) The KDE theme used is Breeze.
Comment 4 Frederic Parrenin 2021-03-16 14:22:26 UTC
Created attachment 170516 [details]
screenshot of writer with tabbed interface under KDE
Comment 5 QA Administrators 2021-03-17 04:21:38 UTC Comment hidden (obsolete)
Comment 6 Michael Weghorn 2021-03-17 08:52:17 UTC
(In reply to Frederic Parrenin from comment #3)
> 1) No, the bug does not show up in safe mode. But it does show up with a new
> user profile (if I proceeded correctly).

That's quite surprising. Does the issue still happen when you start with a new profile in a temporary directory, by starting LibreOffice from command line like this:

    libreoffice -env:UserInstallation=file://$(mktemp -d)

(replace 'libreoffice' with full path to your installation if necessary, like /opt/libreoffice<VERSION>/program/soffice if you're using the TDF-provided packages).

Does "Tools" -> "Extensions Manager" show any extensions?
Comment 7 Frederic Parrenin 2021-03-17 10:15:57 UTC
When I use another profile with the following command line:

libreoffice -env:UserInstallation=file://$(mktemp -d)

The issue does not show up but the theme is also completely different.

No, "Tools" -> "Extensions Manager" does not show any extensions.
Comment 8 Michael Weghorn 2021-03-17 10:27:27 UTC
(In reply to Frederic Parrenin from comment #7)
> When I use another profile with the following command line:
> 
> libreoffice -env:UserInstallation=file://$(mktemp -d)
> 
> The issue does not show up but the theme is also completely different.

What exactly do you mean by "the theme is different"? Is that a setting you can make from inside LibreOffice?

Can you please copy and paste the information from "Help" -> "About LibreOffice" for both cases, the one where the issue does not show up, "but the theme is completely different" and the one where the issue occurs?
Comment 9 Frederic Parrenin 2021-03-17 10:35:09 UTC
The issue is gone on my side now.
I used a new user profile (I was not doing it correctly before) and it solved the problem.
Thank you for your help.
Is there anything I can do to help?
Comment 10 Michael Weghorn 2021-03-17 10:53:35 UTC
(In reply to Frederic Parrenin from comment #9)
> The issue is gone on my side now.
> I used a new user profile (I was not doing it correctly before) and it
> solved the problem.
> Thank you for your help.
> Is there anything I can do to help?

Great to hear, thanks for the update.
Let's close this bug as WORKSFORME then.

Or do you want to investigate further what setting in the old profile caused the issue? If so, you can e.g. remove files/settings from the old profile (or take over from the new one) until you identify the problematic setting (make a backup first).