Each tab menu has "Open to the right". It shows the tab in a new pane to
the right of the active pane. A pane shows a document or a plugin tab,
for example a browser tab.
- A plugin view stays in the plugin layer above the panes, so a move
between panes does not mount it again.
- A browser tab that covers the area moves to the left pane when a tab
opens beside it. The last pane gives its plugin tab the whole area.
- The "Split" toggle of a document is now "Read beside".
Card 565874b2.
The PDF tab shows all pages in one column. The wheel, Page Up, and
Page Down scroll. They do not change the page, and they draw nothing
again at the start or the end of the document.
- The zoom percent is a field. A typed percent sets the zoom. Ctrl and
the wheel also change the zoom.
- The toolbar, the status line, and the password form are opaque, so a
background image does not hide them.
- Ctrl+Tab and Ctrl+Shift+Tab give keyboard focus to the new plugin tab.
Cards: 9b7b246e, 59ff5dc1, 2e425cbc, 7bd092d2, 2142ca04, c0900ae8.
The documentFind smoke test failed about 1 run in 6 with "Find spans the
document pane". It read two widths in separate steps while the outline
closed after a resize. The app did not change.
- The test waits for the outline to close.
- The test reads both widths in one task.
A click on a link in a focused table cell could be lost on a busy
computer. ProseMirror reads a click on the next selectionchange. Its
delayed focus check could run first and restore the old selection, and
the link source did not open.
- The mousedown handler sets the clicked position at once.
The linkClickAfterFocus smoke test forces this order of events.
The view jumped to other text in large documents. A short line with
another height, such as a code fence, became the CodeMirror reference
for the line height. CodeMirror then estimated all heights again, and
its layout loop stopped before it restored the scroll position. Each new
table or image height started this check.
- A mark span keeps lines with another height out of that reading.
- A resize observer records the preview heights. A measure request from
`toDOM` restarted the layout loop.
- A hidden layer measures each table before its first draw.
- Images keep their space from their natural size, in Write and Read.
The scrollStability smoke test and the imageSizes unit test check this.
Real wheel input on large documents gave no jumps in Write and Read.
Card be7df1de.
Find on the reading side stopped after one or two characters. Each key
cleared the window selection, and that also removed the caret of the
find field. This occurs only with real key input in WebView2.
- A new search text clears the selection only when it is a match in the
text.
- After Enter selects a match, the next key puts the caret at the end of
the field. Enter, Escape, Tab, function keys, and Ctrl+C keep the
match selected.
The find/typing smoke test types key by key in Write, Source, Read, and
Split. Test keys do not show the first fault, so real keys in a debug
app confirmed that part. Card 340644d5.
The Backlinks section expanded again when the user left a tab and came
back. The section lost its state when it closed with its tab.
- The workbench layout keeps the state in `backlinksOpen` and saves it
with the other layout values.
- The user guide describes the control.
The outline smoke test and the workbenchLayout unit test check the
state. Card e81770bc.
A heading link showed its heading in the center of the view, also for a
heading in another file. The text to read then started low on the
screen. An outline jump used the same scroll.
- Write and Source put a heading target at the top, with a gap of 24
pixels. Other targets, such as a search match or a backlink, stay in
the center.
- Read puts the heading at the top. The scroll margin of the heading
keeps the gap.
The sectionLinks smoke test checks the position in Write and Read, also
for a heading in another file. Card bf263f80.
The drag area after the tabs kept 120 pixels. The tabs shrank and
scrolled first, so the 120 pixels stayed empty while tabs were out of
view.
- The drag area fills the free space after the + button. When the tabs
need more room, they use all space up to a drag area of 48 pixels.
Then they scroll.
- UI-062 records the rule change, and the interface design guide holds
the new rule.
The titleBar smoke test checks the drag area with one tab and with 11
tabs. Card 7f1d29d6.