Bug 231528 - The first photo should not be automatically selected in icon-views
Summary: The first photo should not be automatically selected in icon-views
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-IconView (show other bugs)
Version: 7.0.0
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 12:49 UTC by Dotan Cohen
Modified: 2024-04-15 19:53 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2010-03-21 12:49:19 UTC
Version:            (using KDE 4.4.1)
Installed from:    Unspecified Linux

Digikam automatically selects the first photo when entering an album. This should not be the case. Note that Dolphin, which also has the + selector icons, does not automatically select the first file/folder.

When the user wants to select photos she clicks the + sign. The first photo in an Album is already selected, which means that it often gets deleted / tagged incorrectly.
Comment 1 caulier.gilles 2010-03-22 09:19:16 UTC
I agree. I remember to have been perturbated with selection of fisrt item in camera icon view.

Gilles Caulier
Comment 2 caulier.gilles 2011-12-12 20:21:07 UTC
Dotan,

This entry still valid with 2.4 release ?

Gilles Caulier
Comment 3 Dotan Cohen 2011-12-12 21:30:24 UTC
Yes, Gilles, I still notice the issue in Digikam 2.4.
Comment 4 Marcel Wiesweg 2011-12-25 11:24:29 UTC
I would agree that in the camera icon view, there need not be an initial selection. This can be switched off in code by modifying d->ensureInitialSelectedItem flag in DCategorizedView.
In the main icon view, this was implemented to match behavior which existed in digikam for a very long time (< version 0.6), and has a reason: Without an initial selection, most of the right sidebars would be greyed out; the user is welcomed by an application which is apparently non-functional until he finds out that he needs to click on a picture to make use of all the right-side sidebars.
Comment 5 caulier.gilles 2013-11-25 17:09:16 UTC
Following Marcel comment #4, i set this entry to Import component.

Gilles Caulier
Comment 6 Salvatore Brigaglia 2014-02-17 13:13:00 UTC
Hi Guys this appears to be still valid and in general digikam UI not only in import
digiKam 4.11.5
Comment 7 caulier.gilles 2016-11-29 11:13:15 UTC
Can you reproduce the problem using digiKam Linux AppImage bundle ? The last
bundle is available at this url:

https://drive.google.com/drive/folders/0BzeiVr-byqt5Y0tIRWVWelRJenM

Gilles Caulier
Comment 8 Maik Qualmann 2019-07-30 21:00:50 UTC
*** Bug 406280 has been marked as a duplicate of this bug. ***
Comment 9 caulier.gilles 2020-08-02 21:43:45 UTC
digiKam 7.0.0 stable release is now published:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Best regards

Gilles Caulier
Comment 10 Paul 2020-08-03 08:10:53 UTC
(In reply to caulier.gilles from comment #9)

> We need a fresh feedback on this file using this version.

Using digiKam Version 7.0.0 I don't see any change in behaviour... When first entering an album the first image is still selected.

Is there now a setup option to control this behaviour? If there is I haven't been able to find it.

Best Regards, Paul
Comment 11 caulier.gilles 2023-04-20 06:00:50 UTC
Tested with digiKam 8.1.0: icon-view selection is restored when you switch between albums. If no selection is done in one album the first item is selected by default.

Maik, for me this file can be closed now. Right ?

Gilles
Comment 12 Maik Qualmann 2024-04-15 19:53:03 UTC
Git commit 850d82387534651c92672e6609ee382703d0655f by Maik Qualmann.
Committed on 15/04/2024 at 19:52.
Pushed by mqualmann into branch 'master'.

add option to disable select first album item

M  +1    -0    core/app/items/views/digikamitemview.cpp
M  +2    -0    core/libs/settings/applicationsettings.cpp
M  +3    -0    core/libs/settings/applicationsettings.h
M  +10   -0    core/libs/settings/applicationsettings_miscs.cpp
M  +4    -1    core/libs/settings/applicationsettings_p.cpp
M  +3    -0    core/libs/settings/applicationsettings_p.h
M  +12   -11   core/libs/widgets/itemview/itemviewcategorized.cpp
M  +5    -0    core/libs/widgets/itemview/itemviewcategorized.h
M  +11   -7    core/utilities/setup/misc/setupmisc.cpp
M  +1    -0    core/utilities/setup/misc/setupmisc_p.h

https://invent.kde.org/graphics/digikam/-/commit/850d82387534651c92672e6609ee382703d0655f