https://bugs.documentfoundation.org/show_bug.cgi?id=150622

            Bug ID: 150622
           Summary: High Contrast theme is broken with GTK3.
           Product: LibreOffice
           Version: 7.3.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: folsk0prat...@cock.li

Description:

With GTK3, High Contrast theme is not displayed correctly without any way to
work around the problem. To make situation worse, some things are much slower
compared to when using other themes.

I want to specifically point out that themes like Adwaita are totally OK and
with them everything is just the way it was before. Only with High Contrast
theme LibreOffice behaves strangely.

Steps to Reproduce:
I could reproduce the bug in Debian 11 and in Arch Linux. I describe steps for
Debian 11, since it is my OS of choice.
* Install Debian 11 with XFCE or i3.
* If you chose XFCE, in left upper corner click 'Applications', in the
drop-down menu select Settings > Appearance and make sure HighContrast style is
selected. If you chose i3, edit your `~/.config/gtk-3.0/settings.ini` to
contain line `gtk-theme-name = HighContrast` and restart your i3.
* Download and install latest still version of LibreOffice from [official
site](https://www.libreoffice.org/download/download-libreoffice/?type=deb-x86_64&version=7.4.0&lang=en-US).
Currently it is 7.3.5.
* Go to /opt/libreoffice7.3/program and use your shell to do `./soffice
--impress`.

Actual Results:
Now you see these things:

* Right side panel icons are missing, only (clickable) empty squares.
* Typing into 'Click to add Text' textbox is very sluggish.
* The borders of the textbox are black mesh instead of blue rectangle.
* Dragging the textbox around is way more sluggish than with any other theme
(e.x. Adwaita).
* Even scrolling a slide is more slow than with e.x. Adwaita.
* Text selection is black in the textbox, but blue everywhere else. 

Every part of the suite is affected with similar bugs, not only Impress. For
example, TexMath extension generates svg picture which contents are invisible,
but when you drag the svg, you can see outline of its text. If you're not
satisfied, launch writer and do:

* Insert > Chart. You see something crazy instead of actual chart. If you
anchor it as character everything magically becomes OK though.

Expected Results:
Instead I expect:
* Right side panel icons to be displayed.
* Smooth typing.
* Nice blue borders for the textbox.
* Smooth dragging and scrolling.
* Nice blue text selection.
* Nice charts and TexMath equations.
or at least possibility to turn off High Contrast mode completely without
touching system settings. 'Tools > Options > Accessibility > Automatically
detect high contrast mode of operating systems' does not affect anything.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 7.3.5.2 / LibreOffice Community
Build ID: 184fe81b8c8c30d8b5082578aee2fed2ea847c01
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en_GB.UTF-8; UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to