Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-26105

QTableView shouldn't emit clicked signal on right click

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 4.8.2
    • Widgets: Itemviews
    • None
    • W7, VS2010 Express

    Description

      If these connections are defined, both signals are emited on right click.

      connect(tableView,SIGNAL(clicked(const QModelIndex&)),this,SLOT(clicked()));
      connect(tableView,SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(context_menu()));

      Qt should emit clicked only on left click at least if custom context menu is displayed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            wbrana William Brana
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes