[Xfce-bugs] [Bug 14583] 1.8.x Regression: right-click drag and drop does not show a context menu on drop any more

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Mar 28 15:18:55 CET 2019


https://bugzilla.xfce.org/show_bug.cgi?id=14583

Theo Linkspfeifer <lastonestanding at tutanota.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lastonestanding at tutanota.co
                   |                            |m

--- Comment #10 from Theo Linkspfeifer <lastonestanding at tutanota.com> ---
The code for right-click drag handling was removed [1]. Furthermore, the
fuction gdk_drag_context_set_suggested_action() is not available anymore, so a
replacement is needed. Maybe changing the code [2] to something like this will
work:

action = ((gdk_drag_context_get_actions (context) & GDK_ACTION_ASK) != 0)

Lastly, the context menu popup behavior was changed [3], and that results in
thunar_dnd_ask() returning 0 immediately.

---
[1]
https://git.xfce.org/xfce/thunar/commit/?id=266f3fbd5f0a40382bac06828922317d1eabf67f
[2]
https://git.xfce.org/xfce/thunar/tree/thunar/thunar-standard-view.c?h=thunar-1.8.4#n3471
[3]
https://git.xfce.org/xfce/thunar/commit/thunar/thunar-gtk-extensions.c?id=bc74029cea6ea874d0358570ce5d374e60ed86b8

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


More information about the Xfce-bugs mailing list