DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2261
Version: 1.3-current


Ooh, I wouldn't have expected this, but anyway, it has happened ...

The culprit is in svn -r 6845, our change to fl_height(int,int). This is
called from Fl_Text_Display::buffer() form make_shell_window() in fluid.
See the appended backtrace.

I can't currently look deeper into this, but maybe someone else who is
more familiar with fluid can fix this. I've seen other warnings in
factory.cxx like:

 // Fl_Browser::add calls fl_height(), which requires the X display open.
 // Avoid this when compiling so it works w/o a display:
 if (!compile_only) { ...

Maybe we can fix this issue in a similar manner.

---- backtrace ----

#0  fl_open_display () at Fl_x.cxx:543
#1  0x080eb7ae in fontopen (name=0x81217db " mono", core=false, angle=0)
at fl_font_xft.cxx:152
#2  0x080ebb7b in Fl_Font_Descriptor (this=0x8171a98, name=0x81217db "
mono") at fl_font_xft.cxx:319
#3  0x080ebc6a in fl_font (fnum=4, size=14, angle=0) at
fl_font_xft.cxx:124
#4  0x080ebcc0 in fl_font (fnum=4, size=14) at fl_font_xft.cxx:136
#5  0x080e8cb8 in fl_height (font=4, size=14) at fl_draw.cxx:444
#6  0x080d42c5 in Fl_Text_Display::resize (this=0x8171358, X=12, Y=12,
W=531, H=371) at Fl_Text_Display.cxx:386
#7  0x080d323f in Fl_Text_Display::buffer_modified_cb (pos=0, nInserted=0,
nDeleted=0, nRestyled=0, deletedText=0x0, cbArg=0x8171358) at
Fl_Text_Display.cxx:1378
#8  0x080d3516 in Fl_Text_Display::buffer (this=0x8171358, buf=0x81715e0)
at Fl_Text_Display.cxx:193
#9  0x08073c1f in make_shell_window () at alignment_panel.cxx:388
#10 0x08081687 in make_main_window () at fluid.cxx:1765
#11 0x08083a1e in main (argc=3, argv=0xbf9475b4) at fluid.cxx:2289


Link: http://www.fltk.org/str.php?L2261
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to