Re: 2.2rc1: Horizontal scrolling table floats

2016-04-21 Thread Jean-Marc Lasgouttes

Le 21/04/2016 01:30, Scott Kostyshak a écrit :

On Wed, Apr 20, 2016 at 02:23:54PM -0500, disinteres...@gmail.com wrote:

Ok, a little more digging lead me to this: If there is text in the table
float (but outside of the table) that is wide enough to wrap lines, the
table won't scroll horizontally. I'm attaching an example.


Perfect. Good investigation. I can reproduce this. JMarc do you have an
idea?


It is embarassing, in my tests it never occurred to me that tables are 
generally in table flaots %-|


I think the problem is that traditionally collapsable insets have a 
width that is limited to the width of the bufferview. I have to see 
whether this can be lifted without too much pain.


Please create a bug report.

JMarc



Re: 2.2rc1: Horizontal scrolling table floats

2016-04-20 Thread disinteres...@gmail.com
As far as I recall, the crashes were instant after hitting apply. But, I
don't remember the exact circumstances and now I can't reproduce it either.
I'll file a bug report if I find a way to reproduce the crash.

On Wed, Apr 20, 2016 at 2:23 PM, disinteres...@gmail.com <
disinteres...@gmail.com> wrote:

> Ok, a little more digging lead me to this: If there is text in the table
> float (but outside of the table) that is wide enough to wrap lines, the
> table won't scroll horizontally. I'm attaching an example.
>
> As for the crash when changing preferences: It happened twice toggling the
> same box, but I can't figure out a recipe to reproduce it. I'm not sure if
> this matters, but I'm running the rc from the desktop instead of the apps
> folder.
>
> PS - Thanks! Proud of the mail address but always happy to help improve
> LyX.
>
> On Wed, Apr 20, 2016 at 11:15 AM, disinteres...@gmail.com <
> disinteres...@gmail.com> wrote:
>
>> With 2.2 rc1, horizontal scrolling doesn't seem to work (at least on my
>> installation of OS X 10.11.4) with wide tables that are contained in table
>> floats, making it impossible to edit columns past the window boundary. Is
>> there a setting/workaround for this?
>>
>> Also, while investigating this, I went to Preferences: Editing, toggled
>> Cursor follows scrollbar, and LyX crashed when I hit Apply.
>>
>>
>>
>>
>>
>>
>


Re: 2.2rc1: Horizontal scrolling table floats

2016-04-20 Thread Scott Kostyshak
On Wed, Apr 20, 2016 at 02:23:54PM -0500, disinteres...@gmail.com wrote:
> Ok, a little more digging lead me to this: If there is text in the table
> float (but outside of the table) that is wide enough to wrap lines, the
> table won't scroll horizontally. I'm attaching an example.

Perfect. Good investigation. I can reproduce this. JMarc do you have an
idea?

> As for the crash when changing preferences: It happened twice toggling the
> same box, but I can't figure out a recipe to reproduce it. I'm not sure if
> this matters, but I'm running the rc from the desktop instead of the apps
> folder.

I still can't reproduce the crash. Can you reproduce it with the example
you sent? does it matter where the cursor is (e.g. is it off screen
because you tabbed over and the scrolling did not work)? Do you press
"Apply" or "Save"? Does it crash immediately after (in the cases when
the crash does occur) or do you need to e.g. close the dialog or type
something?

Thanks for the help,

Scott

> PS - Thanks! Proud of the mail address but always happy to help improve LyX.
> 
> On Wed, Apr 20, 2016 at 11:15 AM, disinteres...@gmail.com <
> disinteres...@gmail.com> wrote:
> 
> > With 2.2 rc1, horizontal scrolling doesn't seem to work (at least on my
> > installation of OS X 10.11.4) with wide tables that are contained in table
> > floats, making it impossible to edit columns past the window boundary. Is
> > there a setting/workaround for this?
> >
> > Also, while investigating this, I went to Preferences: Editing, toggled
> > Cursor follows scrollbar, and LyX crashed when I hit Apply.
> >
> >
> >
> >
> >
> >




signature.asc
Description: PGP signature


Re: 2.2rc1: Horizontal scrolling table floats

2016-04-20 Thread disinteres...@gmail.com
Ok, a little more digging lead me to this: If there is text in the table
float (but outside of the table) that is wide enough to wrap lines, the
table won't scroll horizontally. I'm attaching an example.

As for the crash when changing preferences: It happened twice toggling the
same box, but I can't figure out a recipe to reproduce it. I'm not sure if
this matters, but I'm running the rc from the desktop instead of the apps
folder.

PS - Thanks! Proud of the mail address but always happy to help improve LyX.

On Wed, Apr 20, 2016 at 11:15 AM, disinteres...@gmail.com <
disinteres...@gmail.com> wrote:

> With 2.2 rc1, horizontal scrolling doesn't seem to work (at least on my
> installation of OS X 10.11.4) with wide tables that are contained in table
> floats, making it impossible to edit columns past the window boundary. Is
> there a setting/workaround for this?
>
> Also, while investigating this, I went to Preferences: Editing, toggled
> Cursor follows scrollbar, and LyX crashed when I hit Apply.
>
>
>
>
>
>


newfile1.lyx
Description: Binary data


Re: 2.2rc1: Horizontal scrolling table floats

2016-04-20 Thread Scott Kostyshak
On Wed, Apr 20, 2016 at 11:15:17AM -0500, disinteres...@gmail.com wrote:
> With 2.2 rc1, horizontal scrolling doesn't seem to work (at least on my
> installation of OS X 10.11.4) with wide tables that are contained in table
> floats, making it impossible to edit columns past the window boundary. Is
> there a setting/workaround for this?

Note that there is no horizontal *scrollbar*, but we have implemented
horizontal scrolling.

It should work when scrolling with the mouse (e.g. pressing tab). Can
you access the full table? If not, then indeed it does not work as
intended. In this case, can you please send us a small example .lyx file
that illustrates the problem?

> Also, while investigating this, I went to Preferences: Editing, toggled
> Cursor follows scrollbar, and LyX crashed when I hit Apply.

This problem is actually much more serious than any potential problem
above. Are you able to reproduce this (i.e. can you do the same steps
and get the crash again)?

Thank you for testing rc1!

Nice email address by the way. I hope you are at least "interested" in
helping us find and fix the crash bug you found :)

Scott


signature.asc
Description: PGP signature