Bug 489733

Summary: Gwenview corrupts some JPEG files after mirroring and saving
Product: [Applications] gwenview Reporter: Pavel Urusov <pavel.urusov>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: p.r.worrall, viniciush.dev
Priority: NOR    
Version: 24.05.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot showing the issue
JPEG file that reliably triggers the issue
JPEG file that reliably triggers the issue

Description Pavel Urusov 2024-07-04 11:12:47 UTC
Created attachment 171365 [details]
screenshot showing the issue

SUMMARY
After mirroring JPEG files and saving them in Gwenview, they appear corrupted, with a small area on the right side of the image not being mirrored correctly

STEPS TO REPRODUCE
1. Open the attached JPEG file
2. Mirror it in Gwenview and save the edited image
3. Close the image and reopen it

OBSERVED RESULT
A narrow area on the right side of the image remains unmirrored, while the rest of the image is mirrored and saved correctly.

EXPECTED RESULT
The whole image is correctly mirrored and saved without being corrupted.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20240701
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-1-default (64-bit)
Graphics Platform: Wayland
Comment 1 Pavel Urusov 2024-07-04 11:13:34 UTC
Created attachment 171366 [details]
JPEG file that reliably triggers the issue
Comment 2 Pavel Urusov 2024-07-04 11:15:05 UTC
Created attachment 171367 [details]
JPEG file that reliably triggers the issue
Comment 3 Vinícius 2024-07-04 18:57:21 UTC
i can reproduce this too with gwenview flatpak using the provided JPEG

Operating System: Fedora Linux 41
KDE Plasma Version: 6.1.1
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.10.0-0.rc6.20240702git1dfe225e9af5.51.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 7,6 GB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82MF
System Version: IdeaPad 3 15ALC6
Comment 4 Paul Worrall 2024-07-04 20:32:59 UTC
*** This bug has been marked as a duplicate of bug 463459 ***