| Summary: | [On-canvas text] Cursor position is not updated when typing the first character | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | ll3006 <doublel3006> |
| Component: | Tool/Text | Assignee: | wolthera <griffinvalley> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | griffinvalley |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Mint (Ubuntu based) | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/4cd5a06432bd303db4bdedb712309a00b03ab6b7 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
ll3006
2024-01-11 20:47:18 UTC
Yeah, I had noticed it already, but the holidays + other work have prevented me from fixing it. Basically what needs to be done is that right now the cursor pos defaults to -1 if it can't find anything, and that should be accounted for in the text insertion command. Git commit 4cd5a06432bd303db4bdedb712309a00b03ab6b7 by Wolthera van Hövell tot Westerflier. Committed on 12/01/2024 at 18:31. Pushed by woltherav into branch 'master'. Text: ensure that the insertion index is valid. The index defaults to -1 when there's no text. M +2 -1 plugins/tools/svgtexttool/SvgTextInsertCommand.cpp https://invent.kde.org/graphics/krita/-/commit/4cd5a06432bd303db4bdedb712309a00b03ab6b7 Thanks for the quick fix, love the work you've been doing on this feature! |