In 1.6, the status of various docked widgets (toolbars, view-source,
view-outline) is now tied to particular windows. Thus, if you have
view-source on in the second window, quit LyX, and restart, view-source will
be on for the second window you open, no matter which document you open in
that second window. This strikes me as counterintuitive and not very useful:
what we want is dock status tied to particular *documents*, not windows. So
that if I close a document leaving view-source and the table toolbar
visible, the next time I open that document, those ought to be visible once
again, whether I open that document in the second window or not. (Mac
standard behavior here is either to keep track of this on a per-document
basis or to allow users to define a single default that gets used for all
new windows.)
There's a similar oddity (IMO) for at least the find & replace dialog. When
I search one document for "platypus", and then switch to another document,
I'm more likely to want to search for "platypus" again rather than "modus
ponens" or anything else. It strikes me (as a Mac user) as odd to have LyX
remember the previous contents and history of the find field on a per
document basis, let alone a per window basis. The standard Mac behavior is
to have a single search history that is retained not simply within a single
application but, indeed, across *all* applications, so that if I search for
"platypus" in LyX, then switch to Firefox and bring up the search dialog, it
ought to have "platypus" already filled in. (Of course, I'm not suggesting
that we now integrate LyX into the Mac OS so that it will do that; that's
merely to illustrate how far off from standard Mac behavior LyX's current
behavior is.)

So, having ranted a bit (sorry!), let me now raise the question: how do we
want LyX to behave? If my views here aren't shared, would it be easy to have
LyX's behavior on Mac conform more closely to Mac users' expectations in
this case?

Bennett

By the way, where do we store information about dock status, dialog
locations, etc.?

Reply via email to