Bug 1332103 - Qt5 applications (quassel-client, qdbusviewer-qt5, lyx) fail to start in Gnome
Summary: Qt5 applications (quassel-client, qdbusviewer-qt5, lyx) fail to start in Gnome
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qgnomeplatform
Version: 24
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-02 08:45 UTC by redhat
Modified: 2016-06-18 18:42 UTC (History)
10 users (show)

Fixed In Version: qgnomeplatform-0.2-2.20160531git.fc24
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-18 18:42:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Output of quasselclient (1.19 KB, text/x-emacs-lisp)
2016-05-02 08:45 UTC, redhat
no flags Details

Description redhat 2016-05-02 08:45:21 UTC
Created attachment 1152883 [details]
Output of quasselclient

Description of problem:
Starting quasselclient does not work

Version-Release number of selected component (if applicable):
quassel-common-0.12.4-1.fc24.noarch
quassel-client-0.12.4-1.fc24.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Install quassel-client
2. Start it (from DE or shell)

Actual results:
Critical error log output, process does not stop but also does not show a UI

Expected results:
Quassel being started.


Additional info:
Does work on same system/environment with quassel-client-0.12.3-4.fc23.x86_64 package.

Comment 1 Christian Dersch 2016-05-02 09:41:35 UTC
Did you try with a clean new configuration? Works fine here (0.12.4 @both F23 and 24), so we need more information.

Comment 2 Christian Dersch 2016-05-02 09:43:44 UTC
FYI: @Fedora 24 we moved to Qt5 builds (23 still uses Qt 4). A Qt5 build of 0.12.3 for F24 is available here https://bodhi.fedoraproject.org/updates/FEDORA-2016-fca58b1a33

So if you still get the issue with a new configuration, please try this one. Then we can see it it is Qt5 related or a possible issue with the new version 0.12.4.

Comment 3 redhat 2016-05-02 11:16:09 UTC
Alright this is not related to quassel itself but qt5, as the same error messages do pop up with the qt5 build of 0.12.3 and another qt5 app I just installed for testing (qdbusviewer-qt5).

The problem occurs in GNOME on Xorg and GNOME on Wayland, but it does not occur on Weston+Xwayland. So I guess this bug should be refiled to some qt5 component?

Comment 4 Christian Dersch 2016-05-02 12:49:15 UTC
Changed component to qt5-qtbase as this seems to be a more general issue.

Comment 5 redhat 2016-06-04 13:15:01 UTC
I was able to trace this down a bit more.

The problem happens when running gnome, qgnomeplatform is installed and adwaita-qt5 is not installed. It does not occur when qgnomeplatform is not installed or both are installed. 

I guess qgnomeplatform package should have a dependency on adwaita-qt5?

Comment 6 Rex Dieter 2016-06-04 13:57:51 UTC
I hard dep may not be needed (maybe soft Recommends: adwaita-qt5 ?), but I'm not sure, all I see in qgnoemplatform code wrt styles is:

    QStringList styleNames;
    styleNames << QStringLiteral("adwaita")
               << QStringLiteral("gtk+")
               << QStringLiteral("fusion")
               << QStringLiteral("windows");
    m_hints[QPlatformTheme::StyleNames] = styleNames;

so while it apparently prefers adwaita, I'd expect those others listed could get used if it's not available.

Comment 7 redhat 2016-06-04 14:33:08 UTC
Is any of the other styles packaged in Fedora 24 (or planned to be)?
As far as I can tell, we currently have packages for adwaita, cleanlook, motif, plastique, breeze, oxygen and qtcurve.

At least we should somehow ensure that the user is not confronted with applications not being started

Comment 8 Rex Dieter 2016-06-04 14:47:13 UTC
The other styles are built-in (to Qt5), and should always be available

Comment 9 Fedora Update System 2016-06-06 08:36:15 UTC
qgnomeplatform-0.2-2.20160531git.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ba4933dd56

Comment 10 Jan Grulich 2016-06-06 08:38:12 UTC
I added dependency on adwaita-qt5, but it should still work when adwaita theme is not present, I'll need to investigate this.

Comment 11 Fedora Update System 2016-06-06 17:57:36 UTC
qgnomeplatform-0.2-2.20160531git.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-ba4933dd56

Comment 12 Fedora Update System 2016-06-18 18:42:15 UTC
qgnomeplatform-0.2-2.20160531git.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.