patchGnash - The GNU Flash player - Patches: patch #9015, Prevent right click from signaling...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #9015: Prevent right click from signaling a mousedown in Qt-based gui

Submitter:  Dag Hovland <daghovland>
Submitted:  Thu 02 Jun 2016 10:43:52 AM UTC
   
 
Category:  gui-kde Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  strk Open/Closed:  Closed

Thu 02 Jun 2016 07:21:51 PM UTC, comment #1: 

Pushed in master f6a0b38 - Thank you !

Sandro Santilli <strk>
Group Member
Thu 02 Jun 2016 10:43:52 AM UTC, original submission:  

This is a patch for bug https://savannah.gnu.org/bugs/?48066

In the qt-based gui's, right-clicks with the mouse lead to a mousedown event. This is inconsistent with the behaviour in the gtk-based gui's. The patch adds a filter for LeftButton in the two qt-based gui's like this:

void
qwidget::mousePressEvent(QMouseEvent* event)
{
    if(Qt::LeftButton & event->button())
_godfather->notifyMouseClick(true);
}

Dag Hovland <daghovland>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #37352:  rightclick.patch added by daghovland (885B - text/x-patch - patch for Qt4 left mouse click filter)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by strk (Posted a comment)
  • -email is unavailable- added by daghovland (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-02 strk StatusNone Done
        Assigned toNone strk
        Open/ClosedOpen Closed
    2016-06-02 daghovland Attached File- Added rightclick.patch, #37352

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code