On Dec 26, 2007, at 9:47 AM, Jens Noeckel wrote:
On Dec 26, 2007, at 9:06 AM, Abdelrazak Younes wrote:
Jens Noeckel wrote:
On Dec 26, 2007, at 12:56 AM, Abdelrazak Younes wrote:
Jens Noeckel wrote:
On Dec 25, 2007, at 2:49 PM, Jens Noeckel wrote:
Hi,
on Mac OS X 10.4 with LyX 1.5.3 (Intel), text input in the
main window slows down to a crawl when editing a large
document while at the same time the cross-reference window is
left open. It's not noticeable with small documents. I have
more than a hundred cross references in the document that I
tested, and typing speed is limited to about 2 characters per
second.
I wonder if this also happens on Windows or Linux platforms?
I think so yes. This is because *all* opened windows are updated
with each keystroke. The cross-reference dialog is maybe not as
optimized WRT updates as it should.
Jens
As an addendum: this issue is already present in LyX 1.4.4 on
the same platform. Of course the work-around is to always close
the cross-ref window after inserting a ref, but for users with
sufficient display real estate it may be desirable to leave
some of those windows open all the time. Switching between open
windows is somewhat more convenient than opening and closing a
window.
I understand that but there is a work around to this ui problem:
use the shortcut:
1) Alt-i r : the dialog will popup
2) arrow key up or down to select your label
3) enter : the dialog will hide and the cross-ref be inserted.
I believe this will improve your efficiency in writing document
a lot than when using the mouse to do the same thing. Just my
opinion.
Abdel.
Yes, I try to do everything from the keyboard, that's why the
modifier keys are so important to me (see earlier messages). But
cross references are one of the few things where I can't get by
without the mouse, simply because the cross-ref window (usually)
comes up with the "Cancel" button highlighted instead of "OK",
Weird, it's defaulting to OK here on Windows.
and tabbing through the buttons until I can press Return on the
OK button is too time consuming.
What about 'Alt-o' for OK and 'Esc' for Cancel?
Ah, that works! Thanks, I'll try to get used to that - except that
on the Mac, Alt has to be replaced by the button that Qt recognizes
as ControlKey (i.e., the "Command" key in the official LyX
distribution).
In that case, I just find the reference by mouse and double click
on it, which also closes the window as you suggested.
I'm thinking about filing an enhancement request to allow
searching inside the cross-reference list (useful for large
numbers of references). Maybe the default button of the cross-
refence window should really be OK instead of Cancel.
It should I think, and it does here.
But I wonder if that should be filed as a bug rather than as an
enhancement request.
Looks like a bug on Mac indeed... put it on bugzilla.
Abdel.
Coming back to the original problem, I still think it can be useful
to be able to keep the x-ref window open while typing in the main
window. The x-ref window already has an "Update" button, so now I
wonder what that is actually good for if there is all that
extensive real-time updating going on at every key stroke. Wouldn't
it suffice to update the x-ref window if and only if a new label
has been declared?
Jens
I've filed some bugs on these issues:
http://bugzilla.lyx.org/show_bug.cgi?id=4441
http://bugzilla.lyx.org/show_bug.cgi?id=4443
http://bugzilla.lyx.org/show_bug.cgi?id=4445
Jens