Re: Automatic scrolling upon entering math mode inside a caption

2013-03-25 Thread Thomas Coffee
Uwe Stöhr uwestoehr at web.de writes:
 
 Am 27.09.2010 22:06, schrieb Will:
 
  Hmm, I didn't realize this was important before, but it seems I only
  have this problem when I have View Source open on the bottom of the
  window.
 
 This is because the source window shows you with the default settings 
 only the content of the current paragraph. So depending on the amount 
 your have already in your caption, it needs more space to display the 
 new math code.

This old thread was the only mention I could find of this problem ... but I
still experience this behavior in LyX 2 regardless of what is open or not open
at the bottom of the window (in particular, regardless of whether View Source
is open), so there must be more to the story.

Whenever the cursor enters a math mode element that is inside any kind of box
(Figure caption, LyX note, etc.), via pointing device or arrow keys, the
contents of the editing window are immediately scrolled to place the math mode
element at the top.

I am running LyX 2.0.0 on Ubuntu 11.10 x86_64. I could not find any bug reports
on this topic, so I wonder if any others are having the same problem.

Thomas






Re: Automatic scrolling upon entering math mode inside a caption

2013-03-25 Thread Thomas Coffee
On Mon, Mar 25, 2013 at 11:08 AM, Thomas Coffee thomasmcof...@gmail.com wrote:
 Whenever the cursor enters a math mode element that is inside any kind of box
 (Figure caption, LyX note, etc.), via pointing device or arrow keys, the
 contents of the editing window are immediately scrolled to place the math mode
 element at the top.

On closer examination, the behavior is actually more complex: it
appears that upon entering or creating a math mode element inside a
box, LyX attempts to scroll the math mode element (if necessary and
possible) such that vertical space appearing below it in the editing
window is greater than or equal to the vertical extent of the box.

(I previously believed it tried to place the math mode element at the
top because all my examples were done inside boxes greater than the
height of the window.)

Can anyone reproduce this?

Thomas


Re: Automatic scrolling upon entering math mode inside a caption

2013-03-25 Thread Thomas Coffee
Uwe Stöhr uwestoehr at web.de writes:
 
 Am 27.09.2010 22:06, schrieb Will:
 
  Hmm, I didn't realize this was important before, but it seems I only
  have this problem when I have View Source open on the bottom of the
  window.
 
 This is because the source window shows you with the default settings 
 only the content of the current paragraph. So depending on the amount 
 your have already in your caption, it needs more space to display the 
 new math code.

This old thread was the only mention I could find of this problem ... but I
still experience this behavior in LyX 2 regardless of what is open or not open
at the bottom of the window (in particular, regardless of whether View Source
is open), so there must be more to the story.

Whenever the cursor enters a math mode element that is inside any kind of box
(Figure caption, LyX note, etc.), via pointing device or arrow keys, the
contents of the editing window are immediately scrolled to place the math mode
element at the top.

I am running LyX 2.0.0 on Ubuntu 11.10 x86_64. I could not find any bug reports
on this topic, so I wonder if any others are having the same problem.

Thomas






Re: Automatic scrolling upon entering math mode inside a caption

2013-03-25 Thread Thomas Coffee
On Mon, Mar 25, 2013 at 11:08 AM, Thomas Coffee thomasmcof...@gmail.com wrote:
 Whenever the cursor enters a math mode element that is inside any kind of box
 (Figure caption, LyX note, etc.), via pointing device or arrow keys, the
 contents of the editing window are immediately scrolled to place the math mode
 element at the top.

On closer examination, the behavior is actually more complex: it
appears that upon entering or creating a math mode element inside a
box, LyX attempts to scroll the math mode element (if necessary and
possible) such that vertical space appearing below it in the editing
window is greater than or equal to the vertical extent of the box.

(I previously believed it tried to place the math mode element at the
top because all my examples were done inside boxes greater than the
height of the window.)

Can anyone reproduce this?

Thomas


Re: Automatic scrolling upon entering math mode inside a caption

2013-03-25 Thread Thomas Coffee
Uwe Stöhr  web.de> writes:
> 
> Am 27.09.2010 22:06, schrieb Will:
> 
> > Hmm, I didn't realize this was important before, but it seems I only
> > have this problem when I have "View Source" open on the bottom of the
> > window.
> 
> This is because the source window shows you with the default settings 
> only the content of the current paragraph. So depending on the amount 
> your have already in your caption, it needs more space to display the 
> new math code.

This old thread was the only mention I could find of this problem ... but I
still experience this behavior in LyX 2 regardless of what is open or not open
at the bottom of the window (in particular, regardless of whether "View Source"
is open), so there must be more to the story.

Whenever the cursor enters a math mode element that is inside any kind of box
(Figure caption, LyX note, etc.), via pointing device or arrow keys, the
contents of the editing window are immediately scrolled to place the math mode
element at the top.

I am running LyX 2.0.0 on Ubuntu 11.10 x86_64. I could not find any bug reports
on this topic, so I wonder if any others are having the same problem.

Thomas






Re: Automatic scrolling upon entering math mode inside a caption

2013-03-25 Thread Thomas Coffee
On Mon, Mar 25, 2013 at 11:08 AM, Thomas Coffee  wrote:
> Whenever the cursor enters a math mode element that is inside any kind of box
> (Figure caption, LyX note, etc.), via pointing device or arrow keys, the
> contents of the editing window are immediately scrolled to place the math mode
> element at the top.

On closer examination, the behavior is actually more complex: it
appears that upon entering or creating a math mode element inside a
box, LyX attempts to scroll the math mode element (if necessary and
possible) such that vertical space appearing below it in the editing
window is greater than or equal to the vertical extent of the box.

(I previously believed it tried to place the math mode element at the
top because all my examples were done inside boxes greater than the
height of the window.)

Can anyone reproduce this?

Thomas


Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Uwe Stöhr

Am 27.09.2010 17:40, schrieb Will:


Whenever I enter math mode within the caption of a figure float, LyX
automatically scrolls down so that the formula is on the top line of the
screen.


I cannot reproduce this behavior with LyX 1.6.7 on Windows. The only 
thing that happens is that the math toolbar pops up. This needs of 
course some space so that the text is shifted above by the height of the 
math toolbars.


regards Uwe


Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Will
Hmm, I didn't realize this was important before, but it seems I only have
this problem when I have View Source open on the bottom of the window.  It
always puts the cursor at the top of the window even when there is plenty of
room for the math toolbar and the view source box.  I don't if there's any
way to stop this behavior, but at least I can close or move the view source
window when I need to write figure captions.

On Mon, Sep 27, 2010 at 2:13 PM, Uwe Stöhr uwesto...@web.de wrote:

 Am 27.09.2010 17:40, schrieb Will:


  Whenever I enter math mode within the caption of a figure float, LyX
 automatically scrolls down so that the formula is on the top line of the
 screen.


 I cannot reproduce this behavior with LyX 1.6.7 on Windows. The only thing
 that happens is that the math toolbar pops up. This needs of course some
 space so that the text is shifted above by the height of the math toolbars.

 regards Uwe



Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Uwe Stöhr

Am 27.09.2010 22:06, schrieb Will:


Hmm, I didn't realize this was important before, but it seems I only
have this problem when I have View Source open on the bottom of the
window.


This is because the source window shows you with the default settings 
only the content of the current paragraph. So depending on the amount 
your have already in your caption, it needs more space to display the 
new math code.


regards Uwe


Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Uwe Stöhr

Am 27.09.2010 17:40, schrieb Will:


Whenever I enter math mode within the caption of a figure float, LyX
automatically scrolls down so that the formula is on the top line of the
screen.


I cannot reproduce this behavior with LyX 1.6.7 on Windows. The only 
thing that happens is that the math toolbar pops up. This needs of 
course some space so that the text is shifted above by the height of the 
math toolbars.


regards Uwe


Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Will
Hmm, I didn't realize this was important before, but it seems I only have
this problem when I have View Source open on the bottom of the window.  It
always puts the cursor at the top of the window even when there is plenty of
room for the math toolbar and the view source box.  I don't if there's any
way to stop this behavior, but at least I can close or move the view source
window when I need to write figure captions.

On Mon, Sep 27, 2010 at 2:13 PM, Uwe Stöhr uwesto...@web.de wrote:

 Am 27.09.2010 17:40, schrieb Will:


  Whenever I enter math mode within the caption of a figure float, LyX
 automatically scrolls down so that the formula is on the top line of the
 screen.


 I cannot reproduce this behavior with LyX 1.6.7 on Windows. The only thing
 that happens is that the math toolbar pops up. This needs of course some
 space so that the text is shifted above by the height of the math toolbars.

 regards Uwe



Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Uwe Stöhr

Am 27.09.2010 22:06, schrieb Will:


Hmm, I didn't realize this was important before, but it seems I only
have this problem when I have View Source open on the bottom of the
window.


This is because the source window shows you with the default settings 
only the content of the current paragraph. So depending on the amount 
your have already in your caption, it needs more space to display the 
new math code.


regards Uwe


Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Uwe Stöhr

Am 27.09.2010 17:40, schrieb Will:


Whenever I enter math mode within the caption of a figure float, LyX
automatically scrolls down so that the formula is on the top line of the
screen.


I cannot reproduce this behavior with LyX 1.6.7 on Windows. The only 
thing that happens is that the math toolbar pops up. This needs of 
course some space so that the text is shifted above by the height of the 
math toolbars.


regards Uwe


Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Will
Hmm, I didn't realize this was important before, but it seems I only have
this problem when I have "View Source" open on the bottom of the window.  It
always puts the cursor at the top of the window even when there is plenty of
room for the math toolbar and the view source box.  I don't if there's any
way to stop this behavior, but at least I can close or move the view source
window when I need to write figure captions.

On Mon, Sep 27, 2010 at 2:13 PM, Uwe Stöhr  wrote:

> Am 27.09.2010 17:40, schrieb Will:
>
>
>  Whenever I enter math mode within the caption of a figure float, LyX
>> automatically scrolls down so that the formula is on the top line of the
>> screen.
>>
>
> I cannot reproduce this behavior with LyX 1.6.7 on Windows. The only thing
> that happens is that the math toolbar pops up. This needs of course some
> space so that the text is shifted above by the height of the math toolbars.
>
> regards Uwe
>


Re: Automatic scrolling upon entering math mode inside a caption

2010-09-27 Thread Uwe Stöhr

Am 27.09.2010 22:06, schrieb Will:


Hmm, I didn't realize this was important before, but it seems I only
have this problem when I have "View Source" open on the bottom of the
window.


This is because the source window shows you with the default settings 
only the content of the current paragraph. So depending on the amount 
your have already in your caption, it needs more space to display the 
new math code.


regards Uwe