With the GTK+ 3 integration of LibreOffice, the drop-down list buttons are way too big. Please look at the screenshots.
Steps to Reproduce:
1. Install LibreOffice 5.4 (PPA)
2. Install the Ubuntu package "office productivity suite -- GTK+ 3 integration"
3. Restart LibreOffice
The drop-down buttons are too big; they look unnatural
The drop-down buttons should look like in GTK+2
User Profile Reset: No
GTK3 LibreOffice package:
"office productivity suite -- GTK+ 3 integration" 1:5.4.0~rc3-0ubuntu0.16.04.1~lo1
CPU-Threads: 4; Betriebssystem:Linux 4.4; UI-Render: GL; VCL: gtk2;
Gebietsschema: de-DE (de_DE.UTF-8); Calc: single
System: Ubuntu Gnome 16.04.3 LTS 64-Bit
Processor: Intel® Core™ i3-3120M CPU @ 2.50GHz × 4
Graphics: Intel® Ivybridge Mobile
Screen resolution: 1366x768
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36
Created attachment 135648 [details]
LibreOffice 5.4 with GTK2, everything is okay here.
Created attachment 135649 [details]
LibreOffice 5.4 with GTK3, drop-down buttons in the menu bar are too big here.
@Caolán + David: I felt free to add you to the bug, as you were working on the GTK+ 3 integration.
What Ubuntu theme are you using? I do not reproduce with default theme (same LO version, same Ubuntu version).
Set status to NEEDINFO, please set it back to UNCONFIRMED once requested
informations are provided.
Best regards. JBF
Hi Jean-Baptiste, it is the Gnome 3 Adwaita theme
(In reply to Gerry from comment #5)
> Hi Jean-Baptiste, it is the Gnome 3 Adwaita theme
Ok, did not see that your Ubuntu is Ubuntu Gnome, mine is Ubuntu Unity.
Best regards. JBF
Build ID: ec2abbca3d9befc4192452555a9433d267a47d58
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: gtk3;
Locale: nl-BE (en_US.UTF-8); Calc: group
Moving to NEW as per comment 7.
on Ubuntu 17.04 with Ambiance, dropdown buttons are slightly bigger in gtk3 than in gtk, but not as much as displayed on the screenshots.
Build ID: a19dc104ec008f0bb44676d63d4764c6d7442a0d
CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3;
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Too big vs what ? Too big vs gtk2 isn't a bug as such, too big vs native gtk3 would be a bug, so the issue is the drop down button area is larger than those of a native gtk3 application ?
Created attachment 135661 [details]
drop-down list height
I made screenshot of the two difference
maybe this helps to understand the problem
(In reply to Xavier Van Wijmeersch from comment #10)
> Created attachment 135661 [details]
> drop-down list height
> I made screenshot of the two difference
> maybe this helps to understand the problem
Is it the same in other applications with gtk3 or is it different ?
I did a build off a gtk2 homebuild LO v6.0.0 and yes there is a difference
Created attachment 135675 [details]
drop-down list with gtk2
(In reply to Caolán McNamara from comment #9)
> Too big vs what ? Too big vs gtk2 isn't a bug as such, too big vs native
> gtk3 would be a bug, so the issue is the drop down button area is larger
> than those of a native gtk3 application ?
Thanks Caolán for looking into this bug. IMHO, the buttons are too big in following ways:
(1) They look too big, I mean unesthetically big (please look at the screenshot)
(2) As far as I see, they are also bigger than in some other GTK3 applications. Please see this glade screenshot: https://glade.gnome.org/images/glade-main-page.png They seem to be substantially narrower here.
(3) They are certainly much bigger than in gtk2. (if you compare both screenshots).
LibreOffice is just following the theme. Adwaita likes its widgets big; just look at any other application that uses GTK+ 3. (Which makes this report NOTOURBUG by definition.) It’s just the way it was designed.
You can make the widgets more compact by 1) editing the theme’s CSS or 2) switching to any other theme, such as Numix or one of those Ambiance derivatives, for example. You’ll see how everything becomes saner-sized.
W.r.t. Adwaita’s GTK+ 2 theme, that is just a PNG-based hack they came up with, which has never looked quite proper but released because people complained that Clearlooks didn’t match the look of Adwaita for non-GTK+ 3 software. So I wouldn’t regard that as the benchmark against which to compare the rest. But anyway, it’s GNOME’s problem, not ours, that GTK+ 2 and 3 don’t match more closely.
@Adolfo: Thanks for the information. Indeed, it depends on the GTK3 theme. With Numix the drop down buttons look much better. Adwaita as default Gnome3 theme seems to be not good for LibreOffice's look. Still ugly with Adwaita.
I agree that it is NOTABUG.