qbrowse: Moving file to same dir gives error message

Bug #513112 reported by Gareth White
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Low
Unassigned

Bug Description

If you attempt to move a file to the directory it's already in, you get an error such as "bzr: ERROR: Could not move file1.txt => file1.txt: Target is already versioned."

This should really be a no-op rather than an error.

To reproduce:
* Create a working tree with one directory containing two files
* Run "bzr qbrowse"
* Expand the directory and drag one of the files over to this directory
* Alternatively, drag the file above or below the other file in the same directory

Tested with QBzr 0.18, Bazaar 2.1.0rc1, PyQt 4.4.3 on Windows XP SP3.

Tags: treewidget
Changed in qbzr:
importance: Undecided → High
status: New → Confirmed
tags: added: treewidget
Revision history for this message
Gary van der Merwe (garyvdm) wrote :

Unfortunately, when we get asked if a drop is allowed, we don't know what the dragged item is, so can't disable drops onto the original dir.

If we can't disable the drop, the user will still get a visual indication that the drop will be allowed, an hence I feel that the error message is appropriate.

Changed in qbzr:
importance: High → Low
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.