Bug 407232

Summary: Swith from list to display with enter
Product: [Applications] digikam Reporter: Christian Gruber <GruberChristian>
Component: Usability-KeyboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 5.6.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description Christian Gruber 2019-05-05 10:59:19 UTC
When you are in the album view and in the correct directory, the pictures are displayed as icons. When I want to display one of them bigger, I have to click them with the mouse when the mouse pointer hovers over it. Can this also happen by pressing the return key?
Comment 1 caulier.gilles 2019-05-05 12:18:46 UTC
If the focus is in icon-view not album tree-view, press enter open file in editor or switch in preview mode, depending of DK settings.

Gilles Caulier
Comment 2 Christian Gruber 2019-05-06 20:09:27 UTC
Where can I change this setting? I was unable to find it...
Comment 3 Maik Qualmann 2019-05-07 06:33:55 UTC
I register a problem with the Enter key if no mouse click with the left mouse button has been made. The QMouseEvent pointer is not saved yet. I fix it tonight.

Maik
Comment 4 Maik Qualmann 2019-05-07 10:42:26 UTC
Git commit 26102616c87819d90afdf4fa290684f89c569ab6 by Maik Qualmann.
Committed on 07/05/2019 at 10:41.
Pushed by mqualmann into branch 'master'.

fix press return key in the icon view
FIXED-IN: 6.2.0

M  +2    -1    NEWS
M  +21   -11   core/libs/widgets/itemview/itemviewcategorized.cpp

https://invent.kde.org/kde/digikam/commit/26102616c87819d90afdf4fa290684f89c569ab6
Comment 5 Christian Gruber 2019-06-19 20:04:13 UTC
When I press the enter key in digikam-6.2.0-git-20190613T125237-qtwebkit-x86-64.appimage, nothing happens
Comment 6 Maik Qualmann 2019-06-19 20:10:03 UTC
Works fine here with AppImage. The icon list view must have the focus.

Maik
Comment 7 Christian Gruber 2019-06-20 11:29:59 UTC
It does nothing. I double checked that the digikam window has the focus, and exactly one picture is selected. The F4 key (start to process the picture) works.
Update: It only works with the enter key on the numeric keyboard that I never use, but not with usual return key right of the letter keys.
Comment 8 Maik Qualmann 2019-06-20 20:50:19 UTC
It works here under openSUSE with both the Return and the Enter key. A test with the Windows version on a real Windows machine also shows no malfunction, both buttons open the preview.

Maik