Advanced find issues

2011-12-23 Thread Jean-Marc Lasgouttes
While looking at advanced find memory problem, I noticed the following bug: it is perfectly possible to do a serach and replace on a read-only document! The fix is firstly to change BufferView::getStatus to disable WORD_FINDADV if there is a replace string and the document is read-only. Of

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Pavel Sanda
Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local connection and DISPLAY=somehost:10.0 on the

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Jürgen Spitzmüller
Pavel Sanda wrote: just to check, could people around sitting on linux or mac systems report back their output of the command (to have some review): set |grep DISPLAY DISPLAY=:0 (local only) Jürgen

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Cor Blom
Op 23-12-11 14:35, Pavel Sanda schreef: Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Stephan Witt
Am 23.12.2011 um 14:35 schrieb Pavel Sanda: Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Pavel Sanda
Stephan Witt wrote: On Linux the check for DISPLAY is a 98% solution. Every X-Application parses the command line options and understands the -display xserver:display.screen option. One should check that too if the guessing by display name is the way to go. This option overrides the

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Stephan Witt
Am 23.12.2011 um 15:01 schrieb Pavel Sanda: Stephan Witt wrote: On Linux the check for DISPLAY is a 98% solution. Every X-Application parses the command line options and understands the -display xserver:display.screen option. One should check that too if the guessing by display name is the

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Pavel Sanda
Stephan Witt wrote: Am 23.12.2011 um 15:01 schrieb Pavel Sanda: Stephan Witt wrote: On Linux the check for DISPLAY is a 98% solution. Every X-Application parses the command line options and understands the -display xserver:display.screen option. One should check that too if the

No effect of aligning an image

2011-12-23 Thread manifolds
Hello: When I insert an image to the lyx, and changed the default align option in the bottom of dialog box /lyx : 图形,默认/(default) to /底部偏右/(maybe in english bottom right). This will change nothing. There is nothing changed in the latex source, that can be seen in the bottom of the lyx

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Richard Heck
On 12/23/2011 08:35 AM, Pavel Sanda wrote: Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Jean-Marc Lasgouttes
Le 23/12/2011 14:35, Pavel Sanda a écrit : Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local

Re: #7952: Crash or Assertion when Escaping out of Ignore All spellchecker dialog.

2011-12-23 Thread Stephan Witt
Am 21.12.2011 um 16:24 schrieb LyX Ticket Tracker: #7952: Crash or Assertion when Escaping out of Ignore All spellchecker dialog. +--- Reporter: gmatht | Owner: stwitt Type: defect | Status:

Advanced find issues

2011-12-23 Thread Jean-Marc Lasgouttes
While looking at advanced find memory problem, I noticed the following bug: it is perfectly possible to do a serach and replace on a read-only document! The fix is firstly to change BufferView::getStatus to disable WORD_FINDADV if there is a replace string and the document is read-only. Of

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Pavel Sanda
Abdelrazak Younes wrote: >> so we need new RC option or even better to test internally whether >> we are on local box. i'm not sure how to detect it reliably >> but one possible route seems to be DISPLAY environment variable. >> (i see DISPLAY=:0.0 on local connection and DISPLAY=somehost:10.0 >>

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Jürgen Spitzmüller
Pavel Sanda wrote: > just to check, could people around sitting on linux or mac systems > report back their output of the command (to have some review): > set |grep DISPLAY DISPLAY=:0 (local only) Jürgen

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Cor Blom
Op 23-12-11 14:35, Pavel Sanda schreef: Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Stephan Witt
Am 23.12.2011 um 14:35 schrieb Pavel Sanda: > Abdelrazak Younes wrote: >>> so we need new RC option or even better to test internally whether >>> we are on local box. i'm not sure how to detect it reliably >>> but one possible route seems to be DISPLAY environment variable. >>> (i see

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Pavel Sanda
Stephan Witt wrote: > On Linux the check for DISPLAY is a 98% solution. Every X-Application > parses the command line options and understands the > -display xserver:display.screen option. One should check that too > if the guessing by display name is the way to go. This option overrides > the

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Stephan Witt
Am 23.12.2011 um 15:01 schrieb Pavel Sanda: > Stephan Witt wrote: >> On Linux the check for DISPLAY is a 98% solution. Every X-Application >> parses the command line options and understands the >> -display xserver:display.screen option. One should check that too >> if the guessing by display

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Pavel Sanda
Stephan Witt wrote: > Am 23.12.2011 um 15:01 schrieb Pavel Sanda: > > > Stephan Witt wrote: > >> On Linux the check for DISPLAY is a 98% solution. Every X-Application > >> parses the command line options and understands the > >> -display xserver:display.screen option. One should check that too >

No effect of aligning an image

2011-12-23 Thread manifolds
Hello: When I insert an image to the lyx, and changed the default align option in the bottom of dialog box /lyx : 图形,默认/(default) to /底部偏右/(maybe in english bottom right). This will change nothing. There is nothing changed in the latex source, that can be seen in the bottom of the lyx

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Richard Heck
On 12/23/2011 08:35 AM, Pavel Sanda wrote: Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local

Re: Potential fix for slowness on X11 (Re: r39932 - lyx-devel/trunk/src/frontends/qt4

2011-12-23 Thread Jean-Marc Lasgouttes
Le 23/12/2011 14:35, Pavel Sanda a écrit : Abdelrazak Younes wrote: so we need new RC option or even better to test internally whether we are on local box. i'm not sure how to detect it reliably but one possible route seems to be DISPLAY environment variable. (i see DISPLAY=:0.0 on local

Re: #7952: Crash or Assertion when Escaping out of "Ignore All" spellchecker dialog.

2011-12-23 Thread Stephan Witt
Am 21.12.2011 um 16:24 schrieb LyX Ticket Tracker: > #7952: Crash or Assertion when Escaping out of "Ignore All" spellchecker > dialog. > +--- > Reporter: gmatht | Owner: stwitt > Type: defect |