SUMMARY When you try to resize an image using 'Image' -> 'Scale Image To New Size' by default the focus is on the OK button. This means to enter the new size you either need to click the 'Width' field with the mouse or need to press TAB key three times to select the 'Width' field. When resizing images with this dialog in the overwhelming majority of cases you will want to change the pixel size so it would be nice if the 'Width' field would have focus by default. This would work a lot nicer with a keyboard-focused workflow: Press Ctrl+Alt+I, enter the new dimension, press Enter -> Done. STEPS TO REPRODUCE 1. Open any image. 2. In the menu select 'Image' -> 'Scale Image To New Size' or press Ctrl+Alt+I 3. Resize dialog opens. OBSERVED RESULT The 'OK' button has focus by default. EXPECTED RESULT The 'Width' field in the 'Pixel Dimension' section has focus by default. SOFTWARE/OS VERSIONS Windows: 10
Git commit 4588d993baad1c66af5e7b7c1c24f626ed9c70e4 by Halla Rempt. Committed on 10/11/2021 at 08:13. Pushed by rempt into branch 'master'. Set focus on the first widget in the dialog instead of the ok button Related: bug 444806 M +2 -0 libs/ui/imagesize/dlg_imagesize.cc https://invent.kde.org/graphics/krita/commit/4588d993baad1c66af5e7b7c1c24f626ed9c70e4
Git commit 3b5eb4e6a3845907f782239cd60f5e09a32ae42a by Halla Rempt. Committed on 10/11/2021 at 08:15. Pushed by rempt into branch 'krita/5.0'. Set focus on the first widget in the dialog instead of the ok button Related: bug 444806 (cherry picked from commit 4588d993baad1c66af5e7b7c1c24f626ed9c70e4) M +2 -0 libs/ui/imagesize/dlg_imagesize.cc https://invent.kde.org/graphics/krita/commit/3b5eb4e6a3845907f782239cd60f5e09a32ae42a
Wow that was quick! Thank you very much!