Re: Bonobo vs. tear-off menus



> The thing is that tear off menus work for me; I just changed a few
> lines in test-app so you can see it. If you press the 'Press me' button,
> and then undock the Norwegian 'Go' menu, then press merge again, you will
> see what I mean. 
> 
> It is likely that you are changing / setting some attributes on
> the submenu node and this is forcing a re-build of both the shell and the
> menu item ( this is unfortunate but hard to avoid ). I imagine you have a
> problem in some xml file; can you wave a stick at where it is happening
> in Nautilus for me ?

Sorry for the tear-off scare. The problem was indeed in Nautilus (although
one could argue that Bonobo could have prevented the problem).

The merging menus were redefining the label for the File menu (e.g.), thus
tricking Bonobo into thinking the menu had changed significantly. This
causes not only the tear-off breakage but also unsightly flashing. Removing
the redefinition of the label fixed both problems.

I will add a note to the Bonobo UI FAQ about this.

John





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]