Opened 11 years ago

Closed 8 weeks ago

#9971 closed bug (fixed)

[Tracker] always asks for move confirmation on drag

Reported by: diver Owned by: jscipione
Priority: normal Milestone: R1/beta6
Component: Applications/Tracker Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

If you have a query window opened with results from read only folders (in case of Haiku.PM there are a lot of them) and you try to drag a file from the query window to the Desktop Tracker ask you for move confirmation. If you do the same using "normal" tracker window Tracker silently copy it.

Attachments (1)

moveORcopy.png (6.7 KB ) - added by humdinger 2 months ago.

Download all attachments as: .zip

Change History (7)

comment:1 by anevilyak, 10 years ago

Owner: changed from anevilyak to nobody
Status: newassigned

comment:2 by humdinger, 2 months ago

Owner: changed from nobody to jscipione

Still true. Not necessarily related to PM "read-only" folders. Just do a regular query and drag any of the results to your Desktop. Tracker will ask, "Move or copy?":

You'd expect the file gets silently moved when its on the same volume as the destination, and copied if it's not.

Even worse, the above BAlert doesn't have a button to "Copy", just "Move" or "Cancel".

Even worse, if you choose "Move" and the destination is not on the same volume, it actually is copied. If source and destination are on the same volume, it gets correctly moved.
So, it seems this alert should just not be shown at all, the operation already works as with any Tracker window.

I'll assign to John, as he's our Tracker/Query/Fileop specialist. :)

by humdinger, 2 months ago

Attachment: moveORcopy.png added

comment:3 by waddlesplash, 2 months ago

Milestone: R1R1/beta6

comment:4 by jscipione, 8 weeks ago

The functionality described in this ticket has been present since being imported into Open Tracker. I don't see what we can do other than taking this dialog out entirely. Code is here:

https://git.haiku-os.org/haiku/tree/src/kits/tracker/PoseView.cpp#n5111

comment:5 by jscipione, 8 weeks ago

Status: assignedin-progress

comment:6 by waddlesplash, 8 weeks ago

Resolution: fixed
Status: in-progressclosed

Fix merged in hrev58186.

Note: See TracTickets for help on using tickets.