Bug 364065

Summary: image editor doesn't open at double click
Product: [Applications] digikam Reporter: Garthhh <GcHoyman>
Component: Thumbs-ImageAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version: 4.8.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.0
Sentry Crash Report:

Description Garthhh 2016-06-07 16:03:32 UTC
stopped working after using batch queue

Reproducible: Always

Steps to Reproduce:
1.open digikam
2.double click image
3.

Actual Results:  
none

Expected Results:  
image editor opens
Comment 1 caulier.gilles 2016-06-08 06:07:59 UTC
Fixed in 5.0.0.

Before, we use only the KDE desktop settings to know if single or double mouse click was used to open item in editor :

KGlobalSettings::singleClick()

Now with Qt5, we use generic API to know this settings from all desktop which are supported by Qt :

qApp->style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick)

The single or double click behavior is now taken from the application style applied be the desktop running the application.

Gilles Caulier
Comment 2 caulier.gilles 2016-06-08 12:34:41 UTC
Note : The porting from KDE4 to KF5 documentation explain well the changes to do in source code :

https://api.kde.org/frameworks/kdelibs4support/html/classKGlobalSettings.html#a225260756a0d0c9c11a9b39bcd671c08

Gilles Caulier
Comment 3 Garthhh 2016-06-09 03:37:29 UTC
the image editor won't open at all no matter how many times I click
if click on a file, click on the image editor toolbar icon, I can't advance to the next image unless I select all
Comment 4 caulier.gilles 2016-06-09 04:48:08 UTC
Update to last digiKam 4.14.0 and try again.

Gilles Caulier