Bug 504782 - 5.3: Workflow Buttons Docker: A custom button that designates the Pan Tool will not switch to the tool upon pressing it
Summary: 5.3: Workflow Buttons Docker: A custom button that designates the Pan Tool wi...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Dockers (other bugs)
Version First Reported In: nightly build (please specify the git hash!)
Platform: Appimage ChromeOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-25 17:44 UTC by art1
Modified: 2025-05-25 21:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description art1 2025-05-25 17:44:27 UTC
SUMMARY
See title

STEPS TO REPRODUCE
1.  Open the Workflow Buttons Docker
2. Click the settings dialog button on the bottom right corner of the docker
3. Add a workflow button ( + )
4. On the "select a tool" menu, choose Pan Tool
5. Click OK, and now the press your new button

OBSERVED RESULT
Pressing the created button will not switch to Pan Tool 

EXPECTED RESULT
Pressing the created button will switch to Pan Tool 


SOFTWARE/OS VERSIONS
ChromeOS 136
Krita 5.3 AppImage
git a27b947 (2025-05-24)
x86_64

ADDITIONAL INFORMATION
This bug is definitely limited to a button that designates the Pan Tool because if you switch the setting to select another Tool, the other tool will be selected normally.
Comment 1 Freya Lupen 2025-05-25 21:42:26 UTC
Git commit e528a61e38159b6513270b479fd696abff8895b0 by Freya Lupen.
Committed on 25/05/2025 at 21:41.
Pushed by freyalupen into branch 'master'.

Workflow Buttons: Fix Pan and Text Tool buttons

Pan Tool didn't work because of a mistake in checking
if index in list range, Text Tool because of a typo.

M  +1    -1    plugins/python/workflow_buttons/buttons_settings_dialog.py
M  +1    -1    plugins/python/workflow_buttons/workflow_buttons.py

https://invent.kde.org/graphics/krita/-/commit/e528a61e38159b6513270b479fd696abff8895b0