Bug 364065 - image editor doesn't open at double click
Summary: image editor doesn't open at double click
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Image (show other bugs)
Version: 4.8.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 16:03 UTC by Garthhh
Modified: 2016-06-09 04:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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