Opened 19 months ago

Last modified 18 months ago

#14726 confirmed defect

Impossible to select whether to copy or move in dnd operations under OSX

Reported by: agrawal.raj Owned by:
Priority: normal Milestone:
Component: wxOSX (any toolkit) Version: stable-latest
Keywords: drag and drop Cc:
Blocked By: Blocking:
Patch: no

Description

Hi,

I want to drag and drop text in file. For this I have found a sample application named as dnd (wxWidgets/sample) in c++. After running the same application I have found that whenever I drag and drop ( with or without pressing ctrl key), copy image only come. I never get move image.
On linux it is working fine but on mac I am getting above issue. Please assist me to solve this.

Thanks

Change History (6)

comment:1 follow-up: Changed 19 months ago by vadz

  • Priority changed from critical to normal
  • Status changed from new to infoneeded_new

Are you dragging to or from the dnd sample? And do you drag text or file?

Please describe the steps needed to reproduce the problem exactly.

comment:2 in reply to: ↑ 1 Changed 19 months ago by agrawal.raj

  • Status changed from infoneeded_new to new

Replying to vadz:

Are you dragging to or from the dnd sample? And do you drag text or file?

Please describe the steps needed to reproduce the problem exactly.

I am dragging and drop inside the application. I am dragging the text.
Steps are:

  1. Build and run the dnd sample application.
  2. You just drag the text and move to above the mouse above where you want to drop.You will see that you will get the copy image but you should get move image.

Please let me know if you could not reproduce at you end.

comment:3 Changed 18 months ago by vadz

  • Status changed from new to confirmed
  • Summary changed from Issue in drag and drop text to Impossible to select whether to copy or move in dnd operations under OSX

The text is indeed always copied. But then I don't even know how are you supposed to select whether it should be moved or copied under OS X, pressing Control or Cmd key doesn't seem to change anything so does anybody know how do you select, from the user point of view, between these operations?

comment:4 Changed 18 months ago by robind

I don't know if dragging text follows the same pattern, but for dragging files the Option (alt) key is usually used to indicate a Copy operation, and without the option key it will move.

comment:5 Changed 18 months ago by agrawal.raj

Yes, dragging text also follow the same pattern.

comment:6 Changed 18 months ago by vadz

I can reproduce it. I don't know enough about drag and drop under OS X to see what is the problem here however unfortunately.

Note: See TracTickets for help on using tickets.