Bug 476017 - Selecting anything on sub-pages does nothing
Summary: Selecting anything on sub-pages does nothing
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_regionandlang (show other bugs)
Version: master
Platform: Neon Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-10-23 20:26 UTC by guimarcalsilva
Modified: 2023-10-24 18:03 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 guimarcalsilva 2023-10-23 20:26:22 UTC
SUMMARY
Selecting one of the language options on kcm_clock does nothing. For instance:
STEPS TO REPRODUCE
1. Click on Currency
2. Select a random country other than the first item in the list

OBSERVED RESULT
Nothing happens

The terminal says: qrc:/kcm/kcm_regionandlang/main.qml:282: ReferenceError: localeName is not defined

EXPECTED RESULT
Select the country and go back to the main page so it can be applied.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Comment 1 hanyoung 2023-10-24 14:36:45 UTC
By kcm_clock did you mean kcm_regionandlang?
Comment 2 guimarcalsilva 2023-10-24 14:44:54 UTC
(In reply to hanyoung from comment #1)
> By kcm_clock did you mean kcm_regionandlang?

Exactly. I was looking at another bug in kcm_clock while searching for similar issues and that made me confuse both while writing. XD
Comment 3 hanyoung 2023-10-24 14:48:12 UTC
Well, it's working for me on KDE 5.27.80. Are you sure you're not on an earlier version of KDE which we have this bug: https://bugs.kde.org/show_bug.cgi?id=460416
Comment 4 guimarcalsilva 2023-10-24 15:33:02 UTC
(In reply to hanyoung from comment #3)
> Well, it's working for me on KDE 5.27.80. Are you sure you're not on an
> earlier version of KDE which we have this bug:
> https://bugs.kde.org/show_bug.cgi?id=460416

I'm on Neon Unstable with the latest updates. It's a different issue. Clicking on an option doesn't even take me to the main page, it just doesn't select anything.
Comment 5 Nate Graham 2023-10-24 17:58:20 UTC
Can reproduce with today's git master. When I click on the list item, there's an error printed to the journal log:

qrc:/kcm/kcm_regionandlang/main.qml:282: ReferenceError: localeName is not defined
Comment 6 Nate Graham 2023-10-24 18:03:41 UTC
Git commit 1b52d17ea51a4d6d428d2588e1dcc2a7d096f70e by Nate Graham.
Committed on 24/10/2023 at 20:02.
Pushed by ngraham into branch 'master'.

kcms/region_language: fix reference error causing selecting stuff to fail

M  +9    -9    kcms/region_language/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/1b52d17ea51a4d6d428d2588e1dcc2a7d096f70e