CrimsonAS / gtkplatform

Run Qt applications using gtk+ as a windowing system.

Home Page:https://crimson.no

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

krita crashes when using a scrollwheel (or trackpad pinch zoom) on image content

rburchell opened this issue · comments

Krita does some weird and wonderful stuff. They seem to rely on being able to get an X11 connection. So I obliged, and this seems to work to some degree in that it now actually shows content and sort of lets me use it. Unfortunately, scroll events crash:

==9493== Conditional jump or move depends on uninitialised value(s)
==9493==    at 0x5429A69: ~QWeakPointer (qsharedpointer_impl.h:607)
==9493==    by 0x5429A69: ~QPointer (qpointer.h:53)
==9493==    by 0x5429A69: ~UserEvent (qxcbconnection.cpp:498)
==9493==    by 0x5429A69: ~InputEvent (qxcbconnection.cpp:510)
==9493==    by 0x5429A69: ~WheelEvent (qxcbconnection.cpp:545)
==9493==    by 0x5429A69: QWindowSystemInterfacePrivate::WheelEvent::~WheelEvent() (qxcbconnection.cpp:545)
==9493==    by 0xCEDFE3E: QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qwindowsysteminterface.cpp:668)
==9493==    by 0x1F73D00D: userEventSourceDispatch(_GSource, int ()(void), void) (qgtkeventdispatcher.cpp:320)
==9493==    by 0x14184246: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.5200.3)
==9493==    by 0x141845E7: ??? (in /usr/lib64/libglib-2.0.so.0.5200.3)
==9493==    by 0x1418467B: g_main_context_iteration (in /usr/lib64/libglib-2.0.so.0.5200.3)
==9493==    by 0x1F73D948: QGtkEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qgtkeventdispatcher.cpp:490)
==9493==    by 0xD4FF609: QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:212)
==9493==    by 0xD50727B: QCoreApplication::exec() (qcoreapplication.cpp:1261)
==9493==    by 0x21E376: main (main.cc:269)

Note that they do also do some funny stuff with QWindowSystemInterface in their codebase, so it could be related somehow, I really don't know. This will need some more digging.

Won't fix. Krita is not going to work with this stuff without work.