Bug 476814 - Clock widget time zones button can't open specific systemsettings page
Summary: Clock widget time zones button can't open specific systemsettings page
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.27.80
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-11-11 00:17 UTC by iodreamify
Modified: 2023-11-13 00:38 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description iodreamify 2023-11-11 00:17:50 UTC
SUMMARY
If you add a couple time zones so that the clock panel widget displays the extra timezones column clicking the "Switch..." button will fail to open the specific time zones systemsettings page. as far as i can tell this works on x11 but not wayland, or if this is a more recent bug, doesn't work on qt6 

journalctl shows: 
Nov 11 00:16:02 neon systemd[1190]: Started System Settings - System Settings.
Nov 11 00:16:03 neon plasmashell[3448]: libEGL warning: egl: failed to create dri2 screen
Nov 11 00:16:03 neon plasmashell[3448]: warning: queue 0x56457954a170 destroyed while proxies still attached:
Nov 11 00:16:03 neon plasmashell[3448]:   wl_display@1 still attached
Nov 11 00:16:07 neon systemsettings[3448]: file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/ScrollablePage.qml:332: TypeError: Cannot read property 'activeFocus' of null (exception occurred during delayed function evaluation)
Nov 11 00:16:07 neon systemsettings[3448]: file:///usr/lib/x86_64-linux-gnu/qt6/qml/org/kde/kirigami/ScrollablePage.qml:332: TypeError: Cannot read property 'activeFocus' of null (exception occurred during delayed function evaluation)


STEPS TO REPRODUCE
1. Add a few time zones
2. Click on the clock panel widget
3. Click on the "Switch..." button on the left 

OBSERVED RESULT
System settings window opens on the home page

EXPECTED RESULT
System settings open on the Date & time page

Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.2.0-36-generic (64-bit)
Graphics Platform: Wayland
Comment 1 Prajna Sariputra 2023-11-13 00:25:08 UTC
I was able to reproduce this in my Neon Unstable VM, but the problem went away after an update (if updating via Discover or running `pkcon update` doesn't work try running `sudo apt dist-upgrade` instead).
Comment 2 Nicolas Fella 2023-11-13 00:38:52 UTC
https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1762 has fixed it