Bug 494311 - Brightness and Color applet does not appear in tray if powerdevil isn't running due to undefined symbol "ddca_stop_watch_displays"
Summary: Brightness and Color applet does not appear in tray if powerdevil isn't runni...
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Brightness and Color widget (show other bugs)
Version: 6.2.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-08 21:15 UTC by postix
Modified: 2024-10-11 09:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot (199.46 KB, image/png)
2024-10-08 21:15 UTC, postix
Details
Screenshot 2 (1.47 MB, image/png)
2024-10-10 12:14 UTC, postix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description postix 2024-10-08 21:15:54 UTC
Created attachment 174546 [details]
Screenshot

SUMMARY

Just upgraded to 6.2.0 from 6.1.5 on Tumbleweed and rebooted. The night light applet vanished from the system tray and I had to re-add it as a widget. Now it's separate from the system tray and it has no titlebar when opening it.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20241007
KDE Plasma Version: 6.2.0
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.11.2-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Natalie Clarius 2024-10-10 04:00:28 UTC
Does clicking on the down arrow next to "de" not show "Brightness and Color"? That's the widget where night light should be.
Comment 2 postix 2024-10-10 12:14:55 UTC
Created attachment 174616 [details]
Screenshot 2

On Fedora 40 with Plasma 6.2.0 (upgraded from 6.1.5) it's there, but not for my Tumbleweed installation, even when I set it to "Always show".
I've also purged Plasma cache and rebooted, but it's still not visible.

One difference between F40 and TW is at least Qt6.7.2 vs Qt6.7.3 if that should be relevant.
Comment 3 postix 2024-10-10 14:04:32 UTC
Another hint, powerdevil fails to start on the TW machine since 6.2:

```
systemd: Starting Powerdevil...
org_kde_powerdevil[2968]: /usr/libexec/org_kde_powerdevil: symbol lookup error: /lib64/libpowerdevilcore.so.2: undefined symbol: ddca_stop_watch_displays
systemd: plasma-powerdevil.service: Main process exited, code=exited, status=127/n/a
systemd: plasma-powerdevil.service: Failed with result 'exit-code'.
systemd: Failed to start Powerdevil.
systemd: plasma-powerdevil.service: Scheduled restart job, restart counter is at 1.
```
Comment 4 postix 2024-10-10 14:05:37 UTC
```
systemsettings[9413]: kf.coreaddons: "Could not load plugin from /usr/lib64/qt6/plugins/plasma/kcms/systemsettings/kcm_powerdevilprofilesconfig.so: Could not load library /usr/lib64/qt6/plugins/plasma/kcms/systemsettings/kcm_powerdevilprofilesconfig.so: /lib64/libpowerdevilcore.so.2: undefined symbol: ddca_stop_watch_displays"
```
Comment 5 postix 2024-10-10 14:13:45 UTC
ddcutil is version 2.1.4-1.1 on TW
Comment 6 postix 2024-10-10 14:16:43 UTC
On Fedora 40 it's 2.1.2
Comment 7 postix 2024-10-10 14:20:56 UTC
I think from a UX POV it would be good if the applet were still shown, with an error hint when opened, that it requires powerdevil being running.
Comment 8 Nate Graham 2024-10-10 20:11:48 UTC
Probably a sane idea. Still, the original issue is pretty clearly a distro packaging bug. Can you open a new bug report for the requested improvement in error logging? Thanks!