Enter key activates a checkbox instead of confirming numeric dialogs (Fedora 44 / KDE / Wayland)

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

FreakyAlleyCat
Posts: 4
Joined: Wed Jul 08, 2026 12:32 pm

Enter key activates a checkbox instead of confirming numeric dialogs (Fedora 44 / KDE / Wayland)

Post by FreakyAlleyCat »

XnView MP version: 1.12.2
Installation: Flatpak (`com.xnview.XnViewMP`)
Flatpak runtime: Freedesktop 25.08
Bundled Qt version: 6.8.9
Operating system: Fedora 44
Desktop environment: KDE Plasma 6.8.2
Display session: Wayland


I'm experiencing a keyboard-handling problem in XnView MP's numeric input dialogs. When I enter a value in a numeric field (for example "width" or "height" in the resize dialogue) and press *Enter* on the keyboard, what happens is that instead of confirming the dialog (and for example do the resize of the image as expected), XnView toggles a checkbox or disables an option in the dialog (like in the resize menu it will just grey out the "resample" checkmark and do nothing else). This happens in multiple menus, not just the resize.

Steps to reproduce:

1. Open an image.
2. Open the Resize dialog.
3. Click inside a numeric field, such as Width or Height.
4. Change the value.
5. Press Enter.

Actual result: Enter toggles the "resample" checkbox instead of confirming the dialogue.
Expected result: Enter should confirm the dialogue, equivalent to clicking the OK button with the mouse.

Additional observations:

- Clicking the OK button with the mouse works normally.
- Pressing Tab moves focus to the next field as expected.
- Pressing Space or ctrl+enter does not resolve it.
- The problem started after a Fedora system update. I don't recall an XnView MP update around the time it first appeared.
- Reinstalling XnView MP did not resolve the issue.
- Switching between the Wayland and X11 Qt platform backends did not resolve it.
- Changing the Qt platform theme setting did not resolve it either.

Could this be a Qt keyboard-focus/default-button handling issue involving XnView MP's bundled Qt version and KDE Plasma on Wayland?
I'd appreciate any suggestions or a fix. I'm happy to provide additional logs or test a development build.

Thanks!