Summary: | Information modules require double-clicking | ||
---|---|---|---|
Product: | [Applications] kinfocenter | Reporter: | Kayra Akman <ckakman> |
Component: | KInfoCenter Viewer | Assignee: | David Hubner <hubn3rd> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | lueck |
Priority: | NOR | ||
Version: | 4.10.5 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.12 | |
Sentry Crash Report: |
Description
Kayra Akman
2013-10-19 20:12:46 UTC
System Settings -> Input Devices -> Mouse -> "Single-click to open files and Folder" selected I can not reproduce this issue with Kubuntu 12.04/KDE 4.11.1, 4.11 + master compiled from sources I think at other places we used "clicked" instead of "activated" signal to avoid depending on that configuration (which does not make sense here). (In reply to comment #1) > System Settings -> Input Devices -> Mouse -> "Single-click to open files and > Folder" selected > > I can not reproduce this issue with Kubuntu 12.04/KDE 4.11.1, 4.11 + master > compiled from sources I am using the "double-click" version of that setting. When switching to the "single-click" it works as expected. However the items in KInfoCenter are neither files nor folders, IMHO, it should not consider that setting. $ wcgrep activated kinfocenter/ kinfocenter/sidepanel.cpp:49: connect(this,SIGNAL(activated(QModelIndex)),this,SLOT(activatedSlot(QModelIndex))); kinfocenter/sidepanel.cpp:54: disconnect(this,SIGNAL(activated(QModelIndex)),this,SLOT(activatedSlot(QModelIndex))); kinfocenter/sidepanel.cpp:60:void SidePanel::activatedSlot(const QModelIndex &index) kinfocenter/sidepanel.cpp:67: emit activated(item); kinfocenter/sidepanel.cpp:78: emit activatedSlot(rootIndex); kinfocenter/sidepanel.h:84: void activated(const KcmTreeItem *); kinfocenter/sidepanel.h:91: void activatedSlot(const QModelIndex &index); kinfocenter/Modules/view1394/view1394.cpp:195: connect(notif, SIGNAL(activated(int)), this, SLOT(callRaw1394EventLoop(int))); kinfocenter/infocenter.cpp:73: connect(m_sideMenu,SIGNAL(activated(const KcmTreeItem*)),this,SLOT(itemClickedSlot(const KcmTreeItem*))); kinfocenter/infocenter.cpp:106: disconnect(m_sideMenu,SIGNAL(activated(const KcmTreeItem*)),this,SLOT(itemClickedSlot(const KcmTreeItem*))); @Christoph Feck Where should "activated" be changed to "clicked" ? I shall fix this tomorrow morning. Commit: 5f60ce14f213cc6a083bc73b6b0732de6fb30249 Change sidepanel events from activated to clicked Change the events due to the single click, double click setting in KDE not being taken into account. BUG: 326291 FIXED-IN: 4.12 |