Bug 364933 - Cannot use cursor and certain other keys inside Showfoto tools
Summary: Cannot use cursor and certain other keys inside Showfoto tools
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Showfoto-Plugins (show other bugs)
Version: 4.14.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-30 16:25 UTC by Frank Steinmetzger
Modified: 2022-02-04 22:09 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frank Steinmetzger 2016-06-30 16:25:13 UTC
When editing images, I often want to use typical keys to navigate the widgets inside the plugin interfaces. Most prominently the cursor keys, with which I wish to alter values or step through items of a dropdown menu. Showfoto eats those keys.

Please fix this behaviour: if there is a focused widget, it should get the full input. Thank you.

I should mention that I set Space as a custom shortcut to display the next image. But there are no specific actions assigned to unmodified cursor keys.

Reproducible: Always

Steps to Reproduce:
1. Open one or more images in Showfoto. Open a plugin, for example lens correction.
2. Switch input focus to a dropdown, e.g. camera manufacturer.
3. Use the cursor keys to select a different entry in the dropdown.

Actual Results:  
The plugin is cancelled and, depending on the pressed key (e.g. cursor up/down), another images gets displayed. If I already made changes to the current image, I am asked whether I want to save them.

Expected Results:  
The input should go the focused widget and evoke its standard behaviour. If no widget is focused (because no editing tool is active), then the keys may be used for other purposes.

I don't use KDE5/Qt5 applications yet for the most part. So I don't know whether Digikam 5 is also affected.
Comment 1 caulier.gilles 2016-06-30 16:49:55 UTC
As i can said, i never seen this dysfunction under OSX, Windows and Linux with 5.0.0-beta7

Gilles Caulier
Comment 2 Maik Qualmann 2016-06-30 17:48:25 UTC
Yes, is to reproduce here, also image editor. The cursor keys move to the next / back image when the tool is open. I did that as well never noticed.

Maik
Comment 3 Maik Qualmann 2016-07-01 20:45:16 UTC
Git commit 7db61f7d493e9237911c8c5dcf58177129c0705d by Maik Qualmann.
Committed on 01/07/2016 at 20:43.
Pushed by mqualmann into branch 'master'.

fix cursor keys in Showfoto and image editor
FIXED-IN: 5.0.0

M  +1    -0    NEWS
M  +5    -0    showfoto/main/showfoto.cpp
M  +1    -0    utilities/imageeditor/editor/editortooliface.cpp
M  +9    -6    utilities/imageeditor/editor/editorwindow.cpp
M  +2    -1    utilities/imageeditor/editor/editorwindow.h
M  +0    -9    utilities/imageeditor/editor/editorwindow_p.h
M  +5    -0    utilities/imageeditor/main/imagewindow.cpp

http://commits.kde.org/digikam/7db61f7d493e9237911c8c5dcf58177129c0705d