Summary: | Open images with double instead of single click | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Simon <simon.eu> |
Component: | Usability-Mouse | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | caulier.gilles, friiduh |
Priority: | NOR | ||
Version: | 1.3.0 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.0.0 | |
Sentry Crash Report: |
Description
Simon
2010-05-30 08:26:12 UTC
Go to KDE control panel, and change this behavior at the right place. digiKam will follow this settings. Gilles Caulier System settings > Keyboard and Mouse > Mouse > Double click for opening files/directories is activated. Just tested, works fine for me, cannot reproduce. Note: 1) You need to restart digikam for the changed setting to take effect in the icon view, at least with standard KDE style. 2) It is code in Qt's qabstractitemview.cpp that handles single/double click settings for us in the icon view: 1783: if (style()->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick, 0, this)) emit activated(index); That means your style is responsible to propagate this setting. I dont know which component failing for you. Can be an upstream or downstream problem. In any case, there is not a single line of code in digikam for this. Okay, thank you. So I'll just have to get used to it unless I find a way to change the QStyle behaviour. I can't get used to it. I've asked in the #qt channel: * The double click behaviour of Qt styles cannot be changed * It's strange that digikam is the _only_ application that uses a single click. Firefox, dolphin, kdenlive, ktorrent, all others use double click. * Running digikam with -style=plastique or _any_ other style does not change the behaviour. Always single clicks. * Also switching back to single click in the kde control center and then to double click again does not solve the problem. (With restarting digikam between.) So, as digikam is the only application that uses single clicks, I wonder whether this is really an upstream issue. I can not reproduce this either. I dont like single click systems myself. Especially because of digiKam where I need to manage multiple photos at once and select them. Even that I use so much Ctrl+click, I have learned it too well that first click selects first file and after that I need Ctrl. I have 1.3 version and I tested this by changing the behavior between the digiKam was closed for making sure. (Quit the digiKam -> change behavior -> re-start digiKam) Simon, It still valid using digiKam 2.x serie ? Gilles Caulier Nope – at least not on my laptop. Works the way it should here now. I just tested with KDE 4.10.5 with digiKam 4.0.0-beta1, and opening image from icon-view with one or double mouse click respect KDE Mouse control panel settings. digiKam just need to be restarted when you change this behavior in KDE control panel... Gilles Caulier |