Bug 520144 - Network manager applet breaks when disabled before login, and re-enabled afterwards
Summary: Network manager applet breaks when disabled before login, and re-enabled afte...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (other bugs)
Version First Reported In: 6.6.90
Platform: Gentoo Packages Linux
: HI normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2026-05-14 11:33 UTC by kostadinshishmanov
Modified: 2026-05-26 20:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.7.0
Sentry Crash Report:


Attachments
screenshot showing the issue (37.13 KB, image/png)
2026-05-14 11:33 UTC, kostadinshishmanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kostadinshishmanov 2026-05-14 11:33:55 UTC
Created attachment 192270 [details]
screenshot showing the issue

DESCRIPTION

If I disable the network manager applet and sign out, it is completely broken if I enable it after signing in.

Bisect leads to https://invent.kde.org/plasma/plasma-nm/-/commit/d5049d7f0801a0f72bead96b2e6c7213d5635909

STEPS TO REPRODUCE
1. Remove Network Manager applet from the tray
2. Sign out from user account
3. Sign into user account
4. Add the applet

OBSERVED RESULT

qrc:/qt/qml/plasma/applet/org/kde/plasma/networkmanagement/main.qml:32:51: Cannot assign object of type "Kirigami.Action" to property of type "Action_QMLTYPE_899*" as the former is neither the same as the latter nor a sub-class of it.


SOFTWARE/OS VERSIONS
Operating System: Gentoo 2.18
KDE Plasma Version: 6.6.90
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.0
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX 6800
Comment 1 Nate Graham 2026-05-14 12:25:17 UTC
When you say, "Remove Network Manager applet from the tray" can you be specific about how you're doing this? Are you removing a standalone applet, or setting the one in the System Tray to "Never show (disabled)"?
Comment 2 kostadinshishmanov 2026-05-14 12:29:28 UTC
(In reply to Nate Graham from comment #1)
> When you say, "Remove Network Manager applet from the tray" can you be
> specific about how you're doing this? Are you removing a standalone applet,
> or setting the one in the System Tray to "Never show (disabled)"?

As in setting it to "Never show (disabled)"
Comment 3 Nate Graham 2026-05-14 13:53:07 UTC
Thanks, I can reproduce the issue.
Comment 4 Bug Janitor Service 2026-05-18 09:21:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-nm/-/merge_requests/569
Comment 5 Bug Janitor Service 2026-05-18 09:30:45 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/6606
Comment 6 Tobias Fella 2026-05-20 08:59:19 UTC
Ultimately this is a qt bug, reported in https://qt-project.atlassian.net/browse/QTBUG-146886
Comment 7 Nate Graham 2026-05-26 19:48:04 UTC
Git commit d20cb7598fc3203257ee4ad36c21899dc58bdc4a by Nate Graham.
Committed on 26/05/2026 at 19:47.
Pushed by ngraham into branch 'Plasma/6.7'.

Applet: Work around qml bug that prevents loading in certain circumstances

When disabling the applet, restarting plasmashell, and enabling the applet again,
it fails to load with an error about mismatching types. This error is nonsense,
caused by a bug in the qml engine. Work around it by relaxing the specified type.
FIXED-IN: 6.7.0


(cherry picked from commit de6d8c90d4d4a575bc5f3a5814c623a9a5288d9d)

fcc86afe Applet: Work around qml bug that prevents loading in certain circumstances

Co-authored-by: Tobias Fella <fella@posteo.de>

M  +3    -1    applets/clipboard/qml/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/d20cb7598fc3203257ee4ad36c21899dc58bdc4a
Comment 8 Nate Graham 2026-05-26 19:48:55 UTC
(was actually fixed by Tobias fella, but he didn't credit due to some email address mismatch issue)
Comment 9 Nate Graham 2026-05-26 20:02:29 UTC
Git commit de6d8c90d4d4a575bc5f3a5814c623a9a5288d9d by Nate Graham, on behalf of Tobias Fella.
Committed on 26/05/2026 at 19:45.
Pushed by ngraham into branch 'master'.

Applet: Work around qml bug that prevents loading in certain circumstances

When disabling the applet, restarting plasmashell, and enabling the applet again,
it fails to load with an error about mismatching types. This error is nonsense,
caused by a bug in the qml engine. Work around it by relaxing the specified type.
FIXED-IN: 6.7.0

M  +3    -1    applets/clipboard/qml/main.qml

https://invent.kde.org/plasma/plasma-workspace/-/commit/de6d8c90d4d4a575bc5f3a5814c623a9a5288d9d