Radiokot / photoprism-android-client

📸 A convenient Android gallery for your PhotoPrism library with plenty of useful features
https://radiokot.com.ua/p/photoprism-android-gallery
GNU General Public License v3.0
391 stars 30 forks source link

Cannot exit selection mode #75

Closed jvadair closed 1 year ago

jvadair commented 1 year ago

What is wrong? Once a photo has been selected, you cannot exit selection mode without closing the application.

To Reproduce Steps to reproduce the behavior:

  1. Open the application
  2. Hold tap on a photo
  3. Try to click the 'X' button on the bottom
  4. See error

Expected behavior The application should exit selection mode

Screenshots IMG_20230805_141813.jpg

Device (please complete the following information):

Additional context I installed the latest version from F-droid today.

Radiokot commented 1 year ago

Hi James. You can exit the mode by making the "Back" gesture. But I agree that the "X" button behavior is unintuitive and should be changed.

jvadair commented 1 year ago

Thanks for fixing this! To clarify, does a long press exit the selection mode or clear the selection?

Personally, I feel it would be more intuitive to clear and exit the selection when the button is pressed, as there is no reason to remain in selection mode if there are no selections, nor is there any reason to keep things selected when not in selection mode.

I may also have read the commit wrong, if the long press mentioned refers to the action used to initiate selection mode.

Radiokot commented 1 year ago

Clicking the "X" button will exit the selection mode, if the selection mode is started by a long press on gallery item. There is another way to get into the selection mode – when the gallery is started by some other app to pick content. In this case "X" works as before.

Radiokot commented 1 year ago

The change is included to the latest release