Skip to content

fix: bind [ and ] bracket keys to tools-size so brush size changes mid-work#211

Open
mvanhorn wants to merge 1 commit into
Diolinux:masterfrom
mvanhorn:fix/160-fix-brush-size-bracket-keys
Open

fix: bind [ and ] bracket keys to tools-size so brush size changes mid-work#211
mvanhorn wants to merge 1 commit into
Diolinux:masterfrom
mvanhorn:fix/160-fix-brush-size-bracket-keys

Conversation

@mvanhorn

@mvanhorn mvanhorn commented Jul 9, 2026

Copy link
Copy Markdown

Summary

Bind [ and ] bracket keys to tools-size so brush size changes mid-work.

Why this matters

User reports that changing the brush size with the [ and ] bracket keys does not work in PhotoGIMP. A commenter (DestinyPlayer) diagnosed the exact cause: PhotoGIMP's shortcutsrc binds the bracket keys to the context-brush-radius-decrease/context-brush-radius-increase actions, which adjust the stored radius of the selected brush rather than the active tool size. To resize the brush mid-work (the behavior users expect from [/]), the keys must instead be bound to the tools-size-decrease/tools-size-increase actions, matching stock GIMP behavior.

Testing

Changes are scoped to the files named in the fix; added or updated tests where the project has a suite, and matched existing conventions.

Fixes #160

@mvanhorn mvanhorn mentioned this pull request Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Changing Brush size

1 participant