Skip to content

Long-press should initiate multiselect, not show context menu #899

Closed

Description

@jancborchardt

@davivel @rperezb @tobiasKaminsky

(Edited the title after @joeplus's comment.)

Activity

  1. joeplus commented on Feb 25, 2015

    @joeplus

    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!

  2. masensio commented on Feb 26, 2015

    @masensio

    As @joeplus said, we can introduce the new long press gesture.
    selection_cab_example

    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 )
    selection_cab_big

    In this case, we need to decide which options have to appear in the contextual menu.

  3. jancborchardt commented on Feb 26, 2015

    @jancborchardt
    ContributorAuthor

    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.

  4. 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
  5. joeplus commented on Feb 26, 2015

    @joeplus

    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?

  6. stefan-niedermann commented on Apr 20, 2015

    @stefan-niedermann

    duplicate of #426 ?

  7. radziu82 commented on Aug 1, 2015

    @radziu82

    No Not duplicate. 426 is closed. This is needed basic functionality.

  8. jancborchardt commented on Aug 3, 2015

    @jancborchardt
    ContributorAuthor

    @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.

  9. rperezb commented on Aug 5, 2015

    @rperezb

    @jancborchardt for the moment this is not expected.
    Certainly, multiselection is needed as well as the improve on the UI, roadmap

  10. jancborchardt commented on Aug 5, 2015

    @jancborchardt
    ContributorAuthor

    Let’s move it up then @MTRichards @rperezb

  11. tobiasKaminsky commented on Aug 9, 2015

    @tobiasKaminsky
    Contributor

    PR will be #1090 by @AndyScherzinger

  12. jancborchardt commented on Aug 9, 2015

    @jancborchardt
    ContributorAuthor

    @tobiasKaminsky isn’t that just about multiselect for upload?

  13. 36 remaining items

  14. AndyScherzinger commented on Mar 13, 2016

    @AndyScherzinger
    Contributor

    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 :)

  15. tobiasKaminsky commented on Mar 13, 2016

    @tobiasKaminsky
    Contributor

    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!

  16. AndyScherzinger commented on Mar 13, 2016

    @AndyScherzinger
    Contributor

    Yeah, that is right. So sticking with top left is probably the easiest approach at the moment.

  17. tobiasKaminsky commented on Mar 13, 2016

    @tobiasKaminsky
    Contributor

    Do you want to do this in the multiSelect branch? :)

  18. AndyScherzinger commented on Mar 13, 2016

    @AndyScherzinger
    Contributor

    Sure thing :) Gimme a second 😁

  19. AndyScherzinger commented on Mar 13, 2016

    @AndyScherzinger
    Contributor

    @tobiasKaminsky can you take care of the rotation bug regarding the action bar menu? :)

  20. tobiasKaminsky commented on Mar 13, 2016

    @tobiasKaminsky
    Contributor

    I will do this tomorrow morning

  21. AndyScherzinger commented on Mar 13, 2016

    @AndyScherzinger
    Contributor

    Sweet! :)
    Changes for the checkbox have been pushed to the branch.
    device-2016-03-13-135019

  22. tobiasKaminsky commented on Mar 13, 2016

    @tobiasKaminsky
    Contributor

    👍 looks great :)

  23. AndyScherzinger commented on Mar 13, 2016

    @AndyScherzinger
    Contributor

    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.

  24. added this to the milestone on Jun 9, 2016
  25. davivel commented on Jul 13, 2016

    @davivel
    Contributor

    In, and ready to go with version 2.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions