samuelclay / NewsBlur

NewsBlur is a personal news reader that brings people together to talk about the world. A new sound of an old instrument.
http://www.newsblur.com
MIT License
6.91k stars 1k forks source link

macOS: Return to scroll position when story redraws #1908

Open samuelclay opened 2 weeks ago

samuelclay commented 2 weeks ago

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 commented 1 week ago

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 commented 1 week ago

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.