| Summary: | Crash when creating new file | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | azrul <ahloiscreamo> |
| Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | 4.1.7 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
azrul
2018-12-29 19:28:45 UTC
This crash cannot happen with that combination of Qt and Krita. There must be something wrong with the tarball the fedora package uses or something like that. The 4.1.7.101 tarball explicitly works around a dumb bug in Qt 5.11.3 and 5.12 that causes a double deletion. We have a workaround, it is in 4.1.7.101. // See https://bugreports.qt.io/browse/QTBUG-72488 #if QT_VERSION < QT_VERSION_CHECK(5, 11, 3) if ((event->type() == QEvent::MouseMove || event->type() == QEvent::TabletMove) && (!d->matcher.supportsHiResInputEvents() || d->testingCompressBrushEvents)) { d->compressedMoveEvent.reset(new Event(*event)); d->moveEventCompressor.start(); /** * On Linux Qt eats the rest of unneeded events if we * ignore the first of the chunk of tablet events. So * generally we should never activate this feature. Only * for testing purposes! */ if (d->testingAcceptCompressedTabletEvents) { event->setAccepted(true); } retval = true; } else { #endif slotCompressedMoveEvent(); retval = d->handleCompressedTabletEvent(event); #if QT_VERSION < QT_VERSION_CHECK(5, 11, 3) } #endif |