On 01/14/2010 08:49 AM, BH wrote:
On Thu, Jan 14, 2010 at 7:53 AM, Vincent van Ravesteijn - TNW
<v.f.vanraveste...@tudelft.nl>  wrote:
BH wrote:
Although trunk may be close to ready on other platforms,
there are some serious problems on Mac. As I've reported
before, I cannot do things like insert citations or change
the document preamble: when I click "OK" on the dialog,
the dialog disappears, but nothing changes in the document.
Can you try to give us at least a slight hint of what is going wrong ? Is there an lfun 
send from the dialog (debug with "lyx -dbg action") ? What if you enter this 
lfun in the command buffer, does it insert it then ?
[snip]

LyXFunc.cpp(346):
LyXFunc::dispatch: cmd:  action: 224 [inset-apply]  arg: 'citation
CommandInset citation
LatexCommand citet
key "Aristotle1985Nicomachean-Eth"
\end_inset
' x: 0 y: 0
LyXFunc.cpp(364): LyXFunc::dispatch: inset-apply [inset-apply] is
disabled at this location


(This last line is the same when I try adding something to the
document preamble.)

Is that enough to track down the problem?

Should be, yes. The problem is that LyX thinks, for some reason, that the LFUN is disabled, as it would be e.g. in a read-only document. So something is wrong in the getStatus() check.

and speed of opening new documents (the latter of which
takes 5 seconds as opposed to 2 seconds for a document
template that includes only my bibliographical database).
Does this happen every time, or only the first time after starting LyX ? The 
first time we will probably have to convert all layout files to the new format, 
which takes some time. This won't be necessary whenever we release an official 
version.
Part of the problem was that it was converting a 1.6 defaults.lyx
template. I saved that as 2.0, and opening is faster -- more like 3
seconds rather than 5 -- but still slower than 1.6.

(This raises the question: why would converting an essentially empty
document template take about 2 seconds?)

Almost certainly the layout format issue. I've just updated the formats, so you could try again.

(I've always hated the "zero button" apple mice, where "the whole
mouse is the button!" But the new trackpads are nice, once you get
used to them....)

Agreed.

rh

Reply via email to