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
{{ message }}
Repository navigation
Long-press should initiate multiselect, not show context menu #899
May I make another comment regarding the long press? Since KitKat Google introduced a new usage of the long press gesture (at the bottom of the page), which now should be used for selection of items. The actions should be moved from the pop up to the action bar. Is this something you guys have already considered to implement long term (maybe with the new drawer and action bar combo)? For now a header makes sense of course!
changed the title [-]Long-press menu doesn’t make clear what file it is about[/-][+]Long-press should initiate multiselect, not show context menu[/+]on Feb 26, 2015
Sounds great! Here is an example of how the three dots could be implemented, just in case.
Another question: Is the content for the listitem popup the exactly the same as the actionbar popup, thus having to different places for the same actions?
@davivel@masensio@rperezb@MTRichards where are we at with this? Deletion of multiple files is basically impossible (that is, a huge pain) due to multiselect not existing.
Rethinking it, is not such a good idea, I think: what if you want to select all favorite items to unfavorite them?
So we should find a way to have the checkboxes shown with all other items!
I now also commited the logic to show hide the fab entering/exiting multi selction mode 😬 cca2e60
One thing I realized, might be something to deactivate with a flag is that if you do move or copy the file/folder chooser dialog also has multi selection mode which probably doesn't make sense.
Activity
joeplus commentedon Feb 25, 2015
May I make another comment regarding the long press? Since KitKat Google introduced a new usage of the long press gesture (at the bottom of the page), which now should be used for selection of items. The actions should be moved from the pop up to the action bar. Is this something you guys have already considered to implement long term (maybe with the new drawer and action bar combo)? For now a header makes sense of course!
masensio commentedon Feb 26, 2015
As @joeplus said, we can introduce the new long press gesture.

This would mark the selected file and would improve the appearance of the contextual menu, if the pop up is replaced by a contextual action bar (CAB). (https://developer.android.com/design/patterns/selection.html )

In this case, we need to decide which options have to appear in the contextual menu.
jancborchardt commentedon Feb 26, 2015
Yeah – long-press should ideally initiate multi-select mode. As already mentioned in the past: #786 (comment)
Then we need to add a 3-dots-icon to each row (on the right) which then invokes the context menu for each file.
[-]Long-press menu doesn’t make clear what file it is about[/-][+]Long-press should initiate multiselect, not show context menu[/+]joeplus commentedon Feb 26, 2015
Sounds great! Here is an example of how the three dots could be implemented, just in case.
Another question: Is the content for the listitem popup the exactly the same as the actionbar popup, thus having to different places for the same actions?
stefan-niedermann commentedon Apr 20, 2015
duplicate of #426 ?
radziu82 commentedon Aug 1, 2015
No Not duplicate. 426 is closed. This is needed basic functionality.
jancborchardt commentedon Aug 3, 2015
@davivel @masensio @rperezb @MTRichards where are we at with this? Deletion of multiple files is basically impossible (that is, a huge pain) due to multiselect not existing.
rperezb commentedon Aug 5, 2015
@jancborchardt for the moment this is not expected.
Certainly, multiselection is needed as well as the improve on the UI, roadmap
jancborchardt commentedon Aug 5, 2015
Let’s move it up then @MTRichards @rperezb
tobiasKaminsky commentedon Aug 9, 2015
PR will be #1090 by @AndyScherzinger
jancborchardt commentedon Aug 9, 2015
@tobiasKaminsky isn’t that just about multiselect for upload?
36 remaining items
AndyScherzinger commentedon Mar 13, 2016
True, not showing that info in multi select mode could also be an option I guess. So waiting for @jancborchardt's input since he is the expert :)
tobiasKaminsky commentedon Mar 13, 2016
Rethinking it, is not such a good idea, I think: what if you want to select all favorite items to unfavorite them?
So we should find a way to have the checkboxes shown with all other items!
AndyScherzinger commentedon Mar 13, 2016
Yeah, that is right. So sticking with top left is probably the easiest approach at the moment.
tobiasKaminsky commentedon Mar 13, 2016
Do you want to do this in the multiSelect branch? :)
AndyScherzinger commentedon Mar 13, 2016
Sure thing :) Gimme a second 😁
AndyScherzinger commentedon Mar 13, 2016
@tobiasKaminsky can you take care of the rotation bug regarding the action bar menu? :)
tobiasKaminsky commentedon Mar 13, 2016
I will do this tomorrow morning
AndyScherzinger commentedon Mar 13, 2016
Sweet! :)

Changes for the checkbox have been pushed to the branch.
tobiasKaminsky commentedon Mar 13, 2016
👍 looks great :)
AndyScherzinger commentedon Mar 13, 2016
I now also commited the logic to show hide the fab entering/exiting multi selction mode 😬 cca2e60
One thing I realized, might be something to deactivate with a flag is that if you do move or copy the file/folder chooser dialog also has multi selection mode which probably doesn't make sense.
davivel commentedon Jul 13, 2016
In, and ready to go with version 2.1.0.