Bug 91793 - Trying to overwrite a file after having modified it (resized) doesn't save the file
Summary: Trying to overwrite a file after having modified it (resized) doesn't save th...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Editor-Resize (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 00:31 UTC by Chag
Modified: 2022-01-17 22:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 7.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chag 2004-10-21 00:31:21 UTC
Version:           0.7 beta1 (using KDE KDE 3.2.3)
Installed from:    Compiled From Sources
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk) 
OS:                Linux

Hi,

I edit a file foo.jpg. 

I Transform/resize it. The modified image shows ok in the edit window.
Then I click File/Save As and in the file browser, il click on foo.jpg (to overwrite the existing file).

I'm sent back to the edit window but the image is back to it's original size and the file hasn't been saved. If I enter a new name instead of trying to overwrite the existing one, the file is saved successfully.

It's not only whith the resize function. I have the same problem whith rotation, blur, etc.

Chag
Comment 1 Renchi Raju 2004-10-21 01:03:39 UTC
can you run digikam from a terminal and report back any messages that you get?
Comment 2 Chag 2004-10-21 01:32:41 UTC
Well, I can no longer reproduce the problem. I've been able to do it a dozen times some minutes ago but now, it works ok. I tried whith the same files but it works.

I'll try again tomorrow after sleep.

Chag
Comment 3 Renchi Raju 2004-10-22 15:28:07 UTC
so, can you reproduce it. i have tried a few times here and i can't reproduce it
Comment 4 Chag 2004-10-24 12:11:35 UTC
Hi,

I've been able to reproduce it once. It looks like the file is correctly written but after the file is saved, the file is shown in it's previous state in the edit window.

- I open a file
- I modify it (rotate 90° for example)
- I save it and overwrite the original file
- In edit window the file is shown as if it had not been rotated

Unfortunatly, I had not launched it in console. I wander if there not some kind of race condition. I think the file is reloaded after save. But sometimes, the save as not been completed yet (write delay on the hd or something) and the loaded file is the 'old' one.

Chag
Comment 5 Joern Ahrens 2004-10-24 13:34:28 UTC
I tried it several times, it's not reproducible for me.

"- I save it and overwrite the original file "
Chag, "Save" or "Save As" as above mentioned ?
Comment 6 Chag 2004-10-24 13:56:44 UTC
I use 'save as' then double click on the file. or click once on the file then click on 'save'.

Chag
Comment 7 Renchi Raju 2004-10-24 18:59:07 UTC
can you try the latest cvs and see if you can reproduce the problem. a few days back I made a change which does this: if user uses "save as" and tries to overwrite the original file, the implementation will do it the same way as if "save" is being used. btw, i haven't been able to reproduce the problem inspite of repeated tries.
Comment 8 Chag 2004-10-29 15:50:57 UTC
Hi,

I downloaded the latest cvs and did some tries. it seems to be ok.

I'd done many tries before and only been able to reproduce the bug twice.

Chag
Comment 9 Renchi Raju 2004-10-29 22:39:24 UTC
good. i will close the bug now