Zren / plasma-applets

This monolithic repo has been broken up into individual repos for each widget.
84 stars 23 forks source link

crashes with plasma 5.6 / Qt 5.6 #5

Closed ahjolinna closed 8 years ago

ahjolinna commented 8 years ago

I'm using chakraOS with plasma5.6 + Qt5.6 and everytime I try to open this calender my plasma panel crashes, here is my error output:

trying to show an empty dialog
[New Thread 0x7ffefeafb700 (LWP 6535)]
[New Thread 0x7ffefdffa700 (LWP 6541)]
QQmlComponent: Component is not ready
[New Thread 0x7ffefcf26700 (LWP 6542)]
qml: onMonthViewDateChanged Fri Mar 25 00:00:00 2016 GMT+0200
qml: onSeletedDateChanged Fri Mar 25 00:00:00 2016 GMT+0200

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff540531b in QQmlIncubator::clear() () from /usr/lib/libQt5Qml.so.5

so qt5-declarative is the problem and the google config did work just fine for me, it didn't crash for me

Zren commented 8 years ago

Yeah, I've no idea how to fix this.

so qt5-declarative is the problem

http://doc.qt.io/qt-5/qtquick-porting-qt5.html#c-code

Don't recognize any of those classes.

Does the popup appear at all? Or does it crash before even displaying anything?

ahjolinna commented 8 years ago

plasma crashes immediately when I try to open it, I didn't see any "popup before that

Zren commented 8 years ago

I just tried the 22-Mar-2016 Kubuntu CI live cd in VirtualBox with KDE Plasma 5.6.0, Frameworks 5.21.0, and Qt 5.5.1, and it works fine. So it seems to be the Qt version.

XavierCLL commented 8 years ago

I confirm the crash, using Archlinux plasma 5.6.1 and Qt 5.6

http://pastebin.com/ApW9YcV6

ahjolinna commented 8 years ago

@Zren: if you don't know how to fix it you can always ask help from Qt's IRC channel's or/& KDE

Zren commented 8 years ago

Managed to get a livecd with kde 5.6 and qt 5.6 setup in virtualbox today. Through a long process of elimination of commenting out stuff, I found a line that breaks.

MonthView { today: new Date() }

I think I'll try changing that to Component.onComplete: { today = new Date(); } but I really need to figure out why the hell that breaks.

Zren commented 8 years ago

Does the new version (v23) work for you guys?

XavierCLL commented 8 years ago

With this version fixed for me, Thanks @Zren !

ahjolinna commented 8 years ago

okay it seems to work now, after few tries

ahjolinna commented 8 years ago

I now wonder if this is correct? screenshot_20160405_193250 if not I will do a new bug report about it

Zren commented 8 years ago

Yes that screenshot looks correct. You need to set your city in the config to get weather, and sign into gcal there too for events.