Zim

Comment 10 for bug 306256

K. Bauer (k.bauer) wrote :

I noticed, that I can open the same notebook twice in --standalone mode, which might become useful for summarizing (where the current read-only implementation of the "New Window" isn't sufficient, as changes to both source and summary may be needed).

It first happened when I followed an interwiki-link, and subsequently I also tested it with Ctrl-O. As expected though it causes inconsistencies:

The index view breaks when pages are moved in one instance, e.g. take the notebook structure

CopyEquations (2)
    Source (1)
        Test
    Target
Home

This notebook was opened twice in zim Windows A and B. In Window A I moved :CopyEquations:Target to :Home:Target.

CopyEquations (1)
    Source(1)
        Test
Home
    Target

In Window B however it looked like:

CopyEquations (1)
    Source(1)
        Test

i.e. the number of subpages was updated, but not the overall tree. Gtk also complained in the log file (Attachment), I guess about the inconsistent data. When I moved back "Target" to the old position in Window A, Window B also showed the correct index again.

When trying to open a notebook a second time with Ctrl-O _without_ --standalone, zim simply crashed.