Summary: | Krita crashes after using selection tool and then clicking outside the image area | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | svenssonsven8 |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla, sven.langkamp |
Priority: | NOR | ||
Version: | 2.6.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/665bd4f2735899c7b465694910e069fb3997f718 | Version Fixed In: | |
Attachments: | Video of Krita crashing after a selection and a click outside of selection |
Description
svenssonsven8
2013-02-19 21:22:29 UTC
Thanks for the report. Can you reproduce this bug or did it happen just once? (In reply to comment #1) > Thanks for the report. Can you reproduce this bug or did it happen just once? Hi! So far it has happened twice. I am unable to find an exact path that always produces the error, but those two times it happened, I was always clicking outside of the image in order to deselect the previous selection. However, the few other times I did exactly the same, it didn't crash. I will try a bit harder tonight in order to find a more reliable method to reproduce the error. Thanks. I think I managed to find a way to (somewhat) reliably reproduce the issue: 1. Launch Krita 2. Load an image (File->Open; I have used various images, all jpeg:s) 3. Choose "Select a rectangular area" tool from the Tools panel on the left 4. Select a rectangular image area 5. Click somewhere on the image in order to deselect selection (I usually click outside the selection) 6. Repeat step 4-5 above a few times (for me it usually takes 2-3 fast repeats) 7. Krita eventually crashes I can still reproduce the bug on KDE 4.10.1 and Krita 2.6.1 by following the steps I outlined in comment #3. I haven't yet been able to reproduce :-( I can't reproduce it either. Can you maybe make a video? Sven, I will try to make a video tonight when I am at home, I will do that. What kind of desktop recording software would you recommend? Also, what is the preferred video format I should save the recording into? Created attachment 77908 [details]
Video of Krita crashing after a selection and a click outside of selection
Thanks for the video... I'm still not sure what is going on though! The crash is really weird :-(. Could you perhaps install the debug packages for Qt, Calligra and Krita and try to get a more detailed stacktrace? Thanks! Ha! With the image from bug https://bugs.kde.org/show_bug.cgi?id=316466 we can reproduce! Working on a fix now! Git commit 6e866e189ffa40d46360cd7b07f97af1690e1986 by Boudewijn Rempt. Committed on 10/03/2013 at 15:35. Pushed by rempt into branch 'master'. Don't try to add or remove an empty selection Related: bug 316466 M +7 -1 krita/image/kis_pixel_selection.cpp http://commits.kde.org/calligra/6e866e189ffa40d46360cd7b07f97af1690e1986 Git commit c44a679961d441a543e240b13b5fd875e41d1da4 by Sven Langkamp. Committed on 10/03/2013 at 15:52. Pushed by langkamp into branch 'master'. deselect when selecting an empty selection Related: bug 316466 M +5 -0 krita/ui/tool/kis_selection_tool_helper.cpp http://commits.kde.org/calligra/c44a679961d441a543e240b13b5fd875e41d1da4 Great to hear! Thank you very much! :) Git commit 665bd4f2735899c7b465694910e069fb3997f718 by Boudewijn Rempt, on behalf of Sven Langkamp. Committed on 10/03/2013 at 15:52. Pushed by rempt into branch 'calligra/2.6'. deselect when selecting an empty selection Related: bug 316466 M +5 -0 krita/ui/tool/kis_selection_tool_helper.cpp http://commits.kde.org/calligra/665bd4f2735899c7b465694910e069fb3997f718 |