You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No idea how this got through - I am sure I tested it before committing (although its obvious from the final diff that it would not work).
Please recheck that all aspects of copy/paste and DnD work as expected (quotes are still not applied) - as will I.
Tests done with image and text files with spaces in the name.
[x] Drop image file into Github comment on Chrome works (Not on Firefox which inserts the filename)
[x] Drop image file onto Code text editor inserts filename (unquoted)
[x] Drop text file onto Code Welcome screen opens as doc
[x] Drop text file onto Code doc inserts filename (unquoted)
[x] Drop image file onto elementary Terminal shell inserts filename (quoted)
[x] Drop image file onto elementary Terminal tab navigates tab to parent folder
[x] Drop folder onto elementary Terminal tab navigates tab to folder
[x] Drop folder onto elementary Terminal add button opens new tab at folder
[ ] Drag and drop file onto its parent in Files fails on OS8/Wayland/VM but creates a link on OS7/X - is this expected?
[x] Copy paste file onto its parent creates a copy (renamed)
[x] Copy paste a file into another folder creates a copy (same name)
[x] Cut paste a file into another folder moves it
Drop image file into Github comment on Chrome works (Not on Firefox which inserts the filename)
Drop image file onto Code text editor inserts filename (unquoted)
Drop text file onto Code Welcome screen opens as doc
Drop text file onto Code doc inserts filename (unquoted)
Drop image file onto elementary Terminal shell inserts filename (quoted)
Drop image file onto elementary Terminal tab navigates tab to parent folder
^^^ This does cause a rapid succession of notifications since Files remains focused; might be nice to bypass the notifications or to pull focus in the future
Drop folder onto elementary Terminal tab navigates tab to folder
^^^ This does cause a rapid succession of notifications since Files remains focused; might be nice to bypass the notifications or to pull focus in the future
Drop folder onto elementary Terminal add button opens new tab at folder
Drag and drop file onto its parent
How did you test this? If I perform this drag and drop from one Files window to another, nothing happens. Drag and drop to the same parent folder on the side bar makes a copy
Copy paste file onto its parent creates a copy (renamed)
Copy paste a file into another folder creates a copy (same name)
V7.1.0 behaves the same for me when dragging onto its parent using OS8/Wayland in a VM - it fails. So its not due to recent changes and can be investigated later.
Drag and drop onto parent works for Classic session on OS8 so there seems to be a bug somewhere in Gtk3/Wayland/VM in relation to DnD it seems a certain signal is not being generated.
For some reason on Wayland the Gdk.Context associated with the drag does not include Gdk.DragAction.LINK whereas with X it does (the drag is set up in Code to allow linking). As linking is the only allowed action when dropping onto the same folder nothing happens in Wayland whereas a link is created in X 🤷
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Priority: CriticalCauses Files to crash, hang or otherwise become unusable
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #2602
Fixes regression caused by #2595
No idea how this got through - I am sure I tested it before committing (although its obvious from the final diff that it would not work).
Please recheck that all aspects of copy/paste and DnD work as expected (quotes are still not applied) - as will I.
Tests done with image and text files with spaces in the name.
[x] Drop image file into Github comment on Chrome works (Not on Firefox which inserts the filename)
[x] Drop image file onto Code text editor inserts filename (unquoted)
[x] Drop text file onto Code Welcome screen opens as doc
[x] Drop text file onto Code doc inserts filename (unquoted)
[x] Drop image file onto elementary Terminal shell inserts filename (quoted)
[x] Drop image file onto elementary Terminal tab navigates tab to parent folder
[x] Drop folder onto elementary Terminal tab navigates tab to folder
[x] Drop folder onto elementary Terminal add button opens new tab at folder
[ ] Drag and drop file onto its parent in Files fails on OS8/Wayland/VM but creates a link on OS7/X - is this expected?
[x] Copy paste file onto its parent creates a copy (renamed)
[x] Copy paste a file into another folder creates a copy (same name)
[x] Cut paste a file into another folder moves it
Any more tests required?