Bug 503877 - "Error loading QML file." when opening kcm_tablet
Summary: "Error loading QML file." when opening kcm_tablet
Status: REOPENED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_tablet (other bugs)
Version First Reported In: 6.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
: 504363 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-05-07 08:57 UTC by dmatteo002
Modified: 2025-10-07 15:28 UTC (History)
11 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 dmatteo002 2025-05-07 08:57:52 UTC
SUMMARY
Cannot load kcm_tablet page of system setting.

STEPS TO REPRODUCE
1.  Open system settings
2. Open kcm_tablet ("Drawing tablet" page)


OBSERVED RESULT
Error loading QML file.
qrc:/kcm/kcm_tablet/main.qml:221 Type StylusTab unavailable
qrc:/kcm/kcm_tablet/StylusTab.qml:111 Type PressureCurve unavailable
qrc:/kcm/kcm_tablet/PressureCurve.qml:194 ".onActiveValueChanged" is not available due to component versioning.

EXPECTED RESULT
The page load the settings.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13.0
Qt Version: 6.9.0
Kernel Version: 6.14.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7735HS with Radeon Graphics
Memory: 14,9 GiB of RAM
Graphics Processor: AMD Radeon 680M

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2025-05-07 14:59:53 UTC
FWIW, cannot reproduce on git master, also with Qt 6.9
Comment 2 TraceyC 2025-05-07 15:09:49 UTC
I can't reproduce on git-master either, with Qt 6.8.3
Comment 3 Joshua Goins 2025-05-07 15:35:17 UTC
I have seen this happening on Fedora as well, but no clue as to why.
Comment 4 TraceyC 2025-05-07 20:10:54 UTC
I'm not able to reproduce on Fedora 42 or KDE Neon Testing
Comment 5 dmatteo002 2025-05-07 20:43:07 UTC
Thank you very much. After some other test:
1. on "Arch" it stopped having the problem
2. on "Kde Neon unstable" before it crashed so i couldn't test but now it work after an update.
I guess it fixed itself (not sure why, because i rebooted multiple times before submitting the bug report).

Marking as Resolved. I'll reopen if needed.
Comment 6 Antonio Rojas 2025-05-17 04:45:31 UTC
*** Bug 504363 has been marked as a duplicate of this bug. ***
Comment 7 elman 2025-06-22 21:51:58 UTC
I very much see this error on 6.4.0:

Error loading QML file.

qrc:/kcm/kcm_tablet/main.qml:221 Type StylusTab unavailable
qrc:/kcm/kcm_tablet/StylusTab.qml:358 Type PressureCurve unavailable
qrc:/kcm/kcm_tablet/PressureCurve.qml:194 ".onActiveValueChanged" is not available due to component versioning.

Operating System: EndeavourOS 
KDE Plasma Version: 6.4.0
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.2-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 8 dmatteo002 2025-06-23 08:48:00 UTC
Cannot reproduce on vanilla arch (just updated). If you have any extra step or something of note to reproduce it, I'll try again. 

From my experience, this bug normally happens when the build is dirty or some component is outdated with respect to the other. So it will probably disappear with your next update.

Maybe someone else can reproduce it. 
In the case nobody can reproduce it on other distro, you may have more luck reporting the bug to the distro (endevourOS in this case).
Comment 9 Joshua Goins 2025-06-23 11:24:21 UTC
> In the case nobody can reproduce it on other distro, you may have more luck reporting the bug to the distro (endevourOS in this case).

This bug isn't specific to Arch, I've even seen it Fedora. It's most likely a QTBUG at this point, and I wouldn't close it until either someone reports it upstream or has shown it doesn't happen. But they just reported it from 6.9.1, so it's still an issue.
Comment 10 elman 2025-06-25 02:02:58 UTC
Update: this is fixed for me on 6.4.1

Operating System: EndeavourOS
KDE Plasma Version: 6.4.1
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Comment 11 TraceyC 2025-06-25 16:56:03 UTC
(In reply to elman from comment #10)
> Update: this is fixed for me on 6.4.1
> 
That's good news. Is anyone one else able to confirm this on 6.4.1?
Comment 12 chniucg 2025-07-25 09:23:42 UTC
(In reply to TraceyC from comment #11)
> (In reply to elman from comment #10)
> > Update: this is fixed for me on 6.4.1
> > 
> That's good news. Is anyone one else able to confirm this on 6.4.1?

Operating System: Arch Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 69 GB of RAM (64.9 GB usable)
Graphics Processor 1: AMD Radeon RX 7900 XT
Graphics Processor 2: AMD Radeon Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B650 EAGLE AX
System Version: Default string-CF

I have got the same issue:

qrc:/kcm/kcm_tablet/main.qml:230 Type StylusTab unavailable
qrc:/kcm/kcm_tablet/StylusTab.qml:358 Type PressureCurve unavailable
qrc:/kcm/kcm_tablet/PressureCurve.qml:194 ".onActiveValueChanged" is not available due to component versioning.
Comment 13 chniucg 2025-07-25 09:37:18 UTC
Update: After a restart the issue seems gone, but my pen is no longer working and the projection view is greyed out
Comment 14 Nate Graham 2025-07-25 10:32:48 UTC
That sounds like a different issue; please open a new bug report for it.

Is anyone still seeing this specific issue on Plasma 6.4 or later>
Comment 15 VolundurH 2025-07-30 17:02:55 UTC
Hi, I am also having this issue. 

qrc:/kcm/kcm_tablet/main.qml:230 Type StylusTab unavailable
qrc:/kcm/kcm_tablet/StylusTab.qml:358 Type PressureCurve unavailable
qrc:/kcm/kcm_tablet/PressureCurve.qml:194 ".onActiveValueChanged" is not available due to component versioning.

OS: Arch Linux x86_64
Kernel: Linux 6.15.8-arch1-1
DE: KDE Plasma 6.4.3
Qt version 6.9.1-5
Graphics Platform: Wayland
Comment 16 Bug Janitor Service 2025-08-14 03:46:22 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 17 Joshua Goins 2025-08-14 16:07:39 UTC
Please do not mark the issue as resolved! I'm 99% sure this is an upstream Qt issue (because of the signal's declaration) but I don't want this closed because then no one will remember to report it to them :)
Comment 18 Chris Le Sueur 2025-09-10 22:34:31 UTC
I have this with KDE 6.4.4 and Qt 6.9.1.

How can we usefully report this in Qt?

Is there a workaround for configuring tablets in the meantime?
Comment 19 Joshua Goins 2025-09-11 05:43:52 UTC
(In reply to Chris Le Sueur from comment #18)
> I have this with KDE 6.4.4 and Qt 6.9.1.
> 
> How can we usefully report this in Qt?

Someone has to make a mininally reproducible example

> Is there a workaround for configuring tablets in the meantime?

The error has always been temporal for me, so a combination of: waiting, re-opening systemsettings, updating or clearing ~/.cache fixes it fot me
Comment 20 psychpsyo 2025-10-07 15:28:07 UTC
This has happened a few times for me on Kubuntu. I fix it by restarting my PC but haven't yet been able to find any rhyme or reason as to when exactly it occurs.