Bug 1375016

Summary: Scrollbars gone, file save dialogs without file name field, menus compressed after upgrade to Fedora 24
Product: [Fedora] Fedora Reporter: Basic Six <drbasic6>
Component: gtk3Assignee: Matthias Clasen <mclasen>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: cosimo.cecchi, drbasic6, mclasen, paul, rdieter
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 17:18:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Broken file save dialog without file name field, no scrollbars, no slashes in path
none
Missing scrollbars in LibreOffice, compressed menu
none
Screenshot: gnome-tweak-tool (broken GTK theme)
none
Screenshot: gnome-tweak-tool (GTK_THEME=Adwaita) none

Description Basic Six 2016-09-11 19:27:27 UTC
Created attachment 1199969 [details]
Broken file save dialog without file name field, no scrollbars, no slashes in path

Description of problem:

After upgrading from Fedora 23 to Fedora 24, the scrollbars are gone in GTK applications like LibreOffice (see attached screenshot), Gedit or Evince. Scrolling was already less convenient before, since the arrow buttons were removed, but now they appear to be completely gone. Scrolling using the up/down arrow keys does not always work reliably (LibreOffice) and not every computer has a wheel.

The file save dialog has apparently lost its text field for the file name, see attached screenshot.

Also, the menus look compressed, for example in LibreOffice. In the same way, the location bar of the file save dialog is compressed and basically broken, as it shows the whole path, consisting of several directories (4 in the screenshot) as one single directory, without slashes.



Version-Release number of selected component (if applicable):

Fedora 24.



How reproducible:

Looks like most GTK guis are affected.



Steps to Reproduce:
1. Use Fedora 23, no problems.
2. Upgrade to Fedora 24.



Actual results:

See screenshots. The missing scrollbars are a major problem, as scrolling isn't exactly an optional feature.



Expected results:

Everything should work just as it did in Fedora 23.



Additional info:

Comment 1 Basic Six 2016-09-11 19:36:05 UTC
Created attachment 1199970 [details]
Missing scrollbars in LibreOffice, compressed menu

Screenshot: Missing scrollbars in LibreOffice 5.1.5.2.

Comment 2 Rex Dieter 2016-09-11 19:40:13 UTC
Are you using some non-default gtk style/theme?

Comment 3 Basic Six 2016-09-24 23:25:07 UTC
Maybe some style/theme settings were changed in the past (long before the upgrade to Fedora 24). In gnome-tweak-tool, "Adwaita (default)" is selected where it says "GTK+".

(Currently running Cinnamon, but Cinnamon's theme settings dialog (cinnamon-settings, Themes) does not seem to show the selected GTK+ theme "Adwaita".)

Comment 4 Basic Six 2016-11-12 13:48:04 UTC
Switched to KDE and found the solution in the Arch wiki, quoting:
Warning: Since GTK3 was updated to 3.20.x, there are several broken themes. Including Breeze, the recommended theme for integration between KDE and GTK styles. Some of the issues are invisible scroll bars, no text highlight on selection, invisible checkboxes, among others. As a workaround while the themes are upgraded you can do the following after installing kde-gtk-config, go to System Settings -> Application Style -> GNOME Application Style (GTK) and choose in the Select a GTK3 Theme dropdown choose the Default theme, also make sure Show icons in GTK buttons and Show icons in GTK are checked. For further information on the compatibility issue above visit the GTK3 3.20 upgrade thread in the Arch Forums.
https://wiki.archlinux.org/index.php/firefox#KDE_integration

GTK themes like Breeze are broken. However, in this case, I have to change the GTK2 theme in the KDE settings (systemsettings5 - Application Style - GNOME Application Style (GTK) - Select a GTK2 Theme) to fix applications like Firefox. If it's set to Breeze, then Firefox and other applications look horribly broken, as described above. Unfortunately, gnome-tweak-tool does not seem to have this option.

If a broken theme is configured, lots of theme errors are shown if a GTK application is run in a terminal:
(firefox:31609): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1660:29: The :insensitive pseudo-class is deprecated. Use :disabled instead.

A manual fix would be to run an affected application with the GTK_THEME variable set to another theme, for example:
$ GTK_THEME=Adwaita firefox

Comment 5 Basic Six 2016-11-12 13:50:41 UTC
Created attachment 1220012 [details]
Screenshot: gnome-tweak-tool (broken GTK theme)

Comment 6 Basic Six 2016-11-12 13:58:32 UTC
Created attachment 1220013 [details]
Screenshot: gnome-tweak-tool (GTK_THEME=Adwaita)

Manual fix: GTK_THEME=Adwaita

Comment 7 Fedora End Of Life 2017-07-25 22:59:05 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-08-08 17:18:05 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.