Bug 491570

Summary: When previewing images with Ark, pinch gesture of touchpad will zoom in/out every opened image simultaneously
Product: [Applications] ark Reporter: Huanyu Liu <1293660441>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: normal CC: rthomsen6
Priority: NOR    
Version First Reported In: 24.05.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Huanyu Liu 2024-08-11 09:26:28 UTC
SUMMARY
When previewing images with Ark, pinch gesture of touchpad will zoom in/out every opened image simultaneously. This bug can only be reproduced with the pinch gesture; other ways to zoom in/out an image (e.g. Ctrl+Scroll) work as intended. This bug only happens when previewing images with Ark; Gwenview is not affected.

STEPS TO REPRODUCE
0. Make sure you have a touchpad, and pinch-to-zoom gesture is enabled
1. Create an archive file with two arbitrary images
2. Open the archive file with Ark and double click on both files respectively, so that two image preview windows are created
3. Do the pinch gesture in one preview window

OBSERVED RESULT
Both images are zoomed in/out

EXPECTED RESULT
Only the image where the cursor is located should be zoomed in/out

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.3-arch1-2 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION