LyX-1.5 currently allows viewing the TOC only in a drawer instead of a
dockable widget. With 1.6, this causes problems with full-screen viewing of
documents: if the drawer is open when switching to full-screen, it does not
appear in full-screen mode, and even after switching back to windowed mode
it is impossible to view the drawer until LyX is restarted. This last part,
at least, is a bug that I assume could be fixed, but before filing a bug
report, I thought I'd ask about what's possible with Qt.
Is it a limitation of Qt not to allow viewing of drawers in full-screen
mode? Some Mac programs do it: Skim.app (a .pdf viewer/editor), for example,
has drawers pull in from the sides of the screen (instead of pulling out
from the edge of the document window). Does Qt not support such a feature?

If not, I think it would be better to have Outline be a dockable widget on
Mac rather than a drawer ... provided some UI problems there can be solved.
(I've tested this by editing out the relevant lines (76-79, 81) in
GuiToc.cpp.) For example:

1. When initially viewing the Outline, it takes up a sizable portion of the
document window, which is undesirable. (Drawers solve this problem by
popping out from the side of the window without changing the size of the
text area itself.) Is it possible to have dockable widgets open as undocked,
floating widgets?

2. When switching from one document (with a floating Outline) to another
document, the floating Outline remains on top (often obscuring the second
document window). (Drawers don't do this.) Is it possible to have floating
widgets not always be on top?

3. When multiple document windows have floating Outlines, all are visible at
once, and there is no obvious way to tell which floating Outline belongs
with which document. (Again, drawers don't have this problem.) On Mac, 2
things tend to happen in this situation: either (a) there is only one
floating toolbar, the contents of which change when you switch documents, or
(b) floating widgets are visible only for the frontmost window of the
application. Are either of these options (or perhaps some other solution)
available?

My preferences here would be as follows (rank ordered from most to least
preferred):

a) fix the drawer implementation to work in full-screen view (with windows
visible)

b) switch to a dockable/floating widget implementation, provided (1)-(3) can
be fixed

c) stick with drawers, not visible in full-screen view, but fixing the bug I
mentioned at the beginning.

Any thoughts?

Bennett

Reply via email to