Feature Request: Select All Visible button #1541

Closed
opened 2026-02-20 00:14:46 -05:00 by deekerman · 4 comments
Owner

Originally created by @plague69 on GitHub (Aug 30, 2022).

I see that this has been discussed in #845 and #272 where a "Select All" is not likely due to infinite scroll, but how about a button "Select visible"?

Currently my workaround is this: (click() or dispatch event click does not work for some reason...)
let pl = $$('.is-photo'), plist = new Array(); for (i in pl) { plist.push(pl[i].dataset['uid']); } localStorage.setItem('photo_clipboard', JSON.stringify(plist)); location.reload();

Originally created by @plague69 on GitHub (Aug 30, 2022). I see that this has been discussed in #845 and #272 where a "Select All" is not likely due to infinite scroll, but how about a button "Select visible"? Currently my workaround is this: (click() or dispatch event click does not work for some reason...) `let pl = $$('.is-photo'), plist = new Array(); for (i in pl) { plist.push(pl[i].dataset['uid']); } localStorage.setItem('photo_clipboard', JSON.stringify(plist)); location.reload();`
deekerman 2026-02-20 00:14:46 -05:00
Author
Owner

@graciousgrey commented on GitHub (Aug 30, 2022):

How would you define visible in this case?
All photos that have been loaded or all photos that are visible on your screen - which might be just one or two on mobile?

@graciousgrey commented on GitHub (Aug 30, 2022): How would you define visible in this case? All photos that have been loaded or all photos that are visible on your screen - which might be just one or two on mobile?
Author
Owner

@plague69 commented on GitHub (Aug 30, 2022):

How would you define visible in this case? All photos that have been loaded or all photos that are visible on your screen - which might be just one or two on mobile?

Everything in the viewport section/visible to the user even partially. My snippet doesn't do this of course, it was just quick and dirty

@plague69 commented on GitHub (Aug 30, 2022): > How would you define visible in this case? All photos that have been loaded or all photos that are visible on your screen - which might be just one or two on mobile? Everything in the viewport section/visible to the user even partially. My snippet doesn't do this of course, it was just quick and dirty
Author
Owner

@crazyvral commented on GitHub (Aug 30, 2022):

Currently you can only select up to 999 items in both desktop and mobile PWA.

In the desktop you can still use the shift key to select up to 999 items.
You can replicate this behavior in the mobile PWA, at least for android, by selecting the first item then long press the last item you want to select. Everything in between will be selected up to 999 items.

@crazyvral commented on GitHub (Aug 30, 2022): Currently you can only select up to 999 items in both desktop and mobile PWA. In the desktop you can still use the shift key to select up to 999 items. You can replicate this behavior in the mobile PWA, at least for android, by selecting the first item then long press the last item you want to select. Everything in between will be selected up to 999 items.
Author
Owner

@plague69 commented on GitHub (Aug 30, 2022):

That solves the problem for now. Thank you

@plague69 commented on GitHub (Aug 30, 2022): That solves the problem for now. Thank you
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/photoprism#1541
No description provided.