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.
Hmm... What fltk version are you using? Anyway, as a workaround, try removing the ampersand in the labels for "Close Window" and "Exit Dillo", in UI::make_menubar().
What's an accelerator?
Kind of a shortcut that you set with an ampersand in the label of an fltk::Item. Disclaimer: "accelerator" may not be the correct name for it. -- Cheers Jorge.-