Summary: | THUMBBAR : item focus must stay in the middle [patch] | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Greg4b <rapide.aston.martin> |
Component: | Thumbs-BarView | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | caulier.gilles, metzpinguin, rapide.aston.martin |
Priority: | NOR | ||
Version: | 4.1.0 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | http://commits.kde.org/digikam/e2b0732413b4ffbd0d0ca59e60a6dd165c33ea38 | Version Fixed In: | 4.11.0 |
Sentry Crash Report: | |||
Attachments: |
focus should stay in the middle
scrolltocenter.patch scrolltocenter2.patch scrolltocenter3.patch scrolltocenter4.patch |
Description
Greg4b
2014-07-29 10:25:29 UTC
Created attachment 88010 [details]
focus should stay in the middle
digiKam 4.7.0 for Windows is available : http://download.kde.org/stable/digikam/digiKam-installer-4.7.0-1-win32.exe.mirrorlist Please test and report. Thanks in advance Gilles Caulier Created attachment 91823 [details]
scrolltocenter.patch
I need a feedback, whether you like this feature. This patch centered the current image in the preview mode of the import and digikam thumb bar.
Maik
Maik, Your patch touch stackedview from Album GUI and Import tool to control position of thumbbar items when contents is review in preview mode. What's about Image editor and showfoto. I can load dir with more than one items and change item focus with pageup page down while thumbbar is displayed near canvas. It can make a sense also to have current item loaded in thumbbar center. Other case is LightTable where a thumbar is used to view items list on pool. We can change item to compare on the right side with item on the left side using keyboard. In this case thumbbar focus must follow item displayed on right canvas... Gilles (In reply to Maik Qualmann from comment #3) > Created attachment 91823 [details] > scrolltocenter.patch > > I need a feedback, whether you like this feature. This patch centered the > current image in the preview mode of the import and digikam thumb bar. > > Maik Hello Maik, I'm sorry, but I'm not familiar with patches... I've tried Version 4.7.0 Using KDE Development Platform 4.10.2 and the situation is unchaned. I could provide feedback, when Instruction about patching the Version 4.7.0 is provided. Thanks, Gregor Greg, The patch is not intrusive and can be applied to 4.7.0 source code. This want to have digiKam source code on your computer and to apply patch to source. Recompilation and re-installation is of course mandatory. Did you install digiKam through a package or using source code (tarball) ? Gilles Caulier Hello Gilles, I've installed the Version 4.7.0 through a package. I'm afraid, I'm not able to install a development environment, since this is a company computer. Thanks, Gregor Created attachment 91865 [details]
scrolltocenter2.patch
This patch for testing contains now all thumb bars. It is a time controlled scroll activation needed to obtain a uniform visual feedback.
For to LightTable I find the centering of the thumbnails more of a hindrance. ShowFoto has the thumb bar a KineticScroller - was unknown to me, nice. Here test the interaction. Could the centering of the thumbnails disrupt the workflow of other users?
Maik
The patch has some problems with D&D. From thumb-bars it's possible to operate D&D with other parts of application (or with extra applications as Dolphin for ex) Your current patch scroll thumb-bar to the center when D&D start to be initiate. This is very problematic... Typically, you must : 1/ detect is D&D is initiate. 2/ scroll selected item to center after that D&D is completed, else GUI behavior is confuse. Gilles Yes, D&D is broken. I also find that if you use the buttons, the thumbnail image should not jump, but firmly stand in the middle. Maik Maik, Any progress here ? Did you seen also bug #338918 ? It can depend of this file i think... Gilles Maik, There is another entry in bugzilla which depend of this one more or less : https://bugs.kde.org/show_bug.cgi?id=344952 Gilles Created attachment 92743 [details]
scrolltocenter3.patch
New patch for testing to center the current thumbnail.
Maik
Maik Patch version 3 work perfectly. Great job... Note : bug #338918 can be closed also with this file... Gilles Created attachment 92772 [details]
scrolltocenter4.patch
Final version of the patch to commit.
Maik
Git commit e2b0732413b4ffbd0d0ca59e60a6dd165c33ea38 by Maik Qualmann. Committed on 21/05/2015 at 19:54. Pushed by mqualmann into branch 'master'. apply patch #92772 to scroll the current index to center of the view Related: bug 344952 FIXED-IN: 4.11.0 M +3 -1 NEWS M +1 -0 app/items/imagethumbnailbar.cpp M +33 -0 libs/widgets/itemview/dcategorizedview.cpp M +4 -0 libs/widgets/itemview/dcategorizedview.h M +1 -0 showfoto/thumbbar/showfotothumbnailbar.cpp M +1 -0 utilities/importui/views/importthumbnailbar.cpp http://commits.kde.org/digikam/e2b0732413b4ffbd0d0ca59e60a6dd165c33ea38 Git commit b1202b4ec7042bb115fba39d2f20d1238fd42b5a by Gilles Caulier. Committed on 22/05/2015 at 14:27. Pushed by cgilles into branch 'frameworks'. backport commit #e2b0732413b4ffbd0d0ca59e60a6dd165c33ea38 from git/master to frameworks branch Related: bug 344952 M +1 -0 app/items/imagethumbnailbar.cpp M +33 -0 libs/widgets/itemview/itemviewcategorized.cpp M +4 -0 libs/widgets/itemview/itemviewcategorized.h M +1 -0 showfoto/thumbbar/showfotothumbnailbar.cpp M +1 -0 utilities/importui/views/importthumbnailbar.cpp http://commits.kde.org/digikam/b1202b4ec7042bb115fba39d2f20d1238fd42b5a Git commit 820c66bac12f1f0b00b4b1ba1deef5dc64d30397 by Maik Qualmann. Committed on 30/06/2015 at 17:56. Pushed by mqualmann into branch 'master'. fixing scroll to center of the thumb bar when an image is deleted Related: bug 344952 M +10 -0 libs/widgets/itemview/dcategorizedview.cpp M +1 -0 libs/widgets/itemview/dcategorizedview.h http://commits.kde.org/digikam/820c66bac12f1f0b00b4b1ba1deef5dc64d30397 Git commit dbca06a5b5fdab7856b04c2d6325ec78b9b61ed4 by Gilles Caulier. Committed on 01/07/2015 at 07:47. Pushed by cgilles into branch 'frameworks'. backport commit #820c66bac12f1f0b00b4b1ba1deef5dc64d30397 from git/master to frameworks branch Related: bug 344952 M +10 -0 libs/widgets/itemview/itemviewcategorized.cpp M +1 -0 libs/widgets/itemview/itemviewcategorized.h http://commits.kde.org/digikam/dbca06a5b5fdab7856b04c2d6325ec78b9b61ed4 sorry, but in 5.4 the desired behaviour - item focus in fixed in the middle - is not working. In Linux 5.4 the focus moves to the outer area of right (or left) - this behaviour is undesired. This option is optional and is disabled at default. Look in the settings-> miscellaneous. Maik |