Jorge wrote:
On Mon, Sep 29, 2008 at 05:49:44PM +0000, corvid wrote:
Jorge wrote:
On Mon, Sep 29, 2008 at 02:09:36PM +0000, corvid wrote:
Jorge wrote:
On Sun, Sep 28, 2008 at 12:52:47AM +0000, corvid wrote:
Playing with the file menu, I see that Alt-W, Alt-E, Alt-X, Alt-C all segfault. I thought somebody said something (that I didn't pay attention to) about the file menu since tabs were added, but if so, I can't find that mail.
Please check the patch in CVS.
FLTK2 has a bug in that it regards the first menu item letter as a shortcut.
Note: I tried with invisible shortcuts doing nothing, removing shortcuts and all that stuff, until I found this way to workaround the problem.
Note2: Alt-W and Alt-X are accelerators, so they're OK.
AFAIS there's no more segfault here.
Alt-W and Alt-X still segfault for me.
Does anybody else see this bug?
Here's the backtrace that I get: #0 0x080c9df0 in fltk::Widget::any_of (this=0x70, f=4864) at ../fltk/Widget.h:143 #1 0x080c9e3c in fltk::Widget::takesevents (this=0x70) at ../fltk/Widget.h:168 #2 0x080e43c4 in fltk::Widget::take_focus (this=0x70) at run.cxx:152 #3 0x080d6bc5 in fltk::MenuBar::handle (this=0x816a5a0, event=12) at MenuBar.cxx:94 #4 0x080ff1c3 in fltk::Widget::send (this=0x816a5a0, event=12) at Widget.cxx:804 #5 0x080c96d6 in fltk::Group::handle (this=0x816aa58, event=12) at Group.cxx:416 #6 0x080ff1c3 in fltk::Widget::send (this=0x816aa58, event=12) at Widget.cxx:804 #7 0x080c9691 in fltk::Group::handle (this=0x816a818, event=12) at Group.cxx:413 #8 0x080ff1c3 in fltk::Widget::send (this=0x816a818, event=12) at Widget.cxx:804 #9 0x080c9691 in fltk::Group::handle (this=0x815abb0, event=12) at Group.cxx:413 #10 0x080503e8 in UI::handle (this=0x815abb0, event=12) at ui.cc:809 #11 0x080ff1c3 in fltk::Widget::send (this=0x815abb0, event=12) at Widget.cxx:804 #12 0x080ef2ce in fltk::TabGroup::handle (this=0x815ab28, event=12) at TabGroup.cxx:239 #13 0x080567bf in CustTabGroup::handle (this=0x815ab28, e=12) at uicmd.cc:79 #14 0x080ff1c3 in fltk::Widget::send (this=0x815ab28, event=12) at Widget.cxx:804 #15 0x080c9691 in fltk::Group::handle (this=0x815a6a0, event=12) at Group.cxx:413 #16 0x0810160c in fltk::Window::handle () #17 0x080ff1c3 in fltk::Widget::send (this=0x815a6a0, event=12) at Widget.cxx:804 #18 0x080dfd11 in fltk::handle (event=12, window=0x815a6a0) at run.cxx:1319 #19 0x080dfdb9 in fltk::try_shortcut () at run.cxx:1195 #20 0x080d1167 in fltk::Input::handle_key () at Widget.cxx:49 #21 0x080d15d5 in fltk::Input::handle () at Widget.cxx:49 #22 0x080d18f1 in fltk::Input::handle () at Widget.cxx:49 #23 0x0805431c in CustInput::handle (this=0x81657f0, e=8) at ui.cc:82 #24 0x080ff1f2 in fltk::Widget::send (this=0x81657f0, event=8) at Widget.cxx:808 #25 0x080dfc4d in fltk::handle (event=8, window=0x815a6a0) at run.cxx:1293 #26 0x080e62a8 in fltk::handle () at x11/run.cxx:1961 #27 0x080e62f0 in do_queued_events () at x11/run.cxx:399 #28 0x080e661c in fl_wait (time_to_wait=1.00000002e+20) at x11/run.cxx:459 #29 0x080e66b7 in fltk::wait (time_to_wait=1.00000002e+20) at run.cxx:463 #30 0x080e67ce in fltk::run () at run.cxx:399 #31 0x0804efab in main (argc=1, argv=0xbffffb44) at dillo.cc:127