Opened 9 years ago
Closed 8 years ago
#4910 closed Bug (duplicate)
Left-click on a torrent opens its properties window.
Reported by: | sentaus | Owned by: | jordan |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | Qt Client | Version: | 2.51 |
Severity: | Normal | Keywords: | |
Cc: |
Description
If you left-click on a torrent in main window of QT client, then torrent properties window will be opened. It looks odd, is it possible to disable opening this window and just select torrent on left click?
Attachments (2)
Change History (8)
Changed 9 years ago by sentaus
comment:1 Changed 9 years ago by rb07
Normal operation is:
One click: selects torrent.
Double click: opens properties.
Perhaps you have your desktop, or mouse, configured differently.
comment:2 Changed 9 years ago by sentaus
I have this issue in KDE 4.8.3, by default files&folders are opened by single click there and switching to double-click solves the issue.
Is it an option to replace activated event with doubleClicked event (see double_click.patch) to allow KDE users to use default settings?
comment:3 Changed 9 years ago by sentaus
double_click.patch fixes the issue in KDE. Single click selects torrent, double click opens properties window.
comment:4 Changed 9 years ago by jordan
"activated" is the correct semantic trigger, not "doubleClicked".
The Qt documentation puts it this way:
This signal is emitted when the item specified by index is activated by the user. How to activate items depends on the platform; e.g., by single- or double-clicking the item, or by pressing the Return or Enter key when the item is current.
So, it seems like things are operating as Qt intends? Changing the trigger from a semantic one to a physical one doesn't seem like a great solution. Can you do some research on how other applications handle this issue?
comment:5 Changed 9 years ago by sentaus
Ah, yes, you are right.
I've found some sililar cases at stackoverflow and qtcentre: http://www.qtcentre.org/archive/index.php/t-21884.html http://stackoverflow.com/questions/7165453/qtableview-best-way-to-change-activation-trigger-to-double-click
Maybe QObject::installEventFilter will be helpful, I'll investigate if it is possible to use for single clicks filtering.
comment:6 Changed 8 years ago by jordan
- Resolution set to duplicate
- Status changed from new to closed
Actually I think this is related to #4624 and is possibly solved by 13438...?
Closing as a duplicate for now, please reopen if this is incorrect
Patch for this bug