Bug 167266 - No separation between toolbar and main window area - neither by background nor by separator
Summary: No separation between toolbar and main window area - neither by background no...
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice
Depends on:
Blocks: GTK3 UI
  Show dependency treegraph
 
Reported: 2025-06-27 10:05 UTC by Eyal Rozenberg
Modified: 2025-07-11 07:41 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Writer window, Light, Standard UI (no separation) (42.34 KB, image/png)
2025-06-27 10:05 UTC, Eyal Rozenberg
Details
Writer window, Light, Tabbed UI (exhibits separation) (40.28 KB, image/png)
2025-06-27 10:06 UTC, Eyal Rozenberg
Details
Writer window, Dark, Standard UI (no separation) (44.78 KB, image/png)
2025-06-27 10:07 UTC, Eyal Rozenberg
Details
Impress window, Light, Standard UI (no separation) (60.47 KB, image/png)
2025-06-27 10:07 UTC, Eyal Rozenberg
Details
Impress window, Dark, Standard UI (no separation) (62.86 KB, image/png)
2025-06-27 10:07 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-06-27 10:05:32 UTC
Created attachment 201510 [details]
Writer window, Light, Standard UI (no separation)

I'm using LO 26.2 with GTK3.

There is no separation between the background area of the LO toolbar and the background of the main area of the window. This occurs both with Light and Dark themes, and is not module-specific (although in Calc, for example, we have the formula bar which serves as an effective separator, so the problem is quite minor). 

This does not happen with the Tabbed UI though - there's a background color difference.

It also doesn't happen with QT5 as the VCL (although I only tested in Light; Dark doesn't seem to work with QT5). I will say that with QT5, the tabbed bar has both a different background color and a separator line (or even a separation which looks like a groove; I like that).

Will add some screenshots to illustrate.
Comment 1 Eyal Rozenberg 2025-06-27 10:06:38 UTC
Created attachment 201511 [details]
Writer window, Light, Tabbed UI (exhibits separation)
Comment 2 Eyal Rozenberg 2025-06-27 10:07:04 UTC
Created attachment 201512 [details]
Writer window, Dark, Standard UI (no separation)
Comment 3 Eyal Rozenberg 2025-06-27 10:07:37 UTC
Created attachment 201513 [details]
Impress window, Light, Standard UI (no separation)
Comment 4 Eyal Rozenberg 2025-06-27 10:07:55 UTC
Created attachment 201514 [details]
Impress window, Dark, Standard UI (no separation)
Comment 5 Heiko Tietze 2025-06-30 08:54:12 UTC
Cannot confirm with kf6, there is a slight difference in brightness between toolbar and application area. You may customize the appearance of the application background.
Comment 6 Eyal Rozenberg 2025-06-30 10:44:15 UTC
(In reply to Heiko Tietze from comment #5)
> Cannot confirm with kf6, there is a slight difference in brightness between
> toolbar and application area.

Ok, good.

> You may customize the appearance of the application background.

Yes, but I believe the default should be a separation in color between the background and the toolbars. This is not a vehement insistence, i.e. it's not terrible the way things are now, but I believe a separation in color would be better.
Comment 7 Heiko Tietze 2025-06-30 12:49:12 UTC
We use these colors as default in svtools/source/config/colorcfg.cxx

{ Color(0xDFDFDE),  Color(0x333333) }, // APPBACKGROUND

Maybe it accidentally matches your system theme color that is used for the toolbar/notebookbar.
Comment 8 Sahil Gautam 2025-06-30 12:52:17 UTC
(In reply to Heiko Tietze from comment #7)
> We use these colors as default in svtools/source/config/colorcfg.cxx
> 
> { Color(0xDFDFDE),  Color(0x333333) }, // APPBACKGROUND
> 
> Maybe it accidentally matches your system theme color that is used for the
> toolbar/notebookbar.

this is most notable on windows in dark mode, guess this could be true. i think hardcoding dark mode colors on windows won't be a bad idea, from what i remember microsoft by default uses a grey theme which is not the same as the system theme.
Comment 9 Eyal Rozenberg 2025-06-30 14:43:42 UTC
(In reply to Heiko Tietze from comment #7)
> We use these colors as default in svtools/source/config/colorcfg.cxx
> 
> { Color(0xDFDFDE),  Color(0x333333) }, // APPBACKGROUND
> 
> Maybe it accidentally matches your system theme color that is used for the
> toolbar/notebookbar.

The color I see, for both the background and toolbar background, is:

0xF6F5F4  for Light, and
0x353535  for Dark

Anyway, my desktop environment is Cinnamon 6.4.10, with the default color scheme. I have also not played with the LO colors.
Comment 10 Heiko Tietze 2025-07-11 07:41:13 UTC
The situation is unclear and requires further insight from developers. The hard-coded application background should be different from the window color - and is at least on Windows with a bright theme and Linux/kf6 with a dark theme.