Bug 494209 - Race in editing tool
Summary: Race in editing tool
Status: CONFIRMED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.08.0
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-06 14:47 UTC by ent3rm4n
Modified: 2025-09-10 10:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ent3rm4n 2024-10-06 14:47:01 UTC
The editing tool can race when editing while saving an image.


STEPS TO REPRODUCE
1. Take a sufficiently large enough image (sorry, don't have a sample right now)
2. Rotate it with the editing tool, then click save on the "Current image modified" bar
3. While it is getting saved, use the crop tool to crop it

OBSERVED RESULT
No "Current image modified" bar appear after crop; gwenview can be closed while not saving the latest change (cropping), without prompt to save the changes. The crop is not reflected in the saved file.

EXPECTED RESULT
Notice to save the image again after cropping.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: NixOS, kernel version 6.10.8
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 A Linux User 2025-08-25 08:46:55 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0?
Comment 2 Bug Janitor Service 2025-09-09 03:48:35 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 ent3rm4n 2025-09-09 17:20:33 UTC
Still replicable in 25.08.0. Here are more exact steps:
Download a big image, like https://upload.wikimedia.org/wikipedia/commons/5/56/Flying_Squirrel_Fractal_27062019.jpg

1. Rotate the image but do not save yet.
2. Click on crop and drag the crop area to somewhere smaller, but do no click on the "crop" button yet.
3. Click on "save", while the gear icon is being animated (meaning processing), quickly click on "crop".
4. Gwenview reports the file as saved, but in fact the crop isn't saved.
Comment 4 A Linux User 2025-09-10 10:20:44 UTC
Can reproduce, thanks for the instructions and the image, this was very helpful.