-
Sponsor
Sponsor TeamAmaze/AmazeFileManager
- Notifications
- Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Features - Drag and drop; range selection #2427
Conversation
Few things to test (not limited to this):
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Erratic range selection in AVD. It seems that it is not a "range" just "the ones that are under your finger when the app detects it"
A lot of glichyness, when selecting and moving the finger up or down. |
That was expected as we're also showing a checkbox in front of icon, when it's animating, if it's disabled again that might be the cause of problem. Maybe We can disable this checkbox and just highlight the item or keep this as it is. I'll see if I can improve it. |
It seems glitchy:
The dragging needs to be intuitive, because there is no visual indication that the "dragging" state is on, so the user has to know it is on by themselves. |
Fixes:
|
It is my opinion that all that cannot be selected when dragging should be removed from view to unclutter the space. |
Agreed, there's no other way to solve this. We can only support whether user wants to drag and select or drag + drop to copy / move. Both can't be done simultaneously. Most file managers support only either, not even both. So giving both options in itself should be more than enough.
If you long press and come to bottom part of screen it'll drag down the directory, similarly if you drag finger to app bar while holding it'll drag up the directory. You can also drag to left and right corners to switch between tabs and keep holding the items to move.
Move / copy operation will be performed only after user drops. Before long press he gas to select all the files he wants to move / copy. It's quite a normal behaviour, what else do you expect.
If by cancelling you mean cancel the drag / drop the. He can simply drop it on files in current directory or the empty space below or even on app bar.. anywhere except any directory.. again that's quite normal. It even highlights a directory denoting if you drop there an operation will be performed.
Yes, is a problem with most of the other file managers as well. Might be able to increase the size of icon but I'm saving it for some other day.
Really bad UX IMO. It makes the operation slow and annoying. The most that can be done is show a dialog to ask whether to move or copy, and provide an option to remember the operation. That'll solve both the problems. Actually three, I can put a cancel button in dialog as well that'll provide another way to cancel the operation.
I don't understand what you mean by putting finger down.
Moving to parent folder can be done using dropping to go back button. Adding anything more will add to complication and won't be worth.
Please elaborate.
This will cause a lot of problems with deciding whether user is dropping on item above or below. The framework support callbacks when the shadow enters a view. So if I shift the view a bit above wrong callbacks will be sent. |
Sorry I meant when the dragging starts.
I proposed "Adding more 'views' for different categories of settings." and "By making the drag feature by long pressing on the icon, and the select feature by long pressing on the body of the item." what do you think of those fixes?
Okay.
What do you mean by "the shadow"? If there is a shadow it should be always used to indicate where the grabbed item "falls", moving the entire thing "up" above the user's finger should work, shouldn't it?
Sorry I meant the directory tree, if A/B/c is a structure with A, B directories and c a file, there is no way to grab and drop c into A.
You mean the "back" button on the device or the "directory up" item? The back button has the issue of being unintuitive (back button should be used to cancel operations or return to a previous view), and the "directory up" is not always visible. |
Not a big issue even if they stay. Can be done in enhancement.
Drag feature on long press of icon might not be a good idea. As it's near to left corner, it might trigger left tab as soon as they long press on it.
It'll mess up the callbacks fired to ACTION_DRAG_ENTERED and ACTION_DRAG_EXITED. Result would be item will still be focused even if user has moved his finger out of an item.
Yes, that level of drag and drop can be achieved with current implementation if user opens A in another tab. He can just pick from B's tab and drop to A.
I mean the 'go back' button we have in list on top. Yes it's not always visible and needs to be enabled. I see no other way. |
…anager into feature/2215
@EmmanuelMess
|
Hmm, entirely different UX than I had back in the days of ES many years ago... but whatever. They even have a selection rectangle while dragging over the screen - doesn't mean you need to follow the same. Tried on Fairphone 3 running LineageOS 16.0 (9.0)
I'm +1 about this behaviour however, since this is what we would normally do to move an app icon on the launcher/home screen. I usually have Lawnchair as daily driver however. iOS and Bliss Launcher (as used by /e/) also have the same behaviour for app icons. |
You can change it from amaze settings. I've added a preference. |
As daily use I found no obvious problems now, functionally I'd vote +1, except the conflict (sorry, due to #2450). |
How did this pass with a single approval? |
@EmmanuelMess There's a condition, with one approval and a pr open more than 30 days will get merged :) |
Please don't tell me I have to hold my finger towards the bottom of the screen until the file list scrolls to the last file of the range I would like to select. This is the misimplementation I dreaded since starting #2070. On ES File Explorer, I could select file A, drag the scroll bar (takes one second), select file B, and tap an icon to select all inbetween, which is superior compared to having to hold the finger and wait potentially minutes for the list to scroll to the last file I wish to select. On desktop, it is highlight file A, and hold the "Shift" key while highlightsing file B, and all items in between are selected. More intuitive to users than dragging down and staring at a long list scrolling down. I hope this is understandable. |
Please start an issue. |
PR Info
Issue tracker
Fixes will automatically close the related issue
Fixes #2215
Fixes #2070
-or-
Addresses #
Release
Addresses release/3.6
Test cases
Manual testing
If yes,
Build tasks success
Successfully running following tasks on local
./gradlew assembledebug
./gradlew spotlessCheck
Related PR
Related to PR #
Additional Info