[opensuse-kde] KF5 Frameworks Update (5.39/5.11.2) breaks QtQuickControls2.Slider

Just updated TW with the KF5 factory repos. All of my QML apps/plasmoids that use Slider controls are now failing to load, citing a component version conflict.
I should also note that on another machine with just the standard TW repos, the apps/plasmoids continue to work fine (Qt5.9.2/KF5.38) PS. Sorry for the double-send, I just realized I am subscribed with a different email. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

Am Freitag, 27. Oktober 2017, 09:44:34 schrieb Noee:
And what's the error message exactly? I'd suggest you try to update again (preferably using something like "zypper dup --from KF5"), maybe the repo was in an inconsistent state when you updated or you have some mixture of packages between KF5 and standard TW.
I have the Qt5 repo enable too, but there were not updates from that one.
Using that (on Tumbleweed) is not really a good idea, as KDE:Frameworks5 is built against the standard Qt5 packages in Tumbleweed, which can lead to problems whenever KDE:Qt5 is updated. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

I tried this: Removed Qt5 repo zypper dup (Qt reinstalled from TW repo) reboot zypper dup --from "KF5" (factory KF5 repo), nothing to do Tried my plasmoid Still fails to load, same error msg: file:///home/mike/packages/mcwsplasmoid/plasmoid/contents/ui/Player.qml:67:13: "QtControls.Slider.onMoved" is not available due to component versioning. I'm not sure where to look. I am also using the KF5 qml controls, but this is clearly a msg regarding the QtQuick Controls 2, specifically the Slider as it was rev'ed for QQC2. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

Just zypper dup'd again (for the latest KF5 repo). Decided to try Wayland and the plasmoids and apps load and work fine again, like before. Went back to the X session, same error. So, something is not set right for the KF5 on X. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

Still investigating....I went back to the 5.39 release notes and found thus under Plasma Framework: * register revision 1 for QQuickItem While cryptic, it sounds related to this issue. How do I track this down? Upstream? -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

I found the problem, at least for my plasmoids, not sure yet with the apps (binaries). In each of three machines that works (TW w/KF5.38/Plasma5.11.1/Qt5.92), there is a slightly different folder structure than the machine that does not work (KF5 Factory with 5.39/Plasma 5.11.1): /usr/lib64/qt5/qml/QtQuick/Controls.2/ is the folder in question. The 5.39 setup has the following two sub-folders: org.kde.desktop Plasma The 5.38 setups where the plasmoids work normally have just the "Plasma" folder only. I believe this is related to the Kirigami2 updates in KF5.39. When I remove the folder "org.kde.desktop", my plasmoids now load again fine as before. Of course, Kirigami2 is now required by systemsettings, etc... -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

On 10/28/2017 10:18 AM, Noee wrote:
Okay, just finished testing my binaries and they now all load fine as before on 5.38. Also, slight typo above, the KF5 Factory setup is 5.11.2 (not "1"). Not sure where to go with this. I'm not familiar at all with the new Kirigami stuff but it seems to be creating a version conflict with QtQuickControls2.Slider2.2 (at the very least). Is this something you guys would patch here at the distro and then push up, or should I file a bug upstream KDE? -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

Am Samstag, 28. Oktober 2017, 07:40:36 schrieb Noee:
Unlikely, I think: https://cgit.kde.org/plasma-framework.git/commit/?id=48e27b5493894310296788d...
$ rpm -qf /usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/ qqc2-desktop-style-5.39.0-10.1.x86_64 And that's new in 5.39... "New module: QtQuickControls 2 style that uses QWidget's QStyle for painting This makes it possible to achieve an higher degree of consistency between QWidget-based and QML-based apps." I.e. it makes QQC2 elements (like the slider) look more like their QWidgets counterparts when run inside Plasma, as it actually uses the widget style (e.g. breeze or oxygen) to render them. As it is only recommended currently (not required), you can just uninstall it. If qqc2-desktop-style is indeed the reason for your issues, you should probably file a bug report at bugs.kde.org IMHO. I haven't noticed any problems here so far though, but then I'm not using QML plasmoids or applications outside of what's shipped with Plasma at the moment.
Of course, Kirigami2 is now required by systemsettings, etc...
You don't seem to have a problem with Kirigami2 if just removing the /usr/lib64/qt5/qml/QtQuick/Controls.2/org.kde.desktop/ folder helps. Kirigami2 is in /usr/lib64/qt5/qml/org/kde/kirigami.2/... Btw, systemsettings5 does work fine here with qqc2-desktop-style installed, was that affected on your system too? Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

On 10/28/2017 02:26 PM, Wolfgang Bauer wrote:
Yes, I saw reference to Kirigami in the qml and wrongly assumed....
-- Noee <mailto:mikenoe@centurylink.net> Tumbleweed" <https://www.opensuse.org> Linux 4.14.0-rc4-1.g879f297-default, KDE Frameworks: 5.39.0/Plasma: 5.11.2/Qt: 5.9.2 -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

Am Freitag, 27. Oktober 2017, 09:44:34 schrieb Noee:
And what's the error message exactly? I'd suggest you try to update again (preferably using something like "zypper dup --from KF5"), maybe the repo was in an inconsistent state when you updated or you have some mixture of packages between KF5 and standard TW.
I have the Qt5 repo enable too, but there were not updates from that one.
Using that (on Tumbleweed) is not really a good idea, as KDE:Frameworks5 is built against the standard Qt5 packages in Tumbleweed, which can lead to problems whenever KDE:Qt5 is updated. Kind Regards, Wolfgang -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

I tried this: Removed Qt5 repo zypper dup (Qt reinstalled from TW repo) reboot zypper dup --from "KF5" (factory KF5 repo), nothing to do Tried my plasmoid Still fails to load, same error msg: file:///home/mike/packages/mcwsplasmoid/plasmoid/contents/ui/Player.qml:67:13: "QtControls.Slider.onMoved" is not available due to component versioning. I'm not sure where to look. I am also using the KF5 qml controls, but this is clearly a msg regarding the QtQuick Controls 2, specifically the Slider as it was rev'ed for QQC2. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

Just zypper dup'd again (for the latest KF5 repo). Decided to try Wayland and the plasmoids and apps load and work fine again, like before. Went back to the X session, same error. So, something is not set right for the KF5 on X. -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

Still investigating....I went back to the 5.39 release notes and found thus under Plasma Framework: * register revision 1 for QQuickItem While cryptic, it sounds related to this issue. How do I track this down? Upstream? -- To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kde+owner@opensuse.org
participants (2)
-
Noee
-
Wolfgang Bauer