Nux

Drag and Drop doesn't work correctly

Bug #892443 reported by Pavel Golikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nux
Confirmed
Undecided
Jay Taoko
Unity
Confirmed
Undecided
Unassigned
nux (Ubuntu)
Confirmed
Undecided
Unassigned
unity (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

nux-1.16.0 built from source.

When working with drag and drop, ProcessDndDrop function is not properly called. In /Nux/WindowCompositor.cpp there is a DndEventCycle function, where current_dnd_area geometry is checked. If our drop point is inside this geometry, HandleDndDrop function is called.
The problem is that the drop event coordinates are absolute, but InputArea's are not. This means that i can't get ProcessDndDrop function call if my InputArea is a child (in the layout) of another window that placed not in top left corner of the screen.

description: updated
description: updated
description: updated
Changed in nux:
status: New → Incomplete
status: Incomplete → New
description: updated
Changed in nux:
assignee: nobody → Cheakamus (jay)
assignee: Cheakamus (jay) → Jay Taoko (jaytaoko)
affects: unity → unity-foundations
Changed in nux:
status: New → Confirmed
Changed in unity-foundations:
status: New → Confirmed
Changed in nux (Ubuntu):
status: New → Confirmed
Revision history for this message
Omer Akram (om26er) wrote :

Please use 'unity' project as also affects even if the bug is in one of the infrastructural part.

affects: unity-foundations → unity
Revision history for this message
Pavel Golikov (paullo612) wrote :

Temporary fixed in ppa:paullo612/unityshell-rotated (just removed geometry check).

Changed in unity (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.