now you made impossible to hide buffer from the second window without
saving buffer which is what 'feels wrong'.
to ask for discarding changes opened in another window would lead imho
to more dataloss problems the the issue you are trying to solve.
Yes, I already acknowledged in the previous mail that you shouldn't get
the dialog.. and I will take care of it.
DocIterator.cpp(95): Should not happen, but it does.
Paragraph.cpp(1363): pos: 6 size: 3
lassert.cpp(21): ASSERTION pos <= size() VIOLATED IN Paragraph.cpp:1364
Assertion triggered in void lyx::doAssert(const char*, const char*, long int) by failing
check "false" in file lassert.cpp:23
to sum up:
1. new file1,new file2
2. write some text in file 2
3. new window,open both files 1,2
4. try to hide file 2
-> impossible without saving (cripling #1)
-> if file has its name introducing danger of dataloss
(lyx asks for something when hiding and i unfortunatelly
press discard expecting hiding wont affect window 1 as it
was with the current workflow.) (cripling #2)
5. save file 2
6. type something in file 2
7. hide file 2, discard
8. kaboom when focus in window 1 ("introducing new bugs")
I can't reproduce the crash.
If you didn't like that you had enough
opportunities to step up.
thats unfair. i was already rasing the multiple window issue and warned
the the fixes should consider this.
I said: "If you didn't like that".. but you do like it (except that my
implementation isn't perfect yet, but there is much more to that).
Vincent