Giter Site home page Giter Site logo

Gestures about cmfilemanager HOT 11 CLOSED

jruesga avatar jruesga commented on July 3, 2024
Gestures

from cmfilemanager.

Comments (11)

DvTonder avatar DvTonder commented on July 3, 2024

Look at the example of swipe to delete here -> https://plus.google.com/photos/113735310430199015092/albums/5802529880018632993/5802529911679028882 and contextual undo here -> https://plus.google.com/photos/113735310430199015092/albums/5802529880018632993/5802529923333076770

from cmfilemanager.

jruesga avatar jruesga commented on July 3, 2024

I have two question

  • When you confirm the deletion of the file or folder?
  • Do you like the image of teh contextual button for #11?

from cmfilemanager.

DvTonder avatar DvTonder commented on July 3, 2024

I'm not sure I understand your first question - looking at the delete confirmation dialog, it shows "QUESTION" in the title with the stop/question mark icon. The android design guidelines actually recommend not using an icon in the title of a dialog box unless in has a special meaning. It can be removed from this dialog box (and probably most of them).

The title should not be "QUESTION" but should say "Confirm delete". We should look at all the dialog boxes and ensure their titles are appropriate to the action.

from cmfilemanager.

jruesga avatar jruesga commented on July 3, 2024

What i'm saying is that to have an undo action is too complicated here, because there are a phisycal delete of the object. To do this, it's necessary to createa recycle bin. Appart of this, also it's needed a confirmation of the user prior to do this operation.

from cmfilemanager.

DvTonder avatar DvTonder commented on July 3, 2024

Ah, OK. I had not thought about the complexity of doing undo. Just swipe to delete would be OK - but there should still be a confirmation dialog

from cmfilemanager.

jruesga avatar jruesga commented on July 3, 2024

Done. David, could you test it?

from cmfilemanager.

DvTonder avatar DvTonder commented on July 3, 2024

OK, tested it. The slide gesture works OK but the single click and long-click is inconsistent now. Clicking into folders only works about 20% of the time, long-click is the same.

from cmfilemanager.

jruesga avatar jruesga commented on July 3, 2024

I have no side effects here. It works 100% for click and long-click in i9100. Could you put an eye in FlingerListView#onTouchEvent method to see what is wrong in your device?

from cmfilemanager.

DvTonder avatar DvTonder commented on July 3, 2024

I am doing a full, clean build and will test again after flashing

from cmfilemanager.

DvTonder avatar DvTonder commented on July 3, 2024

Problem still persists. There are also related issues for example when I start swiping horizontally, I can swipe vertically at the same time and scroll up and down. Up down scrolling should be disabled when the horizontal swipe has started.

Click and long-click does not work for me 90% of the time. I will run a debug build later today.

from cmfilemanager.

DvTonder avatar DvTonder commented on July 3, 2024

Also, some times, when scrolling up, if I am moving my finger slightly to the side, one of the items in the list starts the drag to delete. Its not always the one under my finger but could be further down in the list.

from cmfilemanager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.