Bug 1226151

Summary: Missing lxqt-qtplugin and libfm-qt qt5 versions for qt5 integration in lxqt 2.0.x
Product: [openSUSE] openSUSE Tumbleweed Reporter: Brandon Bigam <brbigam>
Component: LXQtAssignee: lxqt-bugs <lxqt-bugs>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: sfalken
Version: Current   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Brandon Bigam 2024-06-10 13:47:29 UTC
LXQt 2.0.0 using qt6 is in Tumbleweed now, but a few libraries are recommended by upstream to have co-installable qt5 and qt6 versions for integration. These include lxqt-build-tools, lxqt-qtplugin, libfm-qt, and libqtxdg.

The qt5 versions of lxqt-qtplugin and libfm-qt are missing and not installable in Tumbleweed. These are the 1.4.x versions of these libraries. See the release notes here: https://lxqt-project.org/release/2024/04/15/release-lxqt-2-0-0/ section "Note for Distros."

Result: qt5 apps running within LXQt 2.0.0 on Tumbleweed are not integrated with theming and the LXQt file dialog.

Steps to reproduce:
1. Install and run LXQt 2.0.x on Tumbleweed
2. Set Appearance settings according to your preferences, and check the results in any qt6 app
3. Install and open any qt5 app, such as VLC

Actual results:
qt5 apps do not follow any theme settings set by the LXQt appearance settings, regarding qt widget style, fonts, etc. qt6 apps do follow theming.
qt5 apps use the fallback qt file dialog, while qt6 apps use LXQt file dialog.

Expected results:
qt5 apps follow the same style and font settings as qt6 apps, as set in Appearance settings. 
qt5 and qt6 apps all use the LXQt file dialog.

openSUSE Tumbleweed 2024 early June release (I found the problem Monday, June 2, at the then-current release, when LXQt 2.0 first landed in Tumbleweed) on Asus Vivobook M513I

First bug report here, please be gentle if I've missed something essential.
Comment 1 Shawn Dunn 2024-06-10 16:36:09 UTC
This is quite true.   I've just been buried in family stuff the last few months, and that doesn't look to be getting any better.   SR's will certainly be welcome to fix this, if I can't get to it.
Comment 2 Brandon Bigam 2024-06-10 16:56:00 UTC
I wouldn't know how to prepare or build this, but I'd test binaries from a staging repo. (I'm currently using qps from the X11:lxqt repo, and it works just fine.)

Sorry to hear about the family matters.
Comment 3 Shawn Dunn 2024-06-10 21:29:44 UTC
Starting the work on this, just pushed the Qt5 version of lxqt-build-tools to X11:LXQt

https://build.opensuse.org/request/show/1179863
Comment 4 Shawn Dunn 2024-06-11 01:30:42 UTC
Ok, you should be able to install:

libfm-qt5
lxqt-qt5plugin

From X11:LXQt shortly, please test them, and let me know if they work or not.

If you don't already have it (and you should, at least it's there in the fresh install I did in a VM to test with), you probably also need:

libqt5xdg
Comment 5 Brandon Bigam 2024-06-11 01:57:32 UTC
Hey, that was fast! Good work!

Yes, I can confirm I have the co-installed libs in a working LXQt 2.0.0 setup on Tumbleweed with the X11:LXQt repo. I can confirm that theming and the LXQt file dialog are working equally in qt5 and qt6 apps now.

As far as I'm concerned, this is solved as soon as it hits a snapshot.

Related suggestion: I think that these two libs should probably be added to the lxqt pattern. Otherwise, they won't be installed by default, and many users won't know why qt5 apps don't follow user theming. Yes, libqt5xdg was automatically pulled in.

Thanks!
Comment 6 Shawn Dunn 2024-06-11 04:41:55 UTC
Yeah, I'll get them added to to the pattern and push that along with the packages to :Factory in the morning.
Comment 7 Shawn Dunn 2024-06-11 14:13:18 UTC
SR's submitted to :Factory

1180018
1180019
1180020
1180022
Comment 8 OBSbugzilla Bot 2024-06-11 14:45:03 UTC
This is an autogenerated message for OBS integration:
This bug (1226151) was mentioned in
https://build.opensuse.org/request/show/1180018 Factory / patterns-lxqt
Comment 9 Shawn Dunn 2024-06-17 17:43:39 UTC
Should be all fixed in the patterns in the next snapshot

https://build.opensuse.org/request/show/1180018