Summary: | Can move layers by entering positions in the tool options the first time, but not the second time | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Kenneth So <kennethso168+kde> |
Component: | Tools/Move | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | raghu |
Priority: | NOR | ||
Version: | 4.3.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/12b3293d4987291e044bd4e52070a7e54f7e73dc | Version Fixed In: | |
Sentry Crash Report: |
Description
Kenneth So
2020-06-24 15:51:48 UTC
I can confirm this on master branch. User can't move second time by entering values in the input box Git commit efe9ed8c0e5c5211a66919290dcff7e907e48840 by Dmitry Kazakov, on behalf of Mathias Wein. Committed on 29/10/2020 at 12:20. Pushed by dkazakov into branch 'krita/4.3'. Fix malfunction of x/y position spin boxes in move tool's options The signal connections had to be moved from the constructor to activate(), since they get disconnected on every deactivate(). Also, manipulating the x or y position without clicking on the canvas first doubled the initial value, because a new stroke gets created, which in turn resets the handle rect. Reading the value before starting the stroke and making sure it's not currently unavailable until recalculated should prevent it. Related: bug 420329 M +23 -10 plugins/tools/basictools/kis_tool_move.cc https://invent.kde.org/graphics/krita/commit/efe9ed8c0e5c5211a66919290dcff7e907e48840 Git commit 12b3293d4987291e044bd4e52070a7e54f7e73dc by Dmitry Kazakov, on behalf of Mathias Wein. Committed on 29/10/2020 at 11:37. Pushed by dkazakov into branch 'master'. Fix malfunction of x/y position spin boxes in move tool's options The signal connections had to be moved from the constructor to activate(), since they get disconnected on every deactivate(). Also, manipulating the x or y position without clicking on the canvas first doubled the initial value, because a new stroke gets created, which in turn resets the handle rect. Reading the value before starting the stroke and making sure it's not currently unavailable until recalculated should prevent it. Related: bug 420329 M +23 -10 plugins/tools/basictools/kis_tool_move.cc https://invent.kde.org/graphics/krita/commit/12b3293d4987291e044bd4e52070a7e54f7e73dc |