Bug 116662 - [GTK3] Buttons have blank backgrounds, dropdowns have no arrow
Summary: [GTK3] Buttons have blank backgrounds, dropdowns have no arrow
Status: RESOLVED MOVED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.0.1.1 release
Hardware: All FreeBSD
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gtk3-themeing
  Show dependency treegraph
 
Reported: 2018-03-27 15:03 UTC by Greg V
Modified: 2018-11-08 15:00 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot: Adwaita | Main window (48.08 KB, image/png)
2018-03-27 15:03 UTC, Greg V
Details
Screenshot: Adwaita | Settings (49.67 KB, image/png)
2018-03-27 15:04 UTC, Greg V
Details
Screenshot: Arc (86.12 KB, image/png)
2018-03-27 15:05 UTC, Greg V
Details
Screenshot: 6.1 new table dialog (66.52 KB, image/webp)
2018-11-05 15:27 UTC, Greg V
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Greg V 2018-03-27 15:03:56 UTC
Created attachment 140914 [details]
Screenshot: Adwaita | Main window

With the GTK 3 backend on FreeBSD, some VCL UI elements are not properly rendered.

With GNOME's Adwaita theme:

- checkboxes, radio buttons, notebookbar tabs and regular buttons (esp. in non-native dialogs) have no background
- dropdown pickers have no arrow button / don't drop down

With the Arc theme, checkboxes and radio buttons look fine, but other problems remain.

It doesn't matter whether I'm running X11 or Wayland, regular or HiDPI, hardware accelerated or not, it just always happens with GTK3.

Build config: https://github.com/freebsd/freebsd-ports/blob/6b7727dafda85af3155fdda2978bad0d96f2d11c/editors/libreoffice/Makefile#L230
Comment 1 Greg V 2018-03-27 15:04:51 UTC
Created attachment 140915 [details]
Screenshot: Adwaita | Settings
Comment 2 Greg V 2018-03-27 15:05:32 UTC
Created attachment 140916 [details]
Screenshot: Arc
Comment 3 Caolán McNamara 2018-03-28 19:26:52 UTC
Is it running against the same version of gtk3 it was built against. Is gtk3 >= 3.20.0 ?
Comment 4 Greg V 2018-03-28 20:29:35 UTC
(In reply to Caolán McNamara from comment #3)
> Is it running against the same version of gtk3 it was built against. Is gtk3
> >= 3.20.0 ?

Built with 3.22.26, currently running 3.22.29 but the same was happening when running with 3.22.26.
Comment 5 Caolán McNamara 2018-11-05 12:10:44 UTC
I presume in the case of the "true" gtk widgets, e.g. in writer, the dialog of insert->table in LibreOffice 6.1 they then work fine ?
Comment 6 Xisco Faulí 2018-11-05 13:24:31 UTC
(In reply to Caolán McNamara from comment #5)
> I presume in the case of the "true" gtk widgets, e.g. in writer, the dialog
> of insert->table in LibreOffice 6.1 they then work fine ?

Dear Greg V,
Could you please answer Caolán's question ?
Setting to NEEDINFO meanwhile...
Comment 7 Greg V 2018-11-05 15:27:35 UTC
Created attachment 146318 [details]
Screenshot: 6.1 new table dialog

(In reply to Caolán McNamara from comment #5)
> I presume in the case of the "true" gtk widgets, e.g. in writer, the dialog
> of insert->table in LibreOffice 6.1 they then work fine ?

Just built 6.1, yes, the new table dialog looks fine.

(apart from the tiny table preview being blurry because of HiDPI, but that seems like a known issue — https://bugzilla.redhat.com/show_bug.cgi?id=1533949)
Comment 8 Xisco Faulí 2018-11-08 14:43:35 UTC
Hi Greg,
So Caolán is continuously working on welding the dialog to have a native feel and look -> https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=weld
In LibreOffice 6.2 more dialog will be adapted. it's just a matter of time until it's fully completed.
Closing as RESOLVED MOVED
Comment 9 Greg V 2018-11-08 15:00:23 UTC
(In reply to Xisco Faulí from comment #8)
> Hi Greg,
> So Caolán is continuously working on welding the dialog to have a native
> feel and look ->
> https://cgit.freedesktop.org/libreoffice/core/log/?qt=grep&q=weld
> In LibreOffice 6.2 more dialog will be adapted. it's just a matter of time
> until it's fully completed.
> Closing as RESOLVED MOVED

It's great that dialogs are becoming native, but the problem is not just about dialogs, it's about *all* VCL UI elements.

Look at the toolbar notebookbar thingy in https://bug-attachments.documentfoundation.org/attachment.cgi?id=140916 :(