Re: (Regression in r37057 by "tommaso") Crash on quit when fullscreen and AdvFind dialog open.

2011-01-05 Thread Jean-Marc Lasgouttes
Le 05/01/2011 00:21, Tommaso Cucinotta a écrit : Ok, let's give up with the assumption that the Adv Search dialog can only be open when a main document exists and is open. In fact the following sequence is sufficient for violating it: 1) C-N (new doc) 2) C-S-f (Adv Search panel) 3) C-w (close doc

Instant preview issues

2011-01-05 Thread Michal
I am using WinXP SP3 (Polish) with MikTeX 2.9.3972. I've also confirmed the following with a fresh snapshot of XP SP3 inside VirtualBox 4.0.0 (LyX 2.0beta2 only). I'd like to report a regression. As I recall, there have been some changes in beta2 wrt the instant preview machinery. Th

Re: (Regression in r37057 by "tommaso") Crash on quit when fullscreen and AdvFind dialog open.

2011-01-05 Thread Tommaso Cucinotta
Il 05/01/2011 11:46, Jean-Marc Lasgouttes ha scritto: Le 05/01/2011 00:21, Tommaso Cucinotta a écrit : Ok, let's give up with the assumption that the Adv Search dialog can only be open when a main document exists and is open. In fact the following sequence is sufficient for violating it: 1) C-N

Re: (Regression in r37057 by "tommaso") Crash on quit when fullscreen and AdvFind dialog open.

2011-01-05 Thread Vincent van Ravesteijn
Op 5-1-2011 15:42, Tommaso Cucinotta schreef: Il 05/01/2011 11:46, Jean-Marc Lasgouttes ha scritto: Le 05/01/2011 00:21, Tommaso Cucinotta a écrit : Ok, let's give up with the assumption that the Adv Search dialog can only be open when a main document exists and is open. I prefer to give up.

Re: (Regression in r37057 by "tommaso") Crash on quit when fullscreen and AdvFind dialog open.

2011-01-05 Thread Tommaso Cucinotta
Il 05/01/2011 00:21, Tommaso Cucinotta ha scritto: If anyone likes it, I'll commit it. Anyway, being a fix of a crash, I thought it is ok to commit anycase (r37115). (if later we come up with a means for closing the dialog when last doc is closed, then this code is harmless). T.

Re: (Regression in r37057 by "tommaso") Crash on quit when fullscreen and AdvFind dialog open.

2011-01-05 Thread Tommaso Cucinotta
Il 05/01/2011 16:05, Vincent van Ravesteijn ha scritto: A side-effect also was that we don't remember the outliner visibility status on exit, because all documents were closed on exit and also the outliner then. I think you want the find-replace widget also to be remembered to the next sessio

Re: r37115 - lyx-devel/trunk/src/frontends/qt4

2011-01-05 Thread Vincent van Ravesteijn
Op 5-1-2011 16:08, tomm...@lyx.org schreef: Author: tommaso Date: Wed Jan 5 16:08:08 2011 New Revision: 37115 URL: http://www.lyx.org/trac/changeset/37115 Log: Avoid crash on exiting LyX while Adv Search is shown in full-screen mode. Modified: lyx-devel/trunk/src/frontends/qt4/FindAndRepl

Re: r37115 - lyx-devel/trunk/src/frontends/qt4

2011-01-05 Thread Tommaso Cucinotta
Il 05/01/2011 16:14, Vincent van Ravesteijn ha scritto: void FindAndReplaceWidget::findAndReplaceScope(FindAndReplaceOptions& opt) { -view_.setBusy(true); -int wrap_answer = -1; -ostringstream oss; -oss<< opt; -FuncRequest cmd(LFUN_WORD_FINDADV, from_utf8(oss.str()));

Re: #1720: LyX/Mac: TOC Menus entries are not correctly disabled when a dialog has focus

2011-01-05 Thread Stephan Witt
Am 04.01.2011 um 21:21 schrieb Vincent van Ravesteijn: >> I have to admit that I don't understand the problem. >> I don't understand what version "trunk" refers in the ticket >> comments - 1.6? > > No .. trunk is 2.0 and branch is 1.6.x. I got confused by the question if the changeset 30557 (inc

Re: Paste as simple unformatted text

2011-01-05 Thread Pavel Sanda
Tommaso Cucinotta wrote: > I have to admit that I have no clue about > whether this impacts other uses of that method and causes misbehaviors. i think this is 2.1 stuff. pavel

Re: r37097 - lyx-devel/trunk/src

2011-01-05 Thread Pavel Sanda
Enrico Forestieri wrote: > Select something in LyX and then left-click away. Now the selection > disappears but you can still middle-paste the previosly selected text. > That's the permanent selection thingie: until you select something else, > the old selection is still available. i see what you

Re: creating lyx note causes clipboard copy

2011-01-05 Thread Georg Baum
Helge Hafting wrote: > On 28. des. 2010 23:22, Pavel Sanda wrote: >> Jack Tanner wrote: >>> 1. Create a new document. >>> 2. Type in two words, word1 and word2. >>> 3. Select and copy word2. >>> 4. Highlight word1 and Insert, Note, LyX Note. word1 will be placed >>> inside a new note. >>> 5. Paste

Re: #1720: LyX/Mac: TOC Menus entries are not correctly disabled when a dialog has focus

2011-01-05 Thread Stephan Witt
Am 05.01.2011 um 17:47 schrieb Stephan Witt: > Am 04.01.2011 um 21:21 schrieb Vincent van Ravesteijn: > > The biggest problem I see currently is that on Linux a change of focus > from one document to another updates the document settings contents > while on Mac this does not happen! (on LyX 2.0)

Re: #1720: LyX/Mac: TOC Menus entries are not correctly disabled when a dialog has focus

2011-01-05 Thread Stephan Witt
Am 05.01.2011 um 01:00 schrieb BH: > On Tue, Jan 4, 2011 at 3:21 PM, Vincent van Ravesteijn wrote: >>> I have to admit that I don't understand the problem. >>> I don't understand what version "trunk" refers in the ticket >>> comments - 1.6? >> >> No .. trunk is 2.0 and branch is 1.6.x. >> >>> A

Question regarding Cursor::normalize()

2011-01-05 Thread Stephan Witt
While looking at #7209 I stumbled over Cursor::normalize(). Is it really a good idea to use the cursor inset as math whithout any check to write it to debug output? Stephan Possible patch: Index: src/Cursor.cpp === --- src/Cursor.cp

Re: (Regression in r37057 by "tommaso") Crash on quit when fullscreen and AdvFind dialog open.

2011-01-05 Thread Abdelrazak Younes
On 01/05/2011 04:05 PM, Vincent van Ravesteijn wrote: Op 5-1-2011 15:42, Tommaso Cucinotta schreef: Il 05/01/2011 11:46, Jean-Marc Lasgouttes ha scritto: Le 05/01/2011 00:21, Tommaso Cucinotta a écrit : Ok, let's give up with the assumption that the Adv Search dialog can only be open when a m