<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - LibreOffice VCL-GTK2 draws incomplete tab widget when using Redmond theme"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=118810">118810</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LibreOffice VCL-GTK2 draws incomplete tab widget when using Redmond theme
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>5.4.7.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>minor
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>graphics stack
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Nachanon_Vetjasit@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=143605" name="attach_143605" title="Screenshot of ambiguous tab bar in LibreOffice Calc 5.4.7 (Redmond GTK2 theme)">attachment 143605</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=143605&action=edit" title="Screenshot of ambiguous tab bar in LibreOffice Calc 5.4.7 (Redmond GTK2 theme)">[details]</a></span>
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 <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - GTK+ 3: Tab widget lacks borders and has unnecessary padding"
   href="show_bug.cgi?id=105202">bug #105202</a> (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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>