Bug 449847

Summary: Sticky selection
Product: [Applications] digikam Reporter: Peter <benedekppeter>
Component: Usability-MouseAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 7.6.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 7.6.0
Sentry Crash Report:

Description Peter 2022-02-09 12:36:02 UTC
SUMMARY
Happen: LinuxMint 20.3; Digikam 7.x appimage and MS Windows 10

Sometimes it happens, digikam starts selecting items after the user choose a tag, but didn't click the Apply button.
In this case appear a Window. If the user clicking yes or no, the windows is disappear, but the selection function is activated (it is usually reproduced on the second experiment).
It is usually difficult to get rid of this selection event

STEPS TO REPRODUCE
1. Select an item
2. Add a tag, but don't click Apply button
3. In the appear window click yes or no button
4. Repeat the steps

SOFTWARE/OS VERSIONS
Windows: 10
macOS: -
Linux/KDE Plasma: appimage; LinuxMint 20.3 64bit
(available in About System)
Comment 2 Maik Qualmann 2022-02-09 12:44:37 UTC

*** This bug has been marked as a duplicate of bug 435413 ***
Comment 3 Maik Qualmann 2022-02-09 18:47:30 UTC
Git commit b77ea1288ae6375406e84cea977b5ac2a71d690d by Maik Qualmann.
Committed on 09/02/2022 at 18:44.
Pushed by mqualmann into branch 'master'.

fix unwanted selection start in the item view
Related: bug 435413
FIXED-IN: 7.6.0

M  +2    -2    NEWS
M  +2    -0    core/libs/widgets/itemview/dcategorizedview.cpp
M  +3    -1    core/libs/widgets/itemview/itemviewcategorized.cpp

https://invent.kde.org/graphics/digikam/commit/b77ea1288ae6375406e84cea977b5ac2a71d690d
Comment 4 Peter 2022-02-09 19:59:38 UTC
Maik, You are superman! Thanks!
Comment 5 caulier.gilles 2022-02-09 20:02:30 UTC
The patch will be available in next pre-release bundle tomorrow at this place :

https://files.kde.org/digikam/

... and yes Maik rock (:=)))

Gilles Caulier
Comment 6 Maik Qualmann 2022-02-09 20:35:17 UTC
Git commit 7cecd771f5fca2b41ba0b2abf4d485a36009e8d3 by Maik Qualmann.
Committed on 09/02/2022 at 20:33.
Pushed by mqualmann into branch 'master'.

prevent also a possible item drag start

M  +5    -0    core/libs/widgets/itemview/dcategorizedview.cpp

https://invent.kde.org/graphics/digikam/commit/7cecd771f5fca2b41ba0b2abf4d485a36009e8d3
Comment 7 Maik Qualmann 2022-02-09 20:37:28 UTC
Well, with the praise, let's hope that it's fixed and that no new problems arise. ((:-))

Maik
Comment 8 Peter 2022-02-09 20:45:18 UTC
I hope! :D
Comment 9 caulier.gilles 2022-02-10 07:01:18 UTC
Peter,

The new Windows 7.6.0 pre-release installer will be ready to test in 30 minutes online at https://files.kde.org/digikam/

Best Regards

Gilles Caulier
Comment 10 Peter 2022-02-10 07:15:05 UTC
Super. I wait it.
Comment 11 Peter 2022-02-10 07:17:28 UTC
Oh, and here it is. I'm already testing ...
Comment 12 Peter 2022-02-10 07:26:35 UTC
Tested in Windows 10 64bit.

Excellent! Working perfectly!
Thanks Maik and Gilles Caulier!

Regards
Peter