Summary: | Crash with using QML open dialog | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Alvin Wong <alvin> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | griffinvalley, halla |
Priority: | NOR | Keywords: | triaged |
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | DrMingw backtrace |
I'm sorry, but I cannot reproduce this myself. The crash itself happens deep inside Qt, making it even harder to figure out what's up. I did some digging. It seems that Qt messed up the backing store with QQuickWidget when the KoDialog was being opened on a different screen that it previously closed. I think there is a chance that using QQuickView instead of QQuickWidget wrapped in a KoDialog might fix it. hm, I just tried that and all it does is crash :-( Now I cannot reproduce it on 5.0.2, but I tried 4.2.0 again and it is still reproducible there, so I think it can be considered fixed now, probably by newer version of Qt. |
Created attachment 119440 [details] DrMingw backtrace SUMMARY Crash when the QML open dialog is closed on second monitor and reopened on the primary monitor. STEPS TO REPRODUCE 1. Click open file button on touch docker 2. Move the open file dialog to another monitor and close it 3. Click open file button on touch docker again OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Windows: 10 Qt Version:5.12.2 ADDITIONAL INFORMATION