Created attachment 160584 [details] enter The lines can be separated by pressing Enter. The expected behavior occurs. But when you press Shift+Enter, the lines are separated in the editor window, but not on the canvas, which is not the expected behavior. This is misleading, as if the function does not work. STEPS TO REPRODUCE 1. add some words 2. move the text to another line by pressing Shift+Enter 3. apply text changes OBSERVED RESULT the text shows an undivided string EXPECTED RESULT the text shows a line break SOFTWARE/OS VERSIONS all os
Created attachment 160585 [details] shift+enter
Soft line breaks with Shift + Enter are not supported. I will disable this behaviour in 5.2.
Git commit 5c98737f4fe9c73ec3031b1584c4fa05c4577e3e by Alvin Wong. Committed on 28/07/2023 at 16:28. Pushed by alvinwong into branch 'master'. svgtexttool: Disable Shift+Enter soft line breaks M +17 -0 plugins/tools/svgtexttool/SvgTextEditor.cpp M +1 -0 plugins/tools/svgtexttool/SvgTextEditor.h https://invent.kde.org/graphics/krita/-/commit/5c98737f4fe9c73ec3031b1584c4fa05c4577e3e
Git commit 54e03e61e29655939bdf70c0f34d86e38476d6d5 by Alvin Wong. Committed on 28/07/2023 at 16:28. Pushed by alvinwong into branch 'krita/5.2'. svgtexttool: Disable Shift+Enter soft line breaks (cherry picked from commit 5c98737f4fe9c73ec3031b1584c4fa05c4577e3e) M +17 -0 plugins/tools/svgtexttool/SvgTextEditor.cpp M +1 -0 plugins/tools/svgtexttool/SvgTextEditor.h https://invent.kde.org/graphics/krita/-/commit/54e03e61e29655939bdf70c0f34d86e38476d6d5