Created attachment 191981 [details] Screenshot STEPS TO REPRODUCE 1. Have a weather forecast with a warning 2. Open the warning tab 3. Click on the (I) button OBSERVED RESULT Nothing happens. ``` plasmashell[3461]: "Could not convert argument 0 from undefined to QUrl" plasmashell[3461]: "expression for onClicked@qrc:/qt/qml/plasma/applet/org/kde/plasma/weather/NoticesView.qml:64" plasmashell[3461]: qrc:/qt/qml/plasma/applet/org/kde/plasma/weather/NoticesView.qml:64: TypeError: Passing incompatible arguments to C++ functions from JavaScript is not allowed. ``` is logged. EXPECTED RESULT ? SOFTWARE/OS VERSIONS Operating System: Fedora Linux 44 KDE Plasma Version: 6.6.4 KDE Frameworks Version: 6.25.0 Qt Version: 6.10.3 Kernel Version: 6.19.14-200.fc43.x86_64 (64-bit) Graphics Platform: Wayland
I can reproduce this on Plasma built from git-master
So the problem is it wants to open a URL, but here there is none. I see in warnings.cpp that it's possible for this URL to be unset, so in this case we should hide the button too. It looks like we're trying to with `visible: model.info !== ""`, but that fails because it's not an empty string, it's an empty QVariant, which works out to "undefined", which we're not checking for.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/1115
Git commit d13f1474a4c77c5ec77f3b2f1e689309878f397d by Nate Graham. Committed on 20/08/2026 at 15:06. Pushed by ngraham into branch 'master'. applets/weather: properly hide info button when it won't work It's checking for model.info being an empty string, but it's not a string, it's a variant. An empty variant is undefined, so we have to check for that too. FIXED-IN: 6.6.7 M +1 -1 applets/weather/qml/NoticesView.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/d13f1474a4c77c5ec77f3b2f1e689309878f397d
Git commit df019ab332390cee434aa756faf8624d9cc2d58c by Nate Graham. Committed on 20/08/2026 at 15:21. Pushed by ngraham into branch 'Plasma/6.7'. applets/weather: properly hide info button when it won't work It's checking for model.info being an empty string, but it's not a string, it's a variant. An empty variant is undefined, so we have to check for that too. FIXED-IN: 6.6.7 (cherry picked from commit d13f1474a4c77c5ec77f3b2f1e689309878f397d) Co-authored-by: Nate Graham <nate@kde.org> M +1 -1 applets/weather/qml/NoticesView.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/df019ab332390cee434aa756faf8624d9cc2d58c
Git commit cd226110a94eafa6510892db0cf712c28537e5c8 by Nate Graham. Committed on 20/08/2026 at 15:21. Pushed by ngraham into branch 'Plasma/6.6'. applets/weather: properly hide info button when it won't work It's checking for model.info being an empty string, but it's not a string, it's a variant. An empty variant is undefined, so we have to check for that too. FIXED-IN: 6.6.7 (cherry picked from commit d13f1474a4c77c5ec77f3b2f1e689309878f397d) Co-authored-by: Nate Graham <nate@kde.org> M +1 -1 applets/weather/qml/NoticesView.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/cd226110a94eafa6510892db0cf712c28537e5c8