[Bug 184637] potential data loss with image editor automatically switching file

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Anders Lund
https://bugs.kde.org/show_bug.cgi?id=184637

           Summary: potential data loss with image editor automatically
                    switching file
           Product: digikam
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           0.10.0-rc2 (rev.: 917004) (using 4.2.00 (KDE 4.2.0), Arch
Linux)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.28-ARCH

Select an image other than the first in an album to edit (F4)
Save the image
Edit it more, now you can not save (other issue) without renaming
Delete the image from the album
BANG - the image editor loads the next image, not asking to save your changes

There are more variants of this, basically if you delete the current or a
previous image in the album, the image editor will load another one without
asking to save.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=184637


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |Image Editor
            Version|unspecified                 |0.10.0-rc2




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Marcel Wiesweg
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=184637


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #1 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-02-21 16:39:37 ---
One can argue that this behavior is all right - if you delete an image you
throw it away after all - but I think the intended workflow is to save with
changes and delete afterwards, and deletion then is done before saving.

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Anders Lund
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=184637





--- Comment #2 from Anders Lund <anders alweb dk>  2009-02-21 16:58:58 ---
You misunderstands what happens.
Image A is open in the editor, and edted.
I delete image B
The editor loads image C, discarding the edits in image A

My claim is that the image editor should *NOT* change image unless I explicitly
asks it to!!!!!

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Marcel Wiesweg
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=184637


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-02-21 17:43:07 ---
SVN commit 929574 by mwiesweg:

In removeItem(), do not touch urlCurrent if the removed item is not the current
item.
In slotCollectionImageChange, do not trigger slotLoadCurrent unless the current
item is deleted.

BUG: 184637

 M  +15 -4     imagewindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929574

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Marcel Wiesweg
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=184637





--- Comment #4 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-02-21 18:11:32 ---
SVN commit 929592 by mwiesweg:

Backport:
In removeItem(), do not touch urlCurrent if the removed item is not the current
item.
In slotCollectionImageChange, do not trigger slotLoadCurrent unless the current
item is deleted.

CCBUG: 184637

 M  +19 -4     imagewindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929592

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Anders Lund
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=184637





--- Comment #5 from Anders Lund <anders alweb dk>  2009-02-21 18:51:21 ---
Thank you!
I will update and enjoy not having this happening :-)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 184637] potential data loss with image editor automatically switching file

Gilles Caulier-4
In reply to this post by Anders Lund
https://bugs.kde.org/show_bug.cgi?id=184637


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|0.10.0-rc2                  |0.10.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel