Summary: | We cannot active the OK button pressing ENTER in windows we resize image/canvas | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | garuda1300 |
Component: | Resize/Scale Image/Layer | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, griffinvalley, rojasreinold |
Priority: | NOR | ||
Version: | 5.2.0-rc1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/-/commit/cd7b48348ce7bdad61a86b499410550acfa59062 | Version Fixed In: | |
Sentry Crash Report: |
Description
garuda1300
2023-09-23 16:04:24 UTC
I can't seem to reproduce 'enter' not working when nothing is set, and while there *is* something odd going on with the tab-order in resize-canvas, I cannot get into a state where the ok button and the link-width-and-height buttons are both focused. Is this with the appimage, or some other version? Hello wolthera, this issue can be reproduced with 5.2.0 appimage. I'm using Linux Mint 21.1. Linux mint provides various flavours, is this for example cinnamon or gnome? Ops, sorry. It's XFCE. Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. I can reproduce this on the krita Next 84484d65d1. I also tried to replicate this in my docker container build of Krita and I wasn't able to reproduce it there. It seems something happens when its in an appimage that causes this bug. Reproduce steps: 1. Got to Image ->rezise canvas 2. Press enter when the window appears (should close the window but nothing happens) Hi, Reinold Rojas! What desktop environment do you use? I seem to cannot reproduce the issue locally. The only way how I can reproduce the issue is when I click on any of the anchor buttons or on the lock buttons. Since these buttons are accessible using Tab-focus, they steal focus from the OK button until you click something else (e.g. the text spin-box). The only way we can fix that is by converting them into QToolButton, which would make then inaccessible from the Tab-focus. I'm not sure if it is a desired behavior though. Git commit 0b74dcd90886c2143d38e95359a0f1622bc7d598 by Dmitry Kazakov. Committed on 15/11/2024 at 10:06. Pushed by dkazakov into branch 'krita/5.2'. Fix focus issues in Canvas Size dialog 1) Make sure that anchor and lock buttons don't steal focus from the OK button (they should be available via Tab-focus only) 2) Change the tab-order of the widgets to be more consistent M +36 -1 libs/ui/imagesize/wdg_canvassize.ui https://invent.kde.org/graphics/krita/-/commit/0b74dcd90886c2143d38e95359a0f1622bc7d598 Git commit cd7b48348ce7bdad61a86b499410550acfa59062 by Dmitry Kazakov. Committed on 15/11/2024 at 10:07. Pushed by dkazakov into branch 'master'. Fix focus issues in Canvas Size dialog 1) Make sure that anchor and lock buttons don't steal focus from the OK button (they should be available via Tab-focus only) 2) Change the tab-order of the widgets to be more consistent M +36 -1 libs/ui/imagesize/wdg_canvassize.ui https://invent.kde.org/graphics/krita/-/commit/cd7b48348ce7bdad61a86b499410550acfa59062 |