Bug 118810 - LibreOffice VCL-GTK2 draws incomplete tab widget when using Redmond theme
Summary: LibreOffice VCL-GTK2 draws incomplete tab widget when using Redmond theme
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
5.4.7.2 release
Hardware: x86 (IA32) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-17 18:58 UTC by Nutchanon Wetchasit
Modified: 2019-05-08 20:39 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of ambiguous tab bar in LibreOffice Calc 5.4.7 (Redmond GTK2 theme) (12.27 KB, image/png)
2018-07-17 18:58 UTC, Nutchanon Wetchasit
Details
Screenshot of The Widget Factory 0.2.1 (Redmond GTK2 theme) (19.17 KB, image/png)
2018-07-17 19:07 UTC, Nutchanon Wetchasit
Details
Screenshot of tab bar in LibreOffice Calc 5.4.7 (Raleigh GTK2 theme) (11.95 KB, image/png)
2018-07-17 19:11 UTC, Nutchanon Wetchasit
Details
Screenshot of The Widget Factory 0.2.1 (Raleigh GTK2 theme) (20.61 KB, image/png)
2018-07-17 19:12 UTC, Nutchanon Wetchasit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nutchanon Wetchasit 2018-07-17 18:58:44 UTC
Created attachment 143605 [details]
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.
Comment 1 Nutchanon Wetchasit 2018-07-17 19:07:00 UTC
Created attachment 143606 [details]
Screenshot of The Widget Factory 0.2.1 (Redmond GTK2 theme)
Comment 2 Nutchanon Wetchasit 2018-07-17 19:11:08 UTC
Created attachment 143607 [details]
Screenshot of tab bar in LibreOffice Calc 5.4.7 (Raleigh GTK2 theme)

Note that this problem is not limited to the "Redmond" theme:
a similar but more-metallic "Releigh" theme is also affected in the same way
(missing white line under non-active tabs). But the usability is less affected
in this case, as the non-active tab headings and active tab body are colored
differently under this theme.

LibreOffice Calc screenshot: `librecalc5.4.7-raleigh.png`
The Widget Factory screenshot: `thewidgetfactory0.2.1-raleigh.png`

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.
Comment 3 Nutchanon Wetchasit 2018-07-17 19:12:50 UTC
Created attachment 143608 [details]
Screenshot of The Widget Factory 0.2.1 (Raleigh GTK2 theme)
Comment 4 Xisco Faulí 2018-08-29 10:42:14 UTC
Do you reproduce the issue if you execute LibreOffice like 'SAL_USE_VCLPLUGIN=gen soffice' ?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' once the question has been answered
Comment 5 QA Administrators 2019-03-21 11:12:02 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-05-08 20:39:12 UTC
Dear Nutchanon Wetchasit,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp