On Sep 14, 2005, at 3:31 AM, Georg Baum wrote:
Georg Baum wrote:
Here is the result. I split FuncRequest::UI in FuncRequest::MENU and
FuncRequest::TOOLBAR and unset the buffer only for
FuncRequest::MENU in
LyXFunc::getStatus. The bug is now gone for me, but the question is
whether
the menus are still disabled on the Mac. I think so, but am not
sure :-)
Could one of our Mac users please test this patch?
This mostly works, but there are a few anomalies. Selecting File >
Open brings down the open file sheet from the main document window
(as it should), however:
1. While that sheet is there, I can still select files from the Help
menu, which open in the document window behind the open file sheet;
this should not happen, and menu options under Help should be disabled.
2. Worse, I can select Tools > TeX Information, which brings up the
standard Tex Info dialog in front of the open file sheet, but results
in LyX's GUI being basically frozen: I can't move that dialog window,
I can't select any of its buttons or close it, and I can't switch
focus to the main document window. At the very least, this menu
option should be disabled.
3. Also, Tools > Reconfigure is selectable, and does its job as you'd
expect. But it probably should not be enabled under these
circumstances either.
I don't remember these options being enabled with Jean-Marc's patch,
but I'm not sure they were disabled either. (Should I bother
recompiling?)
Bennett