Bug 98067 - Menu bar and right tool bar are invisible, but functional in high-contrast-mode/theme
Summary: Menu bar and right tool bar are invisible, but functional in high-contrast-mo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: accessibility
Depends on:
Blocks: High-Contrast
  Show dependency treegraph
 
Reported: 2016-02-21 21:40 UTC by Martin Lemburg
Modified: 2019-11-26 11:38 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing a wrongly rendered menu bar and right tool bar (31.61 KB, image/png)
2016-02-21 21:40 UTC, Martin Lemburg
Details
2016-04-06 - new screenshot of Writer (34.68 KB, image/png)
2016-04-06 10:03 UTC, Martin Lemburg
Details
Screenshot of the LibreOffice Writer version 5.4.0.3 (29.77 KB, image/png)
2017-08-20 22:33 UTC, Martin Lemburg
Details
Screenshot of the menu bar with selected and opened sub menu (8.69 KB, image/png)
2017-08-20 22:37 UTC, Martin Lemburg
Details
Screenshot of the about dialog documenting the LibreOffice version (27.45 KB, image/png)
2017-08-20 22:38 UTC, Martin Lemburg
Details
Screenshot of the Writer with black menu bar and right side bar (LibreOffcie 5.4.2.2) in high-contrast-mode (30.30 KB, image/png)
2017-11-02 11:50 UTC, Martin Lemburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Lemburg 2016-02-21 21:40:47 UTC
Created attachment 122855 [details]
Screenshot showing a wrongly rendered menu bar and right tool bar

With high-contrast-mode or black high-contrast-theming (with e.g. high-contrast-#1 theme) the menu bar and the right tool bar are rendered wrongly and are rendered black on black.
Comment 1 Buovjaga 2016-02-28 15:25:56 UTC Comment hidden (obsolete)
Comment 2 Martin Lemburg 2016-02-28 19:31:55 UTC
OpenGL was not switched on!
And switching OpenGL on didn't change a thing!

But ... from my experience in UI development it would surprise me to make really a difference, because the used colors are defined at the level of device context usage, no matter if WGL DC or WIN32 DC!
If the UI would have rendered differently, severe bugs would be the reason, wouldn't it?
Comment 3 Buovjaga 2016-04-06 05:29:49 UTC
I get white on black with high-contrast 1 Windows theme.

Win 7 Pro 64-bit, Version: 5.1.1.3 (x64)
Build ID: 89f508ef3ecebd2cfb8e1def0f0ba9a803b88a6d
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI)
Comment 4 Martin Lemburg 2016-04-06 10:01:52 UTC
I tried again today at my office workstation, which behaves a bit different based on Windows 7 Enterprise (SP1).
Here the menu is white on black, but the right tool bar is still rendered incorrectly.
Comment 5 Martin Lemburg 2016-04-06 10:03:40 UTC
Created attachment 124124 [details]
2016-04-06 - new screenshot of Writer

I created this screenshot on my office workstation running Windows 7 Enterprise instead of Windows 7 Professional.
From my experience high-contrast-mode is not behaving the same here and at home.
Comment 6 Martin Lemburg 2016-04-06 10:04:55 UTC
The screenshot of Writer attached today was created with LibreOffice 5.1.1.3, while the bug got created for LibreOffice 5.1.0.3.
Comment 7 Buovjaga 2016-04-07 05:15:03 UTC
Sorry about that, I do confirm the sidebar thing (already in 4.3).
Comment 8 Xisco Faulí 2017-08-17 16:32:05 UTC
Hi Martin,
i have the feeling this issue might be fixed.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
Comment 9 Martin Lemburg 2017-08-20 22:33:22 UTC
Created attachment 135678 [details]
Screenshot of the LibreOffice Writer version 5.4.0.3

Thanks for the advise to test again.

I tested on Win10Pro (high-contrast-mode enabled) with LibreOffice 5.4.0.3 and

The menu is still black, active sub menus are black on violet.
The toolbar on the right is black, too.

Two screenshots will follow as attachments.
Comment 10 Martin Lemburg 2017-08-20 22:37:07 UTC
Created attachment 135679 [details]
Screenshot of the menu bar with selected and opened sub menu

A screenshot showing the coloring of an opened sub menu right below the menu bar.
Comment 11 Martin Lemburg 2017-08-20 22:38:19 UTC
Created attachment 135680 [details]
Screenshot of the about dialog documenting the LibreOffice version
Comment 12 Martin Lemburg 2017-11-02 11:50:05 UTC
Created attachment 137457 [details]
Screenshot of the Writer with black menu bar and right side bar (LibreOffcie 5.4.2.2) in high-contrast-mode

I tested with LibreOffce 5.4.2.2 the current state of high-contrast-mode support and found still the same issues with a black menu bar and a black right side bar.
Additionally the color used for hovered menu items has still an insufficient contrast to the used font/foreground color.

BTW Testing in high-contrast-mode is not that difficult! Press LeftAlt+LeftShift+PrintScr to toggle the high-contrast-mode with its default or last used high-contrast-theme/design.
It is even important how an application behaves, if the high-contrast-mode changes during the runtime!
Comment 13 Martin Lemburg 2017-11-02 11:50:54 UTC
BTW I use now Windows 10 Pro, not Windows 7 Pro anymore and have still the same issues.
Comment 14 QA Administrators 2018-11-03 03:50:54 UTC Comment hidden (obsolete)
Comment 15 Buovjaga 2019-08-17 12:31:05 UTC
Now the sidebar deck icons stay invisible, but menu bar colour has changed to "gray text on gray background" as reported in bug 124672.
I tested with all Win 10 high contrast themes. The theme High contrast #2 shows green text for menus. High contrast white shows black text for menus, but Sidebar icons are still invisible.