[Digikam-devel] [digikam] [Bug 313855] Double click over the preview canvas to leave preview mode

Gilles Caulier caulier.gilles at gmail.com
Sat Sep 27 10:29:17 BST 2014


https://bugs.kde.org/show_bug.cgi?id=313855

--- Comment #11 from Gilles Caulier <caulier.gilles at gmail.com> ---
Marcel,

To look in code we have these methods in preview canvas :

1/ To handle double click event and emit signals :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/widgets/graphicsview/graphicsdimgview.cpp#L205

2/ To handle simple click event and emit signals :

https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/libs/widgets/graphicsview/graphicsdimgview.cpp#L278

In both the famous signal used in previous implementation to go back in
icon-view was activated() must be fire, but here it never appear.

Note : 

in 1/, activated() emit respect double click settings from KDE control center.
in 2/, activated() emit respect single click settings from KDE control center.
There is 1 condition to emit signal : no panning in progress.

Gilles

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list