tellico always want to save the collection

Bug #317822 reported by ibo
0
Affects Status Importance Assigned to Milestone
Tellico
Fix Released
Medium
auto-robby
tellico (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: tellico

1. Ubuntu 8.10

2. tellico:
  Installed: 1.3.3-1ubuntu1~8.10prevu1
  Candidate: 1.3.3-1ubuntu1~8.10prevu1
  Version table:
 *** 1.3.3-1ubuntu1~8.10prevu1 0
        500 file: ./ Packages
        100 /var/lib/dpkg/status
     1.3.2.1-1ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/universe Packages

3. open a tellico book collection, browse some items, close tellico

4. if I browse the collection, the collection is marked as changed and I get a dialog asking me if I want to save the changes when I try to close tellico. This should not happen, unless I really change something like editing, adding or removing an item or changing the collection fields. Simply browsing should not mark the collection as 'dirty'. This is annoying, shorten the life of my hardware (if I keep my collection on an USB stick, saving the collection all the time can shorten its life), produce unwanted saves (if I save all the time, just to be sure nothing important is lost) or produce data loss (if I don't save because I forgot I really changed something).

The collection is not marked if I simply open it, but not browse it. This bug is present in both 1.3.2 and 1.3.3.

Tags: regression

Related branches

Revision history for this message
Peter Antoniac (pan1nx) wrote :

I tried to reproduce the bug without success. I even created a new Book collection just to make sure...
I am using 1.3.2.
Can you please do this test:
1. copy the file before opening it in tellico
2. open tellico, browse only, and close (so you need to save as you said)
3. then run a diff -Naur old new and report back...

Revision history for this message
ibo (iborco-deactivatedaccount) wrote : Re: [Bug 317822] Re: tellico always want to save the collection

I have attached the diff. If I decompress the tellico archives, I get
the same content, but if I run the diff over the binaries, they are
different. Not sure why.

Thanx for looking into this.

On Fri, Jan 16, 2009 at 2:42 PM, Peter Antoniac
<email address hidden> wrote:
> I tried to reproduce the bug without success. I even created a new Book collection just to make sure...
> I am using 1.3.2.
> Can you please do this test:
> 1. copy the file before opening it in tellico
> 2. open tellico, browse only, and close (so you need to save as you said)
> 3. then run a diff -Naur old new and report back...
>
> ** Tags added: regression
>
> --
> tellico always want to save the collection
> https://bugs.launchpad.net/bugs/317822
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "tellico" source package in Ubuntu: New
>
> Bug description:
> Binary package hint: tellico
>
> 1. Ubuntu 8.10
>
> 2. tellico:
> Installed: 1.3.3-1ubuntu1~8.10prevu1
> Candidate: 1.3.3-1ubuntu1~8.10prevu1
> Version table:
> *** 1.3.3-1ubuntu1~8.10prevu1 0
> 500 file: ./ Packages
> 100 /var/lib/dpkg/status
> 1.3.2.1-1ubuntu1 0
> 500 http://de.archive.ubuntu.com intrepid/universe Packages
>
> 3. open a tellico book collection, browse some items, close tellico
>
> 4. if I browse the collection, the collection is marked as changed and I get a dialog asking me if I want to save the changes when I try to close tellico. This should not happen, unless I really change something like editing, adding or removing an item or changing the collection fields. Simply browsing should not mark the collection as 'dirty'. This is annoying, shorten the life of my hardware (if I keep my collection on an USB stick, saving the collection all the time can shorten its life), produce unwanted saves (if I save all the time, just to be sure nothing important is lost) or produce data loss (if I don't save because I forgot I really changed something).
>
> The collection is not marked if I simply open it, but not browse it. This bug is present in both 1.3.2 and 1.3.3.
>

Revision history for this message
Robby Stephenson (robby) wrote :

Does the dialog box come back every time, even if you save once? Tellico tries to check if some of the internal data formats changed and changes the "changed" flag, even if the actual data didn't change.

Revision history for this message
ibo (iborco-deactivatedaccount) wrote :

Hi,

I have tested it a bit more extensively and the problem is also
present in 1.3-1ubuntu1/ubuntu 8.04. On ubuntu 8.04, the problem can
be reproduced like this:

1. create a book collection
2. add a book to the collection (ex: ISBM: 0761532994)
3. update the book info
4. configure tellico to "store images in a directory relative to data
file" (this is important; Menu > Settings > Configure Tellico... >
General > Image Storage Options)
5. save the collection
6. close tellico and reopen it
7. select the book in tellico - the collection will be marked as modified

The bug is not triggered if tellico is configured to "store images in
data file" (this is the default setting and this is probably why you
were not able to reproduce it).

If tellico is switched back to saving images in the data file, the
collection is no longer marked as modified when you browse it.

Also, when tellico saves images in a directory, the collection is
marked as modified when you select a book for the first time, but, if
you save the collection, further browsing will not mark the collection
again as modified.

Note: I haven't had the chance to test all these steps on my ubuntu
8.10 install that I used for the initial report. As stated above,
these steps were tested only on ubuntu 8.04.

Cheers,

Ionutz

On Tue, Jan 20, 2009 at 8:25 AM, Robby Stephenson <email address hidden> wrote:
> Does the dialog box come back every time, even if you save once? Tellico
> tries to check if some of the internal data formats changed and changes
> the "changed" flag, even if the actual data didn't change.
>
> --
> tellico always want to save the collection
> https://bugs.launchpad.net/bugs/317822
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "tellico" source package in Ubuntu: New
>
> Bug description:
> Binary package hint: tellico
>
> 1. Ubuntu 8.10
>
> 2. tellico:
> Installed: 1.3.3-1ubuntu1~8.10prevu1
> Candidate: 1.3.3-1ubuntu1~8.10prevu1
> Version table:
> *** 1.3.3-1ubuntu1~8.10prevu1 0
> 500 file: ./ Packages
> 100 /var/lib/dpkg/status
> 1.3.2.1-1ubuntu1 0
> 500 http://de.archive.ubuntu.com intrepid/universe Packages
>
> 3. open a tellico book collection, browse some items, close tellico
>
> 4. if I browse the collection, the collection is marked as changed and I get a dialog asking me if I want to save the changes when I try to close tellico. This should not happen, unless I really change something like editing, adding or removing an item or changing the collection fields. Simply browsing should not mark the collection as 'dirty'. This is annoying, shorten the life of my hardware (if I keep my collection on an USB stick, saving the collection all the time can shorten its life), produce unwanted saves (if I save all the time, just to be sure nothing important is lost) or produce data loss (if I don't save because I forgot I really changed something).
>
> The collection is not marked if I simply open it, but not browse it. This bug is present in both 1.3.2 and 1.3.3.
>

Revision history for this message
ibo (iborco-deactivatedaccount) wrote :
Download full text (3.3 KiB)

Tested on 8.10 and the bug appears to be indeed from the "store images
in a directory relative to data file" setting.

Cheers,

Ionutz

On Thu, Jan 22, 2009 at 1:06 PM, Ioan Calin Borcoman <email address hidden> wrote:
> Hi,
>
> I have tested it a bit more extensively and the problem is also
> present in 1.3-1ubuntu1/ubuntu 8.04. On ubuntu 8.04, the problem can
> be reproduced like this:
>
> 1. create a book collection
> 2. add a book to the collection (ex: ISBM: 0761532994)
> 3. update the book info
> 4. configure tellico to "store images in a directory relative to data
> file" (this is important; Menu > Settings > Configure Tellico... >
> General > Image Storage Options)
> 5. save the collection
> 6. close tellico and reopen it
> 7. select the book in tellico - the collection will be marked as modified
>
> The bug is not triggered if tellico is configured to "store images in
> data file" (this is the default setting and this is probably why you
> were not able to reproduce it).
>
> If tellico is switched back to saving images in the data file, the
> collection is no longer marked as modified when you browse it.
>
> Also, when tellico saves images in a directory, the collection is
> marked as modified when you select a book for the first time, but, if
> you save the collection, further browsing will not mark the collection
> again as modified.
>
> Note: I haven't had the chance to test all these steps on my ubuntu
> 8.10 install that I used for the initial report. As stated above,
> these steps were tested only on ubuntu 8.04.
>
> Cheers,
>
> Ionutz
>
> On Tue, Jan 20, 2009 at 8:25 AM, Robby Stephenson <email address hidden> wrote:
>> Does the dialog box come back every time, even if you save once? Tellico
>> tries to check if some of the internal data formats changed and changes
>> the "changed" flag, even if the actual data didn't change.
>>
>> --
>> tellico always want to save the collection
>> https://bugs.launchpad.net/bugs/317822
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>>
>> Status in "tellico" source package in Ubuntu: New
>>
>> Bug description:
>> Binary package hint: tellico
>>
>> 1. Ubuntu 8.10
>>
>> 2. tellico:
>> Installed: 1.3.3-1ubuntu1~8.10prevu1
>> Candidate: 1.3.3-1ubuntu1~8.10prevu1
>> Version table:
>> *** 1.3.3-1ubuntu1~8.10prevu1 0
>> 500 file: ./ Packages
>> 100 /var/lib/dpkg/status
>> 1.3.2.1-1ubuntu1 0
>> 500 http://de.archive.ubuntu.com intrepid/universe Packages
>>
>> 3. open a tellico book collection, browse some items, close tellico
>>
>> 4. if I browse the collection, the collection is marked as changed and I get a dialog asking me if I want to save the changes when I try to close tellico. This should not happen, unless I really change something like editing, adding or removing an item or changing the collection fields. Simply browsing should not mark the collection as 'dirty'. This is annoying, shorten the life of my hardware (if I keep my collection on an USB stick, saving the collection all the time can shorten its life), produce unwanted saves (if I save all the time, just to be sure nothing important is lost) or produce data loss (if I ...

Read more...

Revision history for this message
Robby Stephenson (robby) wrote :

Fixed in upstream for next release. Thanks!

Revision history for this message
Robby Stephenson (robby) wrote :

Fixed for version 1.3.5

Changed in tellico:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tellico - 1.3.5-1ubuntu1

---------------
tellico (1.3.5-1ubuntu1) jaunty; urgency=low

  [ Fabrice Coutadeur ]
  * Merge from Debian unstable (LP: #330392). Remaining Ubuntu changes:
    - debian/rules: delete libtool and config.log files in the cleaning part
  * Upstream 1.3.5 also fix LP: #317822.
  * debian/rules: added option --without-arts to get rid of arts library,
    otherwise it FTBFS.

  [ Alessio Treglia ]
  * tellico Recommends khelpecenter4 instead of khelpcenter.

tellico (1.3.5-1) unstable; urgency=low

  * New upstream release.
  * Post-lenny, don't build-depend on kdemultimedia-dev and libkcal2-dev.
    Closes: #514176.

 -- Fabrice Coutadeur <email address hidden> Sun, 15 Feb 2009 23:33:01 +0100

Changed in tellico:
status: New → Fix Released
Robby Stephenson (robby)
Changed in tellico:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.