! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Moving or copying several files by dragging them de-selects the other objects
Status:
CLOSED: FIXED

Comments

Description Mikko Linnalo 2006-02-25 14:46:11 CET
Moving or copying several files by dragging them de-selects the other objects.
Same thing happens almost all the time when trying to drag'n'drop multiple files
while holding Shift pressed (moving the files), no matter how the files were
selected (painting with mouse, Ctrl clicking, Shift clicking...)

Reproducible: Always
Steps to Reproduce:
1. Select multiple files by clicking them while holding Ctrl or Shift pressed. 
2. Try to drag the selected items to other folder (with or without holding the
Shift or Ctrl)
3. All but the file that's being dragged gets de-selected and only dragged file
gets moved/copied.
Comment 1 Benedikt Meurer editbugs 2006-02-25 14:47:40 CET
In the icon view or the details view?
Comment 2 Benedikt Meurer editbugs 2006-02-26 20:46:16 CET
If you are talking about the details view, that should be fixed now.
Comment 3 Mikko Linnalo 2006-02-26 21:58:29 CET
It's actually valid for both views. Most easily reproduced as follows:
1. Select e.g. 2 files by clicking them while holding Ctrl pressed
2. While keeping Ctrl pressed (and focus is still on last selected file), grab
the last selected file and try to drag'n'drop it to a folder
3. Grabbed file gets de-selected and only the other selected file gets copied.

Similar thing happens when trying to move the files with drag'n'drop holding
shift pressed. In that case only the grabbed file gets moved. This is only valid
in icon view, and only valid if files were selected holding Ctrl.

- Both cases seems to work now if just drag'n'dropping the files, but not if
keeping Ctrl or Shift pressed while drag'n'dropping them.
Comment 4 Benedikt Meurer editbugs 2006-02-26 22:01:01 CET
Well, that's the expected behaviour. Shift/Control plus button 1 will always
modify the selection (on button-press). If you do not want to modify the
selection, release Shift/Control prior to dragging files.
Comment 5 Mikko Linnalo 2006-02-26 22:14:38 CET
Ok, I understand the situation for Ctrl usage, because drag'n'drop copying does
not need Ctrl pressed. But shift is needed if user wants to move files with
drag'n'drop, and the behaviour is now different between icon view and detailed
list view. This seems like a bug to me. 

Example about this bug in icon view:
1. Select e.g. 2 files by clicking them while holding Ctrl pressed
2. While keeping Shift pressed, grab the last selected file and drag'n'drop it
to a folder
3. Other than the grabbed file gets de-selected and only the selected file gets
moved

In detailed list view, nothing gets de-selected and moving all the selected
files works as should (or how I think it should :p)
Comment 6 Benedikt Meurer editbugs 2006-02-26 23:59:58 CET
Fixed with revision 20106.

2006-02-27	Benedikt Meurer <benny@xfce.org>

	* exo/exo-icon-view.c(exo_icon_view_button_press_event): Do not alter
	  selection while shift is pressed when clicking on an already selected
	  file. Bug #1501.

Bug #1501

Reported by:
Mikko Linnalo
Reported on: 2006-02-25
Last modified on: 2009-07-17

People

Assignee:
Jannis Pohlmann
CC List:
0 users

Version

Version:
0.2.1svn

Attachments

Additional information