Bug 1218288 - liblxqt needed for brightness control, not installed by default
Summary: liblxqt needed for brightness control, not installed by default
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: LXQt (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Shawn Dunn
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-21 04:39 UTC by Bryan Gardiner
Modified: 2024-01-27 03:35 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Gardiner 2023-12-21 04:39:13 UTC
Hi there,

I have a basic Tumbleweed install and selected LXQt in the installer.  There is a display brightness control that can be added to the LXQt panel, however attempting to drag its slider results in the whole panel crashing (and restarting) with an error in .xsession-errors:

> Cannot run program lxqt-backlight_backend: No such file or directory

This program is part of the liblxqt binary package, great, so it should be installed by default, but I can't see why it's not.

Information for package liblxqt1: (installed)
---------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : liblxqt1
Version        : 1.4.0-1.1
Recommends     : [2]
    liblxqt-lang
    liblxqt >= 1.4.0
Provides       : [4]
    liblxqt.so.1()(64bit)
    liblxqt
    liblxqt1 = 1.4.0-1.1
    liblxqt1(x86-64) = 1.4.0-1.1

Information for package liblxqt: (not installed)
--------------------------------
Repository     : openSUSE-Tumbleweed-Oss
Name           : liblxqt
Version        : 1.4.0-1.1
Provides       : [3]
    liblxqt = 1.4.0-1.1
    liblxqt(x86-64) = 1.4.0-1.1
    liblxqt-qt5 = 1.4.0

I would expect the 'liblxqt >= 1.4.0' Recommends from liblxqt1 not to match the package's own unversioned 'liblxqt' Provides and instead pull in the proper liblxqt package, but that's not what's happening.  What am I not understanding here?

'zypper inr' doesn't try to install liblxqt either.

The workaround is to install liblxqt manually of course :).
Comment 1 OBSbugzilla Bot 2023-12-21 13:35:05 UTC
This is an autogenerated message for OBS integration:
This bug (1218288) was mentioned in
https://build.opensuse.org/request/show/1134436 Factory / patterns-lxqt
https://build.opensuse.org/request/show/1134437 Factory / lxqt-panel
Comment 2 Michael Vetter 2024-01-08 15:42:34 UTC
SRs were accepted. Please report back if you still have the issue.
Comment 3 Bryan Gardiner 2024-01-12 07:25:09 UTC
Hello and thanks for the updates, however the added "Requires: liblxqt" is satisfied by liblxqt1's "Provides: liblxqt"...  So the liblxqt *package* never gets pulled in.
Comment 4 Shawn Dunn 2024-01-12 17:23:13 UTC
https://build.opensuse.org/request/show/1138375

This should fix the issue.   There's not really a good reason to not have a hard require to make sure both are installed, due to the construction of this package.

At worst case, forcing the installation of liblxqt in all cases adds the grand total of 14.8KB of disk space.
Comment 5 Shawn Dunn 2024-01-24 19:42:58 UTC
This should be fixed in the latest Tumbleweed Snapshots
Comment 6 Bryan Gardiner 2024-01-25 04:31:02 UTC
Yes, it works now, thanks so much.
Comment 7 OBSbugzilla Bot 2024-01-27 03:35:02 UTC
This is an autogenerated message for OBS integration:
This bug (1218288) was mentioned in
https://build.opensuse.org/request/show/1141865 Backports:SLE-15-SP6 / liblxqt
https://build.opensuse.org/request/show/1141877 Backports:SLE-15-SP6 / lxqt-panel
https://build.opensuse.org/request/show/1141888 Backports:SLE-15-SP6 / patterns-lxqt