On Jul 27, 2006, at 9:18 AM, Jens Noeckel wrote:


On Jul 26, 2006, at 11:38 PM, Georg Baum wrote:

Jens Noeckel wrote:

These GUI hacks are not at all transparent to me, so I think someone
else (maybe Georg or JMarc) should have a look at this. Apart from
the LyX menu, everything else works perfectly (as far as I can tell).

I don't know at all how that code works, I only know that it exists and already produced problems in the past. You'll have to wait until Jean-Marc
is back from vacation, he knows more about it.


Georg

OK - I'll wait with this. I did find the void qt_mac_set_no_menubar_merge function Andreas mentioned, but wasn't sure where to insert the call to it, and whether I still have to remove all the WS_MACX specific code for the LyX menu (or can this be left untouched then?). I assume the place to call qt_mac_set_no_menubar_merge is main.C in the LyX source. That looks simple enoguh, but removing the added code would be tricky.


One more observation regarding the menu mix-up I'm seeing on LyX 1.4.2: While it's clearly the LyX menu that's giving me the wrong Lfunc for each menu entry, there's also something strange in the adjacent File menu: it has as its bottom-most entry "Quit LyX", the _same_ as the bottom-most entry in the LyX menu. I'm not sure about cause and effect here - but maybe it's this additional entry in the FIle menu that messes up the LyX menu. Anyway, even when the LyX menu malfunctions, the File menu works fine, and in particular the "Quit LyX" item in the File menu does indeed quit LyX.

Jens

Reply via email to