Re: Bug list - new entries

2001-09-04 Thread Allan Rae

On Mon, 3 Sep 2001, Dekel Tsur wrote:

 On Mon, Sep 03, 2001 at 03:46:57PM +0100, Angus Leeming wrote:
  So the real fix is to add a minipagebg to the enum in LColor.h, to initialise
  it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
  setBackgroundColor(LColor::minipagebg);
 
  that way, it's configurable.

 I thought that the background color of minipages was just to debug its drawing.
 There is really no point in having a different background color in minipages.

Except to make it even more obvious where they are.

This would be extra useful if two consecutive minipages actually have a
clear space between them on screen (just a few pixels would be enough in
the document bg instead of the minipage bg)  because at present the dashed
lines on the left can be hard to pick apart -- I suppose they could be
rendered as:
_
|
|
=
|
|
-

instead though.

Allan. (ARRae)




Re: Bug list - new entries

2001-09-04 Thread Allan Rae

On Mon, 3 Sep 2001, Dekel Tsur wrote:

> On Mon, Sep 03, 2001 at 03:46:57PM +0100, Angus Leeming wrote:
> > So the real fix is to add a minipagebg to the enum in LColor.h, to initialise
> > it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
> > setBackgroundColor(LColor::minipagebg);
> >
> > that way, it's configurable.
>
> I thought that the background color of minipages was just to debug its drawing.
> There is really no point in having a different background color in minipages.

Except to make it even more obvious where they are.

This would be extra useful if two consecutive minipages actually have a
clear space between them on screen (just a few pixels would be enough in
the document bg instead of the minipage bg)  because at present the dashed
lines on the left can be hard to pick apart -- I suppose they could be
rendered as:
_
|
|
=
|
|
-

instead though.

Allan. (ARRae)




Bug list - new entries

2001-09-03 Thread Michael Schmitt

Hi,

below please find the first part of a list of new bug reports
(more to come soon):

Michael



- Please choose a brighter green as background color for minipages

- There are still infinite table repaintings if the width of the table
  is almost equal to the LyX window size (for details see SourceForge)

- If you enlarge the various math panel submenus, new unlabelled buttons
  appear (BTW: The user should not be allowed to resize the dialog at all)

- Insert a math formula into an empty table cell. Then, from within the
  formula, try to move the cursor to the next cell at the right by pressing
  CursorRight several times - if the cursor reaches the end of the
  formula it is placed at its beginning again

- Insert a minipage into an empty document; add a paragraph (a few words) in the
  minipage; set lines above and below this paragraph (in the Paragraph
  Layout dialog); delete the paragraph (select text + delete key) - CORE DUMP

  COR: Fatal core dump
  This is occurring while in:
_p963static[libsigc.a]
abort  [libc.so.1]
lyx::abort()   [abort.C:9]
LyXText::getFont(const Buffer*,Paragraph*,int)const
[LAssert.h:24]
LyXText::setHeightOfRow(BufferView*,Row*)const [text.C:1432]
LyXText::appendParagraph(BufferView*,Row*)const [text.C:1530]
LyXText::insertParagraph(BufferView*,Paragraph*,Row*)const
[text2.C:440]
LyXText::redoParagraphs(BufferView*,const LyXCursor,const
Paragraph*)const [text2.C:910]
LyXText::cutSelection(BufferView*,bool,bool) [text2.C:1780]
InsetText::localDispatch(BufferView*,kb_action,const
lyxstring) [insettext.C:1143]
InsetCollapsable::localDispatch(BufferView*,kb_action,const
lyxstring) [insetcollapsable.C:422]
LyXFunc::dispatch(int,const lyxstring) [lyxfunc.C:871]
LyXFunc::processKeySym(unsigned long,unsigned int)
[lyxfunc.C:353]
BufferView::Pimpl::workAreaKeyPress(unsigned long,unsigned
int) [BufferView_pimpl.C:515]
SigC::ObjectSlot2_void,unsigned long,unsigned
int,BufferView::Pimpl::callback(void*,unsigned long,unsigned int)
[object_slot.h:250]
SigC::Signal2void,unsigned long,unsigned
int,SigC::Marshalvoid::emit(const unsigned long,const unsigned int)
[slot.h:456]
WorkArea::work_area_handler(flobjs_*,int,int,int,int,void*)
[basic_signal.h:450]
C_WorkArea_work_area_handler [WorkArea.C:58]
fl_handle_it   [objects.c]
fl_handle_object [libforms.a]
fl_handle_form [forms.c]
do_keyboard[forms.c]
do_interaction_step [forms.c]
fl_treat_interaction_events [libforms.a]
fl_check_forms [libforms.a]
GUIRunTime::runTime() [GUIRunTime.C:86]
LyXGUI::runTime() [lyx_gui.C:316]
LyX::LyX(int*,char**) [lyx_main.C:176]
main   [main.C:38]
_start [crt1.o]
  Received signal 6 (SIGABRT - Abort)

