martinrotter / rssguard

Feed reader (and podcast player) which supports RSS/ATOM/JSON and many web-based feed services.
GNU General Public License v3.0
1.64k stars 125 forks source link

[BUG]: image resolution issue in article viewer on lite version #1509

Closed seventyiris83 closed 1 month ago

seventyiris83 commented 1 month ago

Brief description of the issue

images and attachements in articles get downscaled until rss guard reboot after shrinking article viewer:

https://github.com/user-attachments/assets/dd133d3c-b129-47e1-867a-4444b84dfbe4

it is related to image and attachement wrapping

as i said the image quality gets restored when rss guard is restarted so this is not a permanent change

How to reproduce the bug?

  1. have latest lite build installed
  2. in "Articles" settings increase the height limit of all pictures to 600px to clearly see the problem
  3. widen the article viewer size to have image attachements fully fit it
  4. open an article that has image attachements (feed used in the video showing the problem is "It's FOSS")
  5. shrink the article viewer and widen it back to its original size
  6. see the resolution of the images and attachements has been severly decreased

What was the expected result?

i was expecting the quality of the images to be unaffected by wrapping when shrinking the article viewer window size

What actually happened?

the quality of images and attachements severly decreased

Debug log

N/A

Operating system and version

martinrotter commented 1 month ago

4e698c983

Wait until devbuild compiles, test and report back.

seventyiris83 commented 1 month ago

https://github.com/user-attachments/assets/cc7182d0-5463-4c39-b075-f8486a90495f

the quality is no longer decrease-only, as it will re-increase as the article viewer window size is re-increased 😄

however the quality decreasing on non-wrapping images and attachements (no height limit set) is a different issue, closing this one.