On Jul 26, 2006, at 12:15 AM, Jens Noeckel wrote:
Hi,
with the help of Bennett's install instructions, I compiled LyX
1.4.2 on my Intel Mac using gcc 4.0 and Qt 3.3.6. However, while
testing the Application, I noticed a problem with the menus and
keyboard shortcuts that seems to be identical to what has been
reported by A.S.Hodel in this earlier message:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg47044.html
(the upshot is that menu items in the LyX menu seem to be
cyclically shifted by one so that one cannot access the quit
function at all, whereas Command-, opens the About Box instead of
the Preferences). I wonder if there has ever been a resolution to
that problem.
I've never been able to duplicate this on PPC, and IIRC yours is the
first report of confirmation of this problem. So we haven't even
tried to resolve it yet.
When I discovered this on my native build, I went back to Bennett's
PPC binary linked from http://wiki.lyx.org/LyX/LyXOnMac, and saw
that this build has the same behavior. I also tried this with a
clean new user so that there couldn't have been any pollution from
old LyX or .lyx files anywhere. Then I checked the same binary on
two PPC macs and found that everything works just fine there. This
means that something strange is going on only on the Intel platform
(the same PPC binary behaves differently on PPC versus Intel, even
though it runs through Rosetta emulation when on Intel!)
It would be interesting to clarify if A.S.Hodel's analogous problem
happened on the PPC or on the Intel platform.
Hodel implies that it's a problem on PPC (since he says it's a
problem for OS X 10.3 as well as 10.4).
Just to clarify: with a clean user on Intel, you see the problem
still, right?
Also, is the problem only with key bindings, or is it a problem with
mouse selection as well? (If you select LyX > Preferences with the
mouse, do you get the preferences dialog or the About box?)
I hope someone can help narrow down the source of this weirdness...
I've looked at the standard.ui interface file and it seems to
define all the menu items properly. Somehow the mapping of the user
input to the lyx function is scrambled. Since the menus themselves
look OK (e.g., Quit appears where it should, with the Command-Q
shortcut displayed next to it), I'd suspect that this isn't
directly a Qt issue.
Not being a programmer, I'm at a loss. Perhaps Jean-Marc (who wrote
the code to get the menubar to work on Mac) will have an idea when he
comes back from vacation. (And hopefully now it will be on his radar!)
Bennett