Bug 345649

Summary: Assigning "Rejected" label using Alt+1 shortcut leaves focus on menu
Product: [Applications] digikam Reporter: DrSlony <bugs>
Component: Usability-MenusAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bugs, caulier.gilles, metzpinguin, steve
Priority: NOR    
Version: 4.9.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description DrSlony 2015-03-29 12:15:32 UTC
Whenever I try to rank a photo "rejected" using Alt+1, the focus is left on the "Browse" menu, so I have to press Alt again to un-focus it so I can move to the next photo.

Running in Plasma 5.2.2.

Reproducible: Always
Comment 1 DrSlony 2015-05-07 08:03:00 UTC
Still in 4.9.0
Comment 2 Maik Qualmann 2015-05-09 19:23:17 UTC
Is Alt+1 set as a global key shortcut in plasma 5.x? Look in the KDE settings.

Maik
Comment 3 DrSlony 2015-05-10 16:34:55 UTC
It is not.
Comment 4 caulier.gilles 2015-05-16 21:59:25 UTC
Alt+Left and Alt+Right is used to change Browse view. When you assign Pick label to image with Alt+1, left Alt key just after before to press left/right to change icon-view item focus.

Else the dysfunction is not reproducible here.

GIlles Caulier
Comment 5 DrSlony 2015-05-17 10:20:45 UTC
I don't understand this part, "left Alt key just after before to press left/right to change icon-view item focus".

I'm quite certain this worked well in older digiKam versions.
I tried now, it's still valid in 4.10.0.

Alt+1, Alt+2 and Alt+3 assign the red/orange/green flags and each of these leaves focus on the menu bar, so I have to press Alt again to remove focus from the menu bar. But Alt+0 does not leave focus on the menu bar, it works correctly.

http://i.imgur.com/d1ex3mq.png

Here is a screencast. You can see me label the images, and the focus remains on "Browse" in the menu bar. Then I press Alt again to remove it. You can also see that when I press Alt+0 to remove the labels, the focus does not remain on the menu bar.
http://filebin.net/1kjm3ozwpv

digiKam version 4.10.0
CPU cores: 8
Demosaic GPL2 pack support: No
Demosaic GPL3 pack support: No
Exiv2 can write to Jp2: Yes
Exiv2 can write to Jpeg: Yes
Exiv2 can write to Pgf: Yes
Exiv2 can write to Png: Yes
Exiv2 can write to Tiff: Yes
Exiv2 supports XMP metadata: Yes
LibCImg: 130
LibEigen: 3.1.3
LibExiv2: 0.24
LibJPEG: 62
LibJasper: 1.900.1
LibKDE: 4.14.3
LibKExiv2: 2.4.0
LibKGeoMap: 3.1.0
LibKdcraw: 2.4.2
LibLCMS: 2070
LibLensFun: 0.3.0-0
LibLqr support: yes
LibPGF: 6.12.27
LibPNG: 1.6.16
LibQt: 4.8.6
LibRaw: 0.16.0
LibTIFF: LIBTIFF, Version 4.0.3 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc.
Marble Widget: 0.21.0 (stable release)
Parallelized demosaicing: Yes
RawSpeed codec support: No
Baloo support: Yes
Database backend: QSQLITE
Kdepimlibs support: no
Kipi-Plugins: 4.9.0
LibGphoto2 support: no
LibKface: 3.5.0
LibKipi: 2.2.0
LibOpenCV: 2.4.9
Sqlite2 support: no
Comment 6 Steve McCullough 2015-06-23 18:30:23 UTC
In previous versions I would quickly triage my photos with Alt labels while paging through them with PgUp/PgDn, but this makes that inconvenient. 

Is the response above in comment 4 saying "just press Alt again and get used to it" ... ?
Comment 7 DrSlony 2015-07-31 22:46:01 UTC
This might be Plasma 5's fault, I'll check closer soon.
Comment 8 caulier.gilles 2016-07-25 09:29:27 UTC
DrSlony,

Not reproducible here under Plasma 5 and digiKam 5.0.0. Can you confirm ?

Gilles Caulier
Comment 9 DrSlony 2016-07-31 18:23:23 UTC
Not reproducible under KDE Plasma 5.7.2 or Awesome 3.5.9 using digiKam 5.0.0 (Help > About > Version shows 5.1.0), commit 0ee5030d1a3746249638c0e85e56c4b53fde6a25.