bugGNUstep - Bugs: bug #18313, Dragging destination...

Group
 
 

bug #18313: Dragging destination draggingSourceOperationMask

Submitter:  matt rice <ratmice>
Submitted:  Wed 15 Nov 2006 11:09:26 PM UTC
   
 
Category:  Backend Severity:  3 - Normal
Item Group:  Bug Status:  Ready For Test
Privacy:  Public Assigned to:  FredKiefer
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Mar 2007 04:38:41 PM UTC, comment #5: 

I am not saying I will do so. I just agree with matt rice that XdndActionList seems to be the solution. As for the document, it is not my call. I guess I just need to search the bug reports more often.

-Deleted Account- <yjchen>
Wed 28 Mar 2007 09:22:06 AM UTC, comment #4: 

Fine for me, if you add XdndActionList support. Seems like it has become a standard extension to the Xdnd protocol.
I leave this bug in the testing state until you have finished this.

Putting a comment on the limitation into NSDraggingInfo.h file looks wrong to me, as this is a backend specific limitation and wont affect you, when working within one GNUstep application.

Fred Kiefer <FredKiefer>
Group Member
Wed 28 Mar 2007 06:39:21 AM UTC, comment #3: 

It would be nice to put this limitation (one drag type only) in the header of NSDraggingInfo. Otherwise, I just spent one hour trying to figure out why I can only use one drag operation. And XdndActionList indeed seems to be the solution.

-Deleted Account- <yjchen>
Thu 15 Mar 2007 10:38:40 PM UTC, comment #2: 

yeah looks like that should fix the one example of the bug, though I'd personally leave this open until we can create an XdndActionList property and reconstitute that into a mask for draggingSourceOperationMask

but i'm not sure if that requires those larger changes to make GNUstep more xdnd standard compliant

matt rice <ratmice>
Group Member
Sun 11 Mar 2007 05:44:00 PM UTC, comment #1: 

I have changed the drag type mapping. This should remove most of the problematic cases. Still, when there are multiple possible types in GNUstep, only one will be reported back.

Fred Kiefer <FredKiefer>
Group Member
Wed 15 Nov 2006 11:09:26 PM UTC, original submission:  

in GSDragOperationForAction and GSActionForDragOperation
it will convert the operation mask into an action

this should probably be converted to use
XDndActionAsk if there is more than one possible operation,

as it is you cannot rely on the draggingSourceOperationMask in gui

a more specific problem with this is
NSDragOperationAll turns into a mask containing only NSDragOperationPrivate,

so it cannot be relied upon at all.




matt rice <ratmice>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rmottola (Updated the item)
  • -email is unavailable- added by yjchen (Posted a comment)
  • -email is unavailable- added by ratmice (Posted a comment)
  • -email is unavailable- added by FredKiefer (Posted a comment)
  •  

    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.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-01-15 rmottola Open/ClosedIn Test Closed
    2007-03-11 FredKiefer StatusNone Ready For Test
        Assigned toNone FredKiefer
        Open/ClosedOpen In Test

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code