files_pdfviewer icon indicating copy to clipboard operation
files_pdfviewer copied to clipboard

Allow slideshow with PDFs

Open skjnldsv opened this issue 3 years ago • 13 comments

Fix #444

skjnldsv avatar Jun 29 '22 08:06 skjnldsv

Hm.. I am not sure about this as it will now overlay important controls:

Desktop Mobile
image image

szaimen avatar Jun 29 '22 08:06 szaimen

blocking. See my comment above

Hum, no idea how to solve that. Jan approved adding the slideshow

skjnldsv avatar Jun 29 '22 09:06 skjnldsv

Hum, no idea how to solve that. Jan approved adding the slideshow

yeah, but he was probably not aware about the conflict with these buttons...

szaimen avatar Jun 29 '22 09:06 szaimen

@jancborchardt @nimishavijay what do you reckon ? :)

skjnldsv avatar Jun 29 '22 09:06 skjnldsv

Nice catch @szaimen, I would put the navigation behind the menu. I just checked and that's what the Gnome image viewer is doing:

Closed Open
Screenshot from 2022-06-29 11-23-33 Screenshot from 2022-06-29 11-23-20

artonge avatar Jun 29 '22 09:06 artonge

Suggestion by @artonge sounds good to me 🚀

nimishavijay avatar Jun 29 '22 09:06 nimishavijay

Nice catch @szaimen, I would put the navigation behind the menu. I just checked and that's what the Gnome image viewer is doing:

the only problem that I see with that is that the pdfviewer is loaded in an iframe and I am not sure if it is possible to inject the overlay buttons into the iframe...

cc @skjnldsv

szaimen avatar Jun 29 '22 09:06 szaimen

the only problem that I see with that is that the pdfviewer is loaded in an iframe and I am not sure if it is possible to inject the overlay buttons into the iframe...

Nope, indeed. We'd have to think differently :( Maybe reduce the arrow's height and hide them when the menu is opened :thinking:

skjnldsv avatar Jun 29 '22 10:06 skjnldsv

hide them when the menu is opened 🤔

this sounds good to me 👍

szaimen avatar Jun 29 '22 10:06 szaimen

How about just lowering those bottoms, and/or implementing left/right keys on devices with keyboards? There's already a handler for the escape key, why not monitor for L/R too?

Actually, for esc, one needs to click on the top bar (where the X is ) first before escape works.

gpz1100 avatar Aug 12 '22 16:08 gpz1100

Has some form of this enhancement made it into the 25.xx beta? I installed 25.0.0 RC1 into a vm but don't see any change in pdf navigation. Thank you

gpz1100 avatar Sep 24 '22 03:09 gpz1100

@gpz1100 no, this is not merged, see assigned 26 milestone

skjnldsv avatar Sep 24 '22 05:09 skjnldsv

I think this is a very important feature and should be added soon as navigating through files should be easy within Nextcloud. I reckon the navigation should be added to the sidebar rather than through the slideshow feature, as it would circumvent all problems pointed out by @szaimen and would be an universal approach to all files, not just PDFs etc. Navigation buttons (previous/next file) in the sidebar would make more sense to me.

Io-Qo avatar Jul 16 '23 17:07 Io-Qo

I'm confused, is this feature currently offered or will be offered or is being discarded entirely?

gpz1100 avatar May 29 '24 00:05 gpz1100

@gpz1100 Unfortunately seems the requests for this are quite low, if anyone wants to take over, feel free :+1:

skjnldsv avatar May 29 '24 15:05 skjnldsv