Bug 493053

Summary: Inconsistent behaviour of Enter key between Windows and Linux Mint in some dialogues
Product: [Applications] krita Reporter: Paul Stenning <paul>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: minor CC: halla, paul
Priority: NOR    
Version First Reported In: 5.2.3   
Target Milestone: ---   
Platform: Mint (Debian based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul Stenning 2024-09-13 10:06:04 UTC
SUMMARY

STEPS TO REPRODUCE
1. Load an image.
2. Open the "Resize Canvas" (Ctrl-Alt-C) or "Scale To New Size" (Ctrl-Alt-I) dialogue.
3. Type new width and/or height.
4. Press Enter key on keyboard.

OBSERVED RESULT
On Windows, pressing the Enter key causes the dialogue to be submitted and the change actioned.
On Linux Mint, nothing happens. 

EXPECTED RESULT
On both Windows and Linux Mint the Enter key should submit the dialogue (consistent behaviour between different operating systems). The Windows version works how I would expect.

SOFTWARE/OS VERSIONS
Windows: Windows 10 Pro.
Linux/KDE Plasma: Linux Mint Debian Edition 6 (LMDE6) 64 bit with Cinnamon desktop.

ADDITIONAL INFORMATION
I am using the Flatpak version of Krita from the Linux Mint software manager.
This issue may also affect other dialogues that require user input (not tested).
Comment 1 Paul Stenning 2024-09-13 10:15:03 UTC
I have now tested briefly with the Appimage download from the website, 5.2.3 (git 68d178c), which behaves the same way so this is not specific to the Flatpak version.
Comment 2 Halla Rempt 2024-09-13 10:53:50 UTC
Works fine here with the appimage under KDE Plasma. The dialog buttons are not provided by Krita, but by Qt, and Qt can change behaviour depending on the desktop environment it detects; we cannot do anything about it.
Comment 3 Paul Stenning 2024-09-13 12:34:32 UTC
Thank you for explaining and clarifying this, and sorry for wasting your time. I will ask on the Linux Mint forums if there is any way of changing this Qt behaviour in Mint. Meanwhile I am trying to remember to press Alt-O instead.