Bug 308836

Summary: Add keyboard shortcuts to toggle display of left and right sidebar
Product: [Applications] digikam Reporter: julien.t43+kde
Component: Usability-KeyboardAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: caulier.gilles
Priority: NOR    
Version: 2.8.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.3.0

Description julien.t43+kde 2012-10-22 21:54:26 UTC
Following thread http://mail.kde.org/pipermail/digikam-users/2012-October/016930.html,
it would be nice to have some shortcut to make visible or not the left and right panel in digikam.

As a sidenote, appearance should allow the keyboard focus to be in corresponding panel right after and eventually allow the user to configure the shortcut in the corresponding settings.
Else F10/F11 would be nice default.

Reproducible: Always
Comment 1 caulier.gilles 2012-10-23 07:15:34 UTC
Shortcuts are fine, but which tab to display on left and right when none have been selected by user (with mouse for ex) since digiKam session ?

Gilles Caulier
Comment 2 julien.t43+kde 2012-10-23 21:03:35 UTC
As a personal opinon, I would the say the first one as a default with the focus if possible on the corresponding list so user can easily switch to another.

In my experience, digikam doesn't offer the right tab by default (here "second-level" tab: mainly, when right panel unvisible, if asking for Tags > More Tags, I get the right panel with title/description tab)

Another option would be last used tab but it will depend a lot on user preference, some will prefer first tab. More laborious would to have a setting for in Configure shortcuts: panel left/right > default tab > shortcut

After, some of the left panel tabs already have a shorcut option (advanced search, search on map, ...). There is nothing for right panel.

AFAIC, I would choose Albums for left and Edit legend/tags because that's what I used the most, but it depends on user ...
Comment 3 caulier.gilles 2014-09-03 07:57:32 UTC
Git commit ae28b6fa1c1dd293a1bb2306a068810967b7089f by Gilles Caulier.
Committed on 03/09/2014 at 07:55.
Pushed by cgilles into branch 'master'.

Add new shortcuts to switch visibility of left and right side-bar : CTRL+META+LEFT and CTRL+META+RIGHT
FIXED-IN: 4.3.0

M  +11   -0    digikam/main/digikamapp.cpp
M  +2    -0    digikam/main/digikamapp.h
M  +12   -0    digikam/views/digikamview.cpp
M  +2    -0    digikam/views/digikamview.h
M  +18   -2    libs/widgets/mainview/dxmlguiwindow.cpp
M  +9    -3    libs/widgets/mainview/dxmlguiwindow.h
M  +7    -0    utilities/imageeditor/editor/editorwindow.cpp
M  +2    -1    utilities/imageeditor/editor/editorwindow.h
M  +7    -0    utilities/importui/main/importui.cpp
M  +2    -1    utilities/importui/main/importui.h
M  +13   -0    utilities/lighttable/lighttablewindow.cpp
M  +3    -0    utilities/lighttable/lighttablewindow.h

http://commits.kde.org/digikam/ae28b6fa1c1dd293a1bb2306a068810967b7089f