Bug 211622 - Pressing PageDown should show the next image when focus is in Captions/Tags side bar
Summary: Pressing PageDown should show the next image when focus is in Captions/Tags s...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Keyboard (show other bugs)
Version: 1.0.0
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-24 10:19 UTC by Simon
Modified: 2017-08-04 21:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.4.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon 2009-10-24 10:19:39 UTC
Version:           1.0.0-beta6 (rev.: 1035699) (using 4.3.2 (KDE 4.3.2), Debian packages)
Compiler:          cc
OS:                Linux (i686) release 2.6.31-4.slh.1-sidux-686

At the moment pressing PageUp or PageDown in the Image Viewer has no effect when the (text) cursor is in the Caption field. That is quite a nuisance when adding captions to multiple images. After entering the caption you have to click somewhere (but not on the image, because this would show the thumbnail overview, and not on any checkbox that would change anything on the image, and ...) to remove focus from the text field. And then you can press PgUp/PgDwn

I except pressing PgDwn/PgUp just switches to the next image. 
Why should this be blocked anyway? For sure not because the keys can be used for scrolling in the Caption field. (Give me any user who writes more than 5 lines there.)
Comment 1 Marcel Wiesweg 2009-11-06 16:28:46 UTC
It's not actively blocked by digikam, rather the QTextEdit widget will accept QKeySequence::MoveToNextPage (Page Down) etc. keys in its keyPressEvent method.
We can override that method or install an event filter if we want to use these keys globally.
Comment 2 Simon 2009-11-06 16:47:52 UTC
Oh great, Qt limitations again.
Global use ... yes, why not? I cannot think of a situation where I'd need PgUp and so in text boxes at the moment.
Comment 3 caulier.gilles 2014-09-09 15:49:55 UTC
Git commit cc2b72b933fa72841b665d6bb82efde4bb518669 by Gilles Caulier.
Committed on 09/09/2014 at 15:46.
Pushed by cgilles into branch 'master'.

Bump Exiv2 lib version dependency to 0.24
Add new method to get access to text edit widget from AltLangStrEdit widget, to be able to install events filter in client application.
Bump libkexiv2 API/ABI version
Related: bug 201698

M  +4    -3    CMakeLists.txt
M  +6    -1    libkexiv2/altlangstredit.cpp
M  +5    -1    libkexiv2/altlangstredit.h

http://commits.kde.org/libkexiv2/cc2b72b933fa72841b665d6bb82efde4bb518669
Comment 4 caulier.gilles 2014-09-09 15:53:04 UTC
Git commit 26abf66c86cd9e374a1a7c34fe4bc2110bd7adbf by Gilles Caulier.
Committed on 09/09/2014 at 15:50.
Pushed by cgilles into branch 'master'.

Restore CTRL+ENTER action to Captions/Tags sidebar when focus is given to text edit widget.
Add new events filter to re-route PageUp/PageDown action from TextEdit wigets to icon-view, to be able to naviguate between items while properties editing.
These feature require KExiv2 2.3.2 to work.
Related: bug 201698
FIXED-IN: 4.4.0

M  +5    -1    NEWS
M  +10   -0    libs/imageproperties/captionedit.cpp
M  +7    -0    libs/imageproperties/captionedit.h
M  +20   -2    libs/imageproperties/imagedescedittab.cpp

http://commits.kde.org/digikam/26abf66c86cd9e374a1a7c34fe4bc2110bd7adbf