Bug 465960

Summary: RSS feed logos are incorrectly scaled by title height
Product: [Applications] akregator Reporter: Mingcong Bai <jeffbai>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: montel
Priority: NOR    
Version: 5.21.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.22.3
Sentry Crash Report:
Attachments: Squished logo.

Description Mingcong Bai 2023-02-17 19:43:45 UTC
Created attachment 156390 [details]
Squished logo.

SUMMARY

In Akregator, the RSS feed logos are incorrectly scaled by the height of the titles, making them appear squished.

STEPS TO REPRODUCE

1. Open Akregator.
2. Import TDE's Mastodon feed via https://floss.social/@tde.rss. 
3. Click on an entry.

OBSERVED RESULT

Logos in the preview pane appear squished (see attached screenshot).

EXPECTED RESULT

Logos should be scaled by ratio.

SOFTWARE/OS VERSIONS

Operating System: AOSC OS 10.0.1
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.5
Kernel Version: 6.0.19-aosc-main (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i7-1195G7 @ 2.90GHz
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Panasonic Corporation
Product Name: CFSV2-1
System Version: 001
Comment 1 Laurent Montel 2023-02-17 20:20:53 UTC
Ok I will investigate it soon.
Comment 2 Laurent Montel 2023-02-18 07:40:43 UTC
I confirm it.
I will investigate this WE.
Comment 3 Laurent Montel 2023-02-18 16:05:08 UTC
Git commit 5d776e59c72b6f69326884337ee712f7d370323f by Laurent Montel.
Committed on 18/02/2023 at 16:04.
Pushed by mlaurent into branch 'release/22.12'.

Fix bug 465960: RSS feed logos are incorrectly scaled by title height
FIXED-IN: 5.22.3

M  +1    -0    src/formatter/html/5.2/combinedview.html
M  +1    -0    src/formatter/html/5.2/defaultnormalvisitfeed.html
M  +1    -0    src/formatter/html/5.2/defaultnormalvisitfolder.html
M  +1    -0    src/formatter/html/5.2/normalview.html

https://invent.kde.org/pim/akregator/commit/5d776e59c72b6f69326884337ee712f7d370323f