Bug 1326055

Summary: Applications using Qt 5 are not displaying spin box controls and checked menu items properly.
Product: [Fedora] Fedora Reporter: Sumit Bhardwaj <sumitkbhardwaj>
Component: adwaita-qtAssignee: Martin Bříza <mbriza>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 24CC: jgrulich, kparal, mbriza, mclasen, robatino, sumitkbhardwaj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: RejectedBlocker
Fixed In Version: adwaita-qt-0.97-1.fc24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-06 21:48:58 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:
Embargoed:
Attachments:
Description Flags
Screenshot showing improperly sized spin boxes.
none
Screenshot showing improperly checked menu items.
none
Screenshot showing QT version in use. none

Description Sumit Bhardwaj 2016-04-11 16:35:54 UTC
Created attachment 1146046 [details]
Screenshot showing improperly sized spin boxes.

Description of problem:
Some applications like qbittorrent, built against qt5 are displaying two anomalies when opened under Gnome using the adwaita-qt theme:

1. The spin boxes are not displaying the text box control with appropriate width, most of the text is hidden. Resizing of parent dialog has no effect.

2. Menu items which can be checked/unchecked show up as checked all the time, although the value changes after each click, i.e. toggle works internally, but improper indication is shown on GUI.

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

How reproducible:
By opening any dialog in a qt5 application containing spin box controls and opening any menu which has items that can be checked/unchecked.

Steps to Reproduce:

For example purpose, these steps use qbittorrent application's latest version in fedora repos.

1. Open the options dialog of qbittorrent and go to Connections. All the spin box controls do not display the text box part with sufficient width.
2.Right click on any added torrent in the main window and check the "Download in squential order" or "Download first and last pieces first" menu items. The items are always checked regardless of the toggle.


Actual results:
The spin boxes show their text box components with inadequate size, text is unreadable. The menu items that can be checked/unchecked are always displayed checked regardless of their toggle state.

Expected results:
The spin boxes should show the text box component properly sized and the checkable menu items should show check marks correctly according to their toggle state.

Additional info:

Comment 1 Sumit Bhardwaj 2016-04-11 16:37:01 UTC
Created attachment 1146047 [details]
Screenshot showing improperly checked menu items.

Comment 2 Sumit Bhardwaj 2016-04-11 16:37:29 UTC
Created attachment 1146048 [details]
Screenshot showing QT version in use.

Comment 3 Fedora Blocker Bugs Application 2016-04-11 16:40:06 UTC
Proposed as a Blocker for 24-beta by Fedora user krazyabouttechnology using the blocker tracking app because:

 The adwaita-qt theme is part of the core Fedora Workstation experience, so that QT applications run and display well within the Gnome Environment. The improperly displayed controls are making some parts of the affected applications partially unusable or their UI confusing.

Comment 4 Kamil Páral 2016-04-11 17:18:49 UTC
Discussed at today's blocker review meeting [1]. Voted as RejectedBlocker (Beta) - this clearly does not violate any of the Beta criteria, nothing in those depends on Qt apps running on Workstation

[1] https://meetbot-raw.fedoraproject.org/fedora-blocker-review/2016-04-11/

Comment 5 Sumit Bhardwaj 2016-04-11 17:23:29 UTC
Ok, but it seems a bit serious to me. Will test some more QT apps and post here if this affects a number of applications. Blocker or not, F24 should not be released with this bug, if its not application specific.

Comment 6 Martin Bříza 2016-04-12 10:03:36 UTC
Thanks for the report. I thought I fixed this a long time ago, hmm. We'll take a look at it.

Comment 7 Fedora Update System 2016-12-14 14:10:37 UTC
adwaita-qt-0.97-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-20b4dc23dc

Comment 8 Fedora Update System 2016-12-15 05:04:18 UTC
adwaita-qt-0.97-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-20b4dc23dc

Comment 9 Fedora Update System 2017-01-06 21:48:58 UTC
adwaita-qt-0.97-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.