liferea sometimes displays images too large

Bug #1939959 reported by Jim Bauer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
liferea (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When viewing feeds that have large images, the images are not scaled down to fit into the window like browsers typically do.

To reproduce:
- add feed like https://www.monkeyuser.com/feed.xml that has lots of large images
- make sure your liferea window isn't too wide (width of about 1000px should be good)
- view most any item in that feed (I was using the one dated Aug 2)
- see that the image extends beyond the content pane thus adding a horizontal scroll bar

I expected that the image width to be scaled to fit into current content pane. This was happening in a earlier version (Ubuntu 20.10 I believe)

I tried an old workaround from https://www.keypressure.com/blog/shrink-liferea-images/ that said to add the following to ~/.config/liferea/liferea.css

div.content img {
    max-width: 100%;
    height: auto;
}

That did not work.

I also tried adding the --debug-html to liferea to have it save the generated html in ~/.cache/liferea/output.html and then viewed that in a web browser (firefox). The image was scaled as expected there (with or without the above mentioned liferea.css change). Furthermore, changing the max-with to something like 50% the browser showed the change when viewing the output.html file, but liferea always just displayed the image at full size.

Description: Ubuntu 21.04
Release: 21.04
liferea 1.13.5-1

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: liferea 1.13.5-1
ProcVersionSignature: Ubuntu 5.11.0-7620.21~1626191760~21.04~55de9c3~dev-generic 5.11.21
Uname: Linux 5.11.0-7620-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: XFCE
Date: Sat Aug 14 14:41:50 2021
SourcePackage: liferea
UpgradeStatus: Upgraded to hirsute on 2021-06-22 (53 days ago)
modified.conffile..etc.default.apport: [modified]
mtime.conffile..etc.default.apport: 2015-11-30T17:42:30.112000

Revision history for this message
Jim Bauer (jfbauer-d) wrote :
Revision history for this message
Paul Gevers (paul-climbing) wrote :

For what it's worth, I'm not seeing this behavior with 1.13.6-1 for Debian experimental. It could very well be that this is due to the webkit2gtk update, which we have a patch for in 1.13.5-2.

Revision history for this message
Jim Bauer (jfbauer-d) wrote :

Is there a way I can try out 1.13.5-2 on Ubuntu 21.04?

Revision history for this message
Jim Bauer (jfbauer-d) wrote :

Upgraded to Ubuntu 21.10 yesterday and noticed today that the issue with the overly large images is not happening anymore.

Working ok with or without the above mentioned change to .config/liferea/liferea.css
(BTW if I modify that change with 'max-width: 50%' the image width does shrink in half)

Changed in liferea (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.