[Libreoffice-bugs] [Bug 118810] New: LibreOffice VCL-GTK2 draws incomplete tab widget when using Redmond theme

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 17 18:58:44 UTC 2018


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

            Bug ID: 118810
           Summary: LibreOffice VCL-GTK2 draws incomplete tab widget when
                    using Redmond theme
           Product: LibreOffice
           Version: 5.4.7.2 release
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: graphics stack
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: Nachanon_Vetjasit at hotmail.com

Created attachment 143605
  --> https://bugs.documentfoundation.org/attachment.cgi?id=143605&action=edit
Screenshot of ambiguous tab bar in LibreOffice Calc 5.4.7 (Redmond GTK2 theme)

I have recently switched my system to use GTK2 Redmond theme (usually known as
"Windows Classic" theme) to improve contrast; but as soon as I tried to use
LibreOffice Calc, I found that Calc does not correctly draw tab bars
within tab widgets- making the active tab looked just like other
non-active ones.

This problem makes operating tabbed dialogs like "Format Cells" and
"Page Style" really difficult and confusing.

Exact steps to reproduce:

- Set system's GTK2 widget theme to "Redmond".
- Start LibreOffice Calc.
- Right-click on cell A1.
- Choose "Format Cells".
- Format Cells dialog will appear.
- Click on "Borders" tab.
- Press Tab key, the focus will move to the "Set No Borders" line preset.
- You will see that it is now _very hard_ to discern which tab of the dialog
  is currently active. The only clue left is a subtly raised position of
  the "Borders" tab.

Calc's "Format Cells" dialog screenshot is attached as
`librecalc5.4.7-redmond-ambiguoustab.png`.

Screenshot of The Widget Factory (a native GTK2 theme testing program)
is also attached for a reference as `thewidgetfactory0.2.1-redmond.png`.

A comparison between Calc screenshot and The Widget Factory (especially
its bottom-left part) shows that LibreOffice's GTK2 VCL toolkit's tab bar
omitted the bottom white line that should have been running under
all of the non-active tabs.

Since this is a VCL-wide problem, I believe this affects parts of
_all_ LibreOffice programs (not just Calc) that use the tab widget.

This problem may or may not be related to bug #105202 (VCL-GTK3 tab widget's
lack-of-border problem).

LibreOffice: 5.7.4 32-bit (Debian packages from libreoffice.org)
The Widget Factory: 0.2.1-2 (Debian)
GTK: 2.24.10-2 (Debian)
System: Debian GNU/Linux 7.0 Wheezy i386

"About LibreOffice" dialog information follows...
        Version: 5.4.7.2
        Build ID: c838ef25c16710f8838b1faec480ebba495259d0
        CPU threads: 4; OS: Linux 3.2; UI render: default; VCL: gtk2;
        Locale: th-TH (th_TH); Calc: group

OpenGL is not used in this LibreOffice installation.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180717/ed5a5c36/attachment.html>


More information about the Libreoffice-bugs mailing list