Slide icon indicating copy to clipboard operation
Slide copied to clipboard

Start shadowbox from the image you are currently watching

Open TheWorstNL opened this issue 10 years ago • 7 comments

Slide version:5.1.6 Android version:6.0.1

If you are scrolling through a subreddit and after a while you press the shadowbox, the gallery should start at the post you are currently watching instead of the beginning.

TheWorstNL avatar Apr 14 '16 06:04 TheWorstNL

Its sorta there are the moment. Sometimes clicking the shadowbox button takes you to the post 1 just before the one you were looking at. But sometimes takes you back to the 1st post of the sub.

goodpricefriedrice avatar Apr 14 '16 11:04 goodpricefriedrice

I've never seen it work before until now. But like you say: it's pretty random. Starting one post before it's not that big of a deal but starting at #1. And it crashes after 50 posts but that bug is already filed. On Apr 14, 2016 13:32, "goodpricefriedrice" [email protected] wrote:

Its sorta there are the moment. Sometimes clicking the shadowbox button takes you to the post 1 just before the one you were looking at. But sometimes takes you back to the 1st post of the sub.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/ccrama/Slide/issues/1425#issuecomment-209889823

TheWorstNL avatar Apr 14 '16 11:04 TheWorstNL

It starts at the first visible post, which may be the one above the one you're looking at.

ccrama avatar Apr 14 '16 14:04 ccrama

Could it use the second visible post? On average that should be more centralised as the app bar can frequently cover the first visible post completely (you need to scroll up slightly to get the shadowbox icon)

Issue with that is pressing it on a sub not scrolled at all down though

Alexendoo avatar Apr 14 '16 14:04 Alexendoo

I think I can pinpoint the problem. Shadowbox works correctly on the frontpage and /r/all but when I use it on a subreddit I'm not subscribed to it always starts at the first post no matter how far down you scroll.

TheWorstNL avatar Apr 14 '16 15:04 TheWorstNL

It's working fine for me in every subreddit, that doesn't sound like the same issue

ccrama avatar Apr 14 '16 16:04 ccrama

Ah gotcha, you meant viewing a single subreddit not in the main view. Has been fixed, also made it load the first totally visible item instead of just the first partly visible item!

ccrama avatar Apr 14 '16 16:04 ccrama