Bug 291695 - Add Keyboard shortcut to "Tags already assigned" button from Captions/Tags sidebar
Summary: Add Keyboard shortcut to "Tags already assigned" button from Captions/Tags si...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Keyboard (show other bugs)
Version: 2.5.0
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-16 20:28 UTC by Peter Albrecht
Modified: 2017-08-02 17:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Albrecht 2012-01-16 20:28:29 UTC
Version:           2.5.0 (using KDE 4.7.4) 
OS:                Linux

In the right sidebar there is tab "Caption/Tags". Selecting the "Tags" tab, there is a button "Tags already assigned" in the lower right corner. Toggling this either shows all tags (good for tagging pictures) or only those already assigned to the selected picture(s) (good to verify, if you did not miss one person). Tagging many pictures I often switch between those two modes.

Reproducible: Always



Expected Results:  
It would be very handy, to be able to assign a keyboard shortcut to this toggle button. (Could not find a way in digikam 2.5.0) So please add this shortcut. Thanks!
Comment 1 saurabh 2013-04-10 04:59:44 UTC
Hello,
    I am interested in solving this bug.I went through the libs/imagedescedittab.cpp where this 'Tags already assigned' button is defined and try to set the shortcut for this button directly using setShortcut function but it doesn't work since focus is not on the part where the button is present.

So I wanted to ask to solve this bug whether it is compulsory to first bring focus on this button and then get shortcut to work or there is any easy way around.

Also to focus on this button from main window I need to first define some shortcut for tags/caption section and then define a shortcut  for this button

Correct me if I am wrong on any of the above or any more suggestions in solving this bug.
Comment 2 caulier.gilles 2014-09-10 08:08:17 UTC
Git commit 793515610d8156114c7872f32706ef6c8ab4c3a7 by Gilles Caulier.
Committed on 10/09/2014 at 08:06.
Pushed by cgilles into branch 'master'.

Add keyboard shortcuts to be able to switch tags tree-view as Already Assigned Tags mode :

AlbumGUI and Image Editor :
- Meta+A
LightTable :
- right sidebar : Meta+A
- left  sidebar : Shift+Meta+A
FIXED-IN: 4.4.0

M  +4    -2    NEWS
M  +5    -0    app/main/digikamapp.cpp
M  +6    -0    app/views/digikamview.cpp
M  +1    -0    app/views/digikamview.h
M  +23   -17   libs/imageproperties/imagedescedittab.cpp
M  +1    -0    libs/imageproperties/imagedescedittab.h
M  +18   -4    utilities/imageeditor/main/imagewindow.cpp
M  +1    -0    utilities/imageeditor/main/imagewindow.h
M  +22   -0    utilities/lighttable/lighttablewindow.cpp
M  +2    -0    utilities/lighttable/lighttablewindow.h

http://commits.kde.org/digikam/793515610d8156114c7872f32706ef6c8ab4c3a7