playbar2
playbar2 copied to clipboard
Expanded view stopped working with Plasma 5.15
Was alright in 5.14.x. Tried rebuilding with plasma-framework-dev-5.44.0 and plasma-workspace-dev-4:5.15.0 but didn't really change anything appearance-wise.
Not sure how to debug this unfortunately.
it is working here on gentoo with
- plasma 5.15
- frameworks 5.55
- qt 5.11.3
Your frameworks is quite old compared to the plasma version. I think plasma 5.15 depends on frameworks 5.54. Was that a typo? Otherwise it might help to update your frameworks.
Wasn't a typo actually. I just found out that it seems plasma-framework-dev is just a dummy package:
Installed plasma-framework-dev-5.44.0-0ubuntu3.all (installed:ubuntu-bionic-universe) transitional dummy package
While the actual dev package is libkf5plasma-dev:
Installed libkf5plasma-dev-5.55.0-0xneon+18.04+bionic+build29.amd64 (installed:user_bionic-bionic-main) development files for plasma-framework
Which I believe means I do have framework 5.55.0. Yesterday, I was also wondering how come my runtime was 5.55.0 but the dev package was 5.44.0, now it makes sense.
The only place where we differ appears to be Qt, in which I've got 5.12.0 instead.
Ok so, it appears to be Qt indeed.
I tried debugging it with plasmoidviewer from plasma-sdk and I found this error message on launch:
file:///usr/share/plasma/plasmoids/audoban.applet.playbar/contents/ui/VerticalLayout.qml:49:9: "Connections.enabled" is not available in QtQuick 2.4.
Then I found this using that error message: https://phabricator.kde.org/D17184
Basically, it was about that particular project getting the same error and causing its main window not to appear (pretty much what my issue was), and the solution was to upgrade the import line to import QtQuick 2.7 (in the case of playbar2, its import line was import QtQuick 2.4).
So yeah, did that, rebuilt, and tadaa, expanded view finally works and that error message never appeared again.
@dkadioglu Thx for fix that, it's worked now ) DEB-packages with your PR's: https://launchpad.net/~varlesh-l/+archive/ubuntu/bionic/+files/plasma-widget-playbar2_2.5fixed2_amd64.deb https://launchpad.net/~varlesh-l/+archive/ubuntu/bionic/+files/plasma-widget-playbar2_2.5fixed2_i386.deb