- Insert a figure float into an empty document; insert a minipage into the
  float; insert a paragraph (a few words) into the minipage; then set lines
  above and below the paragraph within the minipage - the lines are
  printed above and below, i.e. outside, the minipage! (More terribly, the
  complete layout settings seem to be identical for the minipage and its
  paragraph; it seems like minipage is considered a property of paragraphs,
  not as an environment


-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug list - new entries

2001-09-03 Thread Andre Poenitz

On Mon, Sep 03, 2001 at 02:12:14PM +0200, Michael Schmitt wrote:
 - Please choose a brighter green as background color for minipages

Why?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug list - new entries

2001-09-03 Thread Michael Schmitt

On Mon, 3 Sep 2001, Andre Poenitz wrote:

 On Mon, Sep 03, 2001 at 02:12:14PM +0200, Michael Schmitt wrote:
  - Please choose a brighter green as background color for minipages

 Why?

It hurts me eyes :-)

The regular background color is white whereas the green chosen for
minipages is rather dark. The contrast to the black fonts is not very
well with a dark background.

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==





Re: Bug list - new entries

2001-09-03 Thread Angus Leeming

On Monday 03 September 2001 15:37, Michael Schmitt wrote:
 On Mon, 3 Sep 2001, Andre Poenitz wrote:
 
  On Mon, Sep 03, 2001 at 02:12:14PM +0200, Michael Schmitt wrote:
   - Please choose a brighter green as background color for minipages
 
  Why?
 
 It hurts me eyes :-)
 
 The regular background color is white whereas the green chosen for
 minipages is rather dark. The contrast to the black fonts is not very
 well with a dark background.
 
 Michael

So the real fix is to add a minipagebg to the enum in LColor.h, to initialise 
it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
setBackgroundColor(LColor::minipagebg);

that way, it's configurable.

Angus




Re: Bug list - new entries

2001-09-03 Thread Dekel Tsur

On Mon, Sep 03, 2001 at 03:46:57PM +0100, Angus Leeming wrote:
 So the real fix is to add a minipagebg to the enum in LColor.h, to initialise 
 it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
   setBackgroundColor(LColor::minipagebg);
 
 that way, it's configurable.

I thought that the background color of minipages was just to debug its drawing.
There is really no point in having a different background color in minipages.



Bug list - new entries

2001-09-03 Thread Michael Schmitt

Hi,

below please find the first part of a list of new bug reports
(more to come soon):

Michael



- Please choose a brighter green as background color for minipages

- There are still infinite table repaintings if the width of the table
  is almost equal to the LyX window size (for details see SourceForge)

- If you enlarge the various math panel submenus, new unlabelled buttons
  appear (BTW: The user should not be allowed to resize the dialog at all)

- Insert a math formula into an empty table cell. Then, from within the
  formula, try to move the cursor to the next cell at the right by pressing
  CursorRight several times -> if the cursor reaches the end of the
  formula it is placed at its beginning again

- Insert a minipage into an empty document; add a paragraph (a few words) in the
  minipage; set lines above and below this paragraph (in the Paragraph
  Layout dialog); delete the paragraph (select text + delete key) -> CORE DUMP

  COR: Fatal core dump
  This is occurring while in:
_p963static[libsigc.a]
abort  [libc.so.1]
lyx::abort()   [abort.C:9]
LyXText::getFont(const Buffer*,Paragraph*,int)const
[LAssert.h:24]
LyXText::setHeightOfRow(BufferView*,Row*)const [text.C:1432]
LyXText::appendParagraph(BufferView*,Row*)const [text.C:1530]
LyXText::insertParagraph(BufferView*,Paragraph*,Row*)const
[text2.C:440]
LyXText::redoParagraphs(BufferView*,const LyXCursor&,const
Paragraph*)const [text2.C:910]
LyXText::cutSelection(BufferView*,bool,bool) [text2.C:1780]
InsetText::localDispatch(BufferView*,kb_action,const
lyxstring&) [insettext.C:1143]
InsetCollapsable::localDispatch(BufferView*,kb_action,const
lyxstring&) [insetcollapsable.C:422]
LyXFunc::dispatch(int,const lyxstring&) [lyxfunc.C:871]
LyXFunc::processKeySym(unsigned long,unsigned int)
[lyxfunc.C:353]
BufferView::Pimpl::workAreaKeyPress(unsigned long,unsigned
int) [BufferView_pimpl.C:515]
SigC::ObjectSlot2_::callback(void*,unsigned long,unsigned int)
[object_slot.h:250]
SigC::Signal2::emit(const unsigned long&,const unsigned int&)
[slot.h:456]
WorkArea::work_area_handler(flobjs_*,int,int,int,int,void*)
[basic_signal.h:450]
C_WorkArea_work_area_handler [WorkArea.C:58]
fl_handle_it   [objects.c]
fl_handle_object [libforms.a]
fl_handle_form [forms.c]
do_keyboard[forms.c]
do_interaction_step [forms.c]
fl_treat_interaction_events [libforms.a]
fl_check_forms [libforms.a]
GUIRunTime::runTime() [GUIRunTime.C:86]
LyXGUI::runTime() [lyx_gui.C:316]
LyX::LyX(int*,char**) [lyx_main.C:176]
main   [main.C:38]
_start [crt1.o]
  Received signal 6 (SIGABRT - Abort)

- Insert a figure float into an empty document; insert a minipage into the
  float; insert a paragraph (a few words) into the minipage; then set lines
  above and below the paragraph within the minipage -> the lines are
  printed above and below, i.e. outside, the minipage! (More terribly, the
  complete layout settings seem to be identical for the minipage and its
  paragraph; it seems like "minipage" is considered a property of paragraphs,
  not as an environment


-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==




Re: Bug list - new entries

2001-09-03 Thread Andre Poenitz

On Mon, Sep 03, 2001 at 02:12:14PM +0200, Michael Schmitt wrote:
> - Please choose a brighter green as background color for minipages

Why?

Andre'

-- 
André Pönitz . [EMAIL PROTECTED]



Re: Bug list - new entries

2001-09-03 Thread Michael Schmitt

On Mon, 3 Sep 2001, Andre Poenitz wrote:

> On Mon, Sep 03, 2001 at 02:12:14PM +0200, Michael Schmitt wrote:
> > - Please choose a brighter green as background color for minipages
>
> Why?

It hurts me eyes :-)

The regular background color is white whereas the green chosen for
minipages is rather dark. The contrast to the black fonts is not very
well with a dark background.

Michael

-- 
==
Michael Schmittphone: +49 451 500 3725
Institute for Telematics   secretary: +49 451 500 3721
Medical University of Luebeck  fax:   +49 451 500 3722
Ratzeburger Allee 160  eMail: [EMAIL PROTECTED]
D-23538 Luebeck, Germany   WWW:   http://www.itm.mu-luebeck.de
==





Re: Bug list - new entries

2001-09-03 Thread Angus Leeming

On Monday 03 September 2001 15:37, Michael Schmitt wrote:
> On Mon, 3 Sep 2001, Andre Poenitz wrote:
> 
> > On Mon, Sep 03, 2001 at 02:12:14PM +0200, Michael Schmitt wrote:
> > > - Please choose a brighter green as background color for minipages
> >
> > Why?
> 
> It hurts me eyes :-)
> 
> The regular background color is white whereas the green chosen for
> minipages is rather dark. The contrast to the black fonts is not very
> well with a dark background.
> 
> Michael

So the real fix is to add a minipagebg to the enum in LColor.h, to initialise 
it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
setBackgroundColor(LColor::minipagebg);

that way, it's configurable.

Angus




Re: Bug list - new entries

2001-09-03 Thread Dekel Tsur

On Mon, Sep 03, 2001 at 03:46:57PM +0100, Angus Leeming wrote:
> So the real fix is to add a minipagebg to the enum in LColor.h, to initialise 
> it in LColor.C and to use it in the InsetMinipage c-tor (insetminipage.C)
>   setBackgroundColor(LColor::minipagebg);
> 
> that way, it's configurable.

I thought that the background color of minipages was just to debug its drawing.
There is really no point in having a different background color in minipages.