Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: Return to scroll position when story redraws #1908

Open
samuelclay opened this issue Nov 6, 2024 · 4 comments
Open

macOS: Return to scroll position when story redraws #1908

samuelclay opened this issue Nov 6, 2024 · 4 comments
Assignees

Comments

@samuelclay
Copy link
Owner

I was reading a long story and the story detail view redrew itself. All of the images were huge and my scroll position was off. I then moved two stories back and then returned to my story, and the images were full width (of course) and my scroll position was returned.

@samuelclay
Copy link
Owner Author

samuelclay commented Nov 8, 2024

Here's some screenshots of huge images:

Screenshot 2024-11-08 at 2 17 51 PM Screenshot 2024-11-08 at 2 17 57 PM

You can repro this just by leaving the window open for a while and then any images will be huge after a few minutes.

@Dejal
Copy link
Collaborator

Dejal commented Nov 13, 2024

I wish I could reproduce this; I've left the app with several stories with images, for several hours, but it hasn't occurred. Both with the app in the foreground and in the background.

Perhaps I'm just looking at the wrong feeds. Are there any feeds that are more reliable to repro this?

It's just a web view; if WebKit reloads it for some reason, it should use the same CSS; there may not be anything I can do. But I won't know until I can repro it and trace what is happening. If I can detect it being reloaded (if that is what is happening), I might be able to mitigate the effect.

I'll keep trying, but any additional clues could be helpful.

@nriley
Copy link
Contributor

nriley commented Jan 19, 2025

I've been meaning to report the huge image problem (i.e, images that do not get resized to the width of the screen/pane so you only see the left side of them) for months. Sometimes I can get the images to shrink by going out of the article and back into it, but not always.

Here is what happened with the latest article in Ken Shirriff's blog, much like @samuelclay 's links above:

First view:

Image

Second view:

Image

Most commonly I see it on the highest-traffic feed I read, The Autopian, so hopefully that should be a good repro case for you!

@nriley
Copy link
Contributor

nriley commented Jan 19, 2025

An example of an Autopian article where the photos get cut off on the right repeatedly, and closing/reopening the article does not help (on the web or iOS/macOS). Not sure if this should be a separate issue?

https://www.theautopian.com/this-is-the-weirdest-bus-ever-built-and-its-being-brought-back-to-life-so-you-can-ride-it/?utm_source=rss&utm_medium=rss&utm_campaign=this-is-the-weirdest-bus-ever-built-and-its-being-brought-back-to-life-so-you-can-ride-it

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants