SUMMARY The title bar (with directory path and Album date information) of the grid view allows to select all visible pictures STEPS TO REPRODUCE 1. Click the title bar of the grid view 2. All visible images will be selected 3. Click again, and Digikam selects again all selected visible images OBSERVED RESULT Clicking a second time on the title bar of the grid view should deselect pictures instead to select them, re-selection of already selected pictures simply makes no sense. EXPECTED RESULT Click one time on the tile bar of the grid view to select, click another time to deselect items, click again to select them again, etc.. SOFTWARE/OS VERSIONS macOS: 10.14.6
Vishal, according to your question, I would start looking in the class itemcategorydrawer.cpp file. There is the place where the title bar is set up. About this whole bug report. In my opinion it is not a bug. The current solution is a state less user interface what makes it much less error prune. I don't know any program that deselects all items after pressing Ctrl + A a second time.
(In reply to Marcel from comment #1) > Vishal, > according to your question, I would start looking in the class > itemcategorydrawer.cpp file. There is the place where the title bar is set > up. > > About this whole bug report. In my opinion it is not a bug. The current > solution is a state less user interface what makes it much less error prune. > I don't know any program that deselects all items after pressing Ctrl + A a > second time. I think ctrl+shift+A is used in code to unselect after ctrl A selection
Unfortunately I don't find a program example to see how others have implemented it. I'm not sure I would tend to leave it as it is now. Maik
Maik, where is the code to caught the mouse click on the album header ? Gilles
Git commit 89de517a7701fb18f2fd99d5bd74d7af6e390dbe by Maik Qualmann. Committed on 19/09/2024 at 19:47. Pushed by mqualmann into branch 'master'. implement item selection switcher for the category header FIXED-IN: 8.5.0 M +1 -1 NEWS M +18 -4 core/libs/widgets/itemview/dcategorizedview.cpp M +1 -0 core/libs/widgets/itemview/dcategorizedview_p.h https://invent.kde.org/graphics/digikam/-/commit/89de517a7701fb18f2fd99d5bd74d7af6e390dbe