Re: Bug with branch inset and "click to open"

2003-08-18 Thread Andre Poenitz
On Mon, Aug 18, 2003 at 03:06:15PM +0300, Martin Vermeer wrote:
> On Mon, Aug 18, 2003 at 01:03:35PM +0200, Andre Poenitz spake thusly:
>  
> > On Mon, Aug 18, 2003 at 02:16:41PM +0300, Martin Vermeer wrote:
> > > Whatever you did, it sure helped ;-)
> > 
> > But I get a crash now that wasn't there before (scroll past long
> > minipage)
> > 
> > Andre'
> 
> Don't get it to crash (how long is long?) but I do see the funny
> effect that arrow down takes it past the bottom to the top, OR arrow
> up takes it to the bottom. (Never both at the same time, and adding a
> paragraph at the bottom/top may reverse the effect :-)

There's still magic in Alfredo's patch that I committed...

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Bug with branch inset and "click to open"

2003-08-18 Thread Martin Vermeer
On Mon, Aug 18, 2003 at 01:03:35PM +0200, Andre Poenitz spake thusly:
 
> On Mon, Aug 18, 2003 at 02:16:41PM +0300, Martin Vermeer wrote:
> > Whatever you did, it sure helped ;-)
> 
> But I get a crash now that wasn't there before (scroll past long
> minipage)
> 
> Andre'

Don't get it to crash (how long is long?) but I do see the funny
effect that arrow down takes it past the bottom to the top, OR arrow
up takes it to the bottom. (Never both at the same time, and adding a
paragraph at the bottom/top may reverse the effect :-)

- Martin


pgp0.pgp
Description: PGP signature


Re: Bug with branch inset and "click to open"

2003-08-18 Thread Martin Vermeer
On Mon, Aug 18, 2003 at 01:03:35PM +0200, Andre Poenitz spake thusly:
 
> On Mon, Aug 18, 2003 at 02:16:41PM +0300, Martin Vermeer wrote:
> > Whatever you did, it sure helped ;-)
> 
> But I get a crash now that wasn't there before (scroll past long
> minipage)

Win some, lose some. But you're doing the really important work here
-- keeping LyX maintainable and develop-able for the rest of us.

- Martin



pgp0.pgp
Description: PGP signature


Re: Bug with branch inset and "click to open"

2003-08-18 Thread Andre Poenitz
On Mon, Aug 18, 2003 at 02:16:41PM +0300, Martin Vermeer wrote:
> Whatever you did, it sure helped ;-)

But I get a crash now that wasn't there before (scroll past long
minipage)

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Bug with branch inset and "click to open"

2003-08-18 Thread Martin Vermeer
On Mon, Aug 18, 2003 at 12:37:55PM +0200, Andre Poenitz spake thusly:
 
> On Mon, Aug 18, 2003 at 01:42:41PM +0300, Martin Vermeer wrote:
> > On Sun, Aug 17, 2003 at 01:42:44PM -0700, Kayvan A. Sylvan spake thusly:
> > > 
> > > Open the attached lyx file with latest CVS lyx-xforms.
> > > 
> > > Attempting to open branch "foo" does not work.
> > > 
> > > Click on it and you will see that the cursor does not move and the branch
> > > inset does not open.
> > > 
> > > If you put some text after the "foo" branch inset, then you will be able
> > > to open the "foo" branch inset.
> > > 
> > >   ---Kayvan
> > 
> > André just fixed this bug. Way to go! Update CVS and try again ;-)
> 
> I did what?
> 
> Andre'
 
Whatever you did, it sure helped ;-)

I pretty much suspect your text.C patch.

Martin



pgp0.pgp
Description: PGP signature


Re: Bug with branch inset and "click to open"

2003-08-18 Thread Andre Poenitz
On Mon, Aug 18, 2003 at 01:42:41PM +0300, Martin Vermeer wrote:
> On Sun, Aug 17, 2003 at 01:42:44PM -0700, Kayvan A. Sylvan spake thusly:
> > 
> > Open the attached lyx file with latest CVS lyx-xforms.
> > 
> > Attempting to open branch "foo" does not work.
> > 
> > Click on it and you will see that the cursor does not move and the branch
> > inset does not open.
> > 
> > If you put some text after the "foo" branch inset, then you will be able
> > to open the "foo" branch inset.
> > 
> > ---Kayvan
> 
> André just fixed this bug. Way to go! Update CVS and try again ;-)

I did what?

Andre'


-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Re: Bug with branch inset and "click to open"

2003-08-18 Thread Martin Vermeer
On Sun, Aug 17, 2003 at 01:42:44PM -0700, Kayvan A. Sylvan spake thusly:
> 
> Open the attached lyx file with latest CVS lyx-xforms.
> 
> Attempting to open branch "foo" does not work.
> 
> Click on it and you will see that the cursor does not move and the branch
> inset does not open.
> 
> If you put some text after the "foo" branch inset, then you will be able
> to open the "foo" branch inset.
> 
>   ---Kayvan

André just fixed this bug. Way to go! Update CVS and try again ;-)

- Martin



pgp0.pgp
Description: PGP signature


Re: Bug with branch inset and "click to open"

2003-08-17 Thread Martin Vermeer
On Sun, Aug 17, 2003 at 01:42:44PM -0700, Kayvan A. Sylvan spake thusly:
 
> Open the attached lyx file with latest CVS lyx-xforms.
> 
> Attempting to open branch "foo" does not work.
> 
> Click on it and you will see that the cursor does not move and the branch
> inset does not open.
> 
> If you put some text after the "foo" branch inset, then you will be able
> to open the "foo" branch inset.
> 
>   ---Kayvan

Actually it's worse than that. Try the same with a footnote inset...
you need to put a line of text *under* the inset for it to work properly.

...and try to move the cursor down with the down arrow... it doesn't
move past the inset if it is on the last row and jumps back to the
start of the text.

I disclaim all guilt ;-) It's André's cleanup job, I suspect.

Martin


pgp0.pgp
Description: PGP signature


Bug with branch inset and "click to open"

2003-08-17 Thread Kayvan A. Sylvan
Open the attached lyx file with latest CVS lyx-xforms.

Attempting to open branch "foo" does not work.

Click on it and you will see that the cursor does not move and the branch
inset does not open.

If you put some text after the "foo" branch inset, then you will be able
to open the "foo" branch inset.

---Kayvan
-- 
Kayvan A. Sylvan  | Proud husband of   | Father to my kids:
Sylvan Associates, Inc.   | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
#LyX 1.4.0cvs created this file. For more info see http://www.lyx.org/
\lyxformat 225
\textclass article
\language english
\inputencoding auto
\fontscheme default
\graphics default
\paperfontsize default
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 1
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\branch branch1
\selected 0
\color none
\end_branch
\branch foo
\selected 1
\color none
\end_branch
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\quotes_times 2
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes 0
\end_header

\begin_layout Standard


\begin_inset Branch branch1
collapsed true

\begin_layout Standard

Testing
\end_layout

\end_inset 


\end_layout

\begin_layout Standard


\begin_inset Branch foo
collapsed true

\begin_layout Standard

This is the second branch
\end_layout

\end_inset 


\end_layout

\end_document