Created attachment 172558 [details] Screenshot of the problem When using the "in registers" view, the background of those registers is different to that of its content.
Not clear. You need to write all, not assuming it's obvious. Is this about Tabbed UI? That inactive tabs are darker? Which is not a bug.
No, I mean this thing you click on to select a tab in the top row, like the head if you will, has a different background than its content. In other words, the background of "Datei" is different to the background of "Neu", "Öffnen", "Dokumentvorlagen" etc. The result is this weird line between tab header and tab content where the background changes slightly without a borderline. In my opinion, that does not look good. I hope that describes it better, should have made a marker in the screenshot.
I see it in your screenshot, trivial as marked. But again you didn't write what's your OS, some customization like dark mode and what is in Options-View, did you change or left default (also please screenshot). Only written is LO 7.0.5. That being said, I don't see in Linux and Windows with default settings.
Created attachment 172725 [details] Screenshot of the UI settings
The only change I made is that I switched the User Interface to "Tabbed". My version info from "About LibreOffice": Version: 7.0.6.2 Build ID: 00(Build:2) CPU threads: 12; OS: Linux 5.12; UI render: default; VCL: kf5 Locale: de-DE (de_DE.UTF-8); UI: de-DE 7.0.6-1 Calc: threaded (In the meantime, I updated LibreOffice to 7.0.6.2.) System information: Operating System: Manjaro Linux KDE Plasma Version: 5.21.5 KDE Frameworks Version: 5.82.0 Qt Version: 5.15.2 Kernel Version: 5.12.8-1-MANJARO OS Type: 64-bit Graphics Platform: X11 Processors: 12 × Intel® Core™ i5-10400F CPU @ 2.90GHz Memory: 15.5 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 As you can see, I am running KDE Plasma, using the Breeze theme by default.
Repro, but only with kf5 UI. Not on Windows either. Arch Linux 64-bit Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 1c1427e81c2463fbc40855adfafa360c13108abb CPU threads: 8; OS: Linux 5.17; UI render: default; VCL: kf5 (cairo+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Jumbo Built on 27 April 2022
I had a look today and the background is painted by the Qt styling function. Here it's actually the same color then the toolbar / menubar. Even reading Qt code, it's not obvious for me, why / where this color is selected. Maybe it's a bug in the breeze theme engine? There is a lot of stuff in Breeze, which is not available via the QStyle interface, like the white mouse-over text for buttons and obviously several animations. I tried to adapt the state, but nothing changed the background color. LO could overwrite the background setting with the Window background color for the selected tab...
This is not limited to the Tabbed interface, but also to any tabs in LibreOffice UI. For instance, in Writer go to Format - Paragraph and notice the color of the selected tab.
Created attachment 183138 [details] Screenshot of the patched UI Actually it's not the Tab that has the wrong color, but the tab pane was using the wrong color (for some reason I could not figure out). Both the Tab and the Tab contents need to use DialogColor. See the attached image of the UI with the patch. Here's the patch: https://gerrit.libreoffice.org/c/core/+/141411
FTR the dark theme works as well.
Created attachment 183520 [details] Screenshot gtk3 with https://gerrit.libreoffice.org/c/core/+/141411 v2 and gtk3 Adwaita theme The attached screenshot show how https://gerrit.libreoffice.org/c/core/+/141411 (PS2) affects gtk3 with the Adwaita theme. I'll add a comment to the Gerrit change with some more notes.