[knotes] [Bug 358973] Knotes do not drag, they only drop at the location of the released mouse-button

Laurent Montel bugzilla_noreply at kde.org
Wed Jun 6 12:50:47 BST 2018


https://bugs.kde.org/show_bug.cgi?id=358973

Laurent Montel <montel at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.8.3
      Latest Commit|                            |https://commits.kde.org/kno
                   |                            |tes/d7555e0e92b358a47a0c352
                   |                            |62a89ade44a1124e1
         Resolution|---                         |FIXED

--- Comment #11 from Laurent Montel <montel at kde.org> ---
Git commit d7555e0e92b358a47a0c35262a89ade44a1124e1 by Laurent Montel.
Committed on 06/06/2018 at 11:48.
Pushed by mlaurent into branch 'Applications/18.04'.

Apply patch from Robert Hoffmann

Notes did not drag, only when releasing the mouse button,
the note was placed at the new position.

Use QMouseEvent::buttons() to check for buttons pressed
instead of QMouseEvent::button(), which always returns
Qt::NoButton for mouse move events (see documentation).

Differential Revision: https://phabricator.kde.org/D13379
FIXED-IN: 5.8.3

M  +2    -1    src/notes/knote.cpp

https://commits.kde.org/knotes/d7555e0e92b358a47a0c35262a89ade44a1124e1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list