Summary: | Krita crashes while using Ctrl+Z(undo) multiple times in textline edit tool | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Somsubhra <somsubhra.bairi> |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | halla, robert.wloch |
Priority: | NOR | ||
Version: | 2.7 Pre-Alpha | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/c1d31f07b5032e5d9d3171af1643d2328f67f265 | Version Fixed In: | |
Sentry Crash Report: |
Description
Somsubhra
2013-03-01 15:47:29 UTC
Hi Somsubhra, I guess you were editing a text on a path, right? And then tried to undo the creation of the shape. I've seen this bug before -- bug 313073, bug 308401, bug 305950 are the same -- but I thought it had been fixed. Apparently not :-( I'm not sure about the right solution, there is some weird stuff going in the destructor. The undo-crash can be reproduced very easily: 1. Start Krita and create new image with the default suggestions 2. Choose text tool and click and drag a textbox 3. Select the _full_ default text, that's inserted, e.g. with shift+arrow keys 4. Type any character to replace the selection 5. Try to undo with Ctrl+z -> Krita crashes Git commit ef1f66e247ae60b7987a0fee7e7e750b41f3df31 by Boudewijn Rempt. Committed on 24/06/2013 at 13:25. Pushed by rempt into branch 'master'. Check whether the index into m_ranges is valid Related: bug 319693, bug 318003 M +8 -4 plugins/artistictextshape/ArtisticTextShape.cpp http://commits.kde.org/calligra/ef1f66e247ae60b7987a0fee7e7e750b41f3df31 Git commit e1ca57c2b520e7fefefc3d1dcf854e3b5e2328b7 by Boudewijn Rempt. Committed on 24/06/2013 at 13:25. Pushed by rempt into branch 'calligra/2.7'. Check whether the index into m_ranges is valid Related: bug 319693, bug 318003 M +8 -4 plugins/artistictextshape/ArtisticTextShape.cpp http://commits.kde.org/calligra/e1ca57c2b520e7fefefc3d1dcf854e3b5e2328b7 Git commit c1d31f07b5032e5d9d3171af1643d2328f67f265 by Boudewijn Rempt. Committed on 24/06/2013 at 13:25. Pushed by rempt into branch 'calligra/2.6'. Check whether the index into m_ranges is valid Related: bug 319693, bug 318003 M +8 -4 plugins/artistictextshape/ArtisticTextShape.cpp http://commits.kde.org/calligra/c1d31f07b5032e5d9d3171af1643d2328f67f265 |