https://bugs.kde.org/show_bug.cgi?id=470729
Bug ID: 470729 Summary: KF6-based QML apps throw MobileCursor errors Classification: Frameworks and Libraries Product: frameworks-qqc2-desktop-style Version: unspecified Platform: Other OS: Linux Status: REPORTED Keywords: qt6 Severity: normal Priority: NOR Component: general Assignee: kdelibs-b...@kde.org Reporter: n...@kde.org CC: ahiems...@heimr.nl, k...@davidedmundson.co.uk, m...@ratijas.tk, noaha...@gmail.com, notm...@gmail.com Target Milestone: --- On Qt6, QML apps with editable text fields output these errors on the console: file:///home/nate/kde/usr6/lib64/qml/org/kde/desktop/private/MobileCursor.qml:33:13: Unable to assign [undefined] to bool file:///home/nate/kde/usr6/lib64/qml/org/kde/desktop/private/MobileCursor.qml:33:13: Unable to assign [undefined] to bool file:///home/nate/kde/usr6/lib64/qml/org/kde/desktop/private/MobileCursor.qml:33:13: Unable to assign [undefined] to bool file:///home/nate/kde/usr6/lib64/qml/org/kde/desktop/private/MobileCursor.qml:33:13: Unable to assign [undefined] to bool file:///home/nate/kde/usr6/lib64/qml/org/kde/desktop/private/MobileCursor.qml:33:13: Unable to assign [undefined] to bool The issue is trivially reproducible by launching `elisa`, or `plasma-discover` in a terminal window and focusing a text field. The problem is here: https://invent.kde.org/frameworks/qqc2-desktop-style/-/blob/master/org.kde.desktop/private/MobileCursor.qml#L33 visible: MobileTextActionsToolBar.shouldBeVisible MobileTextActionsToolBar is a singleton accessed from the same directory, hence this file has no import line. And that shouldn't be required, right? And yet it can't find the singleton, and then visible: falls back to true, and then you see the mobile text toolbar too. -- You are receiving this mail because: You are watching all bug changes.