Opened 10 years ago

Closed 9 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:


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)

left_click.patch (656 bytes) - added by sentaus 10 years ago.
Patch for this bug
double_click.patch (805 bytes) - added by sentaus 10 years ago.
Double click fix

Download all attachments as: .zip

Change History (8)

Changed 10 years ago by sentaus

Patch for this bug

comment:1 Changed 10 years ago by rb07

Normal operation is:

One click: selects torrent.

Double click: opens properties.

Perhaps you have your desktop, or mouse, configured differently.

Changed 10 years ago by sentaus

Double click fix

comment:2 Changed 10 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 10 years ago by sentaus

double_click.patch fixes the issue in KDE. Single click selects torrent, double click opens properties window.

comment:4 Changed 10 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 10 years ago by sentaus

Ah, yes, you are right.

I've found some sililar cases at stackoverflow and qtcentre:

Maybe QObject::installEventFilter will be helpful, I'll investigate if it is possible to use for single clicks filtering.

comment:6 Changed 9 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

Note: See TracTickets for help on using tickets.