zotero/test/content
Dan Stillman 1694056956 Support multiple library tabs (#6035)
Additional library tabs can be opened via File → New Library Tab
(Cmd/Ctrl-T), a collection's context menu, or Duplicate Tab, and each
holds its own live library view. Library tabs share layout settings
(pane sizes, stacked or standard layout, and columns) and tag selector
display options, and a tab picks up the current ones when it's shown.
Closed library tabs reopen with their collections, selected items,
searches, and tag selection.

Every library tab can be closed, including the window's first one, so
a window can have no library view at all. Closing a window's last tab
closes the window, except for the last tab of the last window on
Windows and Linux, which stays open so that closing a tab doesn't quit
Zotero.

For backward compatibility with plugins, the window's first library
view keeps the original element ids. Other views append their tab's id
to each element id (e.g., zotero-items-tree-tab-k3Xq9TzA).

The onMainWindowLoad and onMainWindowUnload plugin hooks now follow a
window's library views rather than the window itself. Since a main
window might not have a library view, code that iterates
Zotero.getMainWindows() should check ZoteroPane.libraryView.
2026-11-06 20:58:05 -05:00
..
hyphenationTest.xhtml fx128: Remove Services.jsm imports 2024-12-14 01:16:00 -05:00
hyphenationTestContent.html Fix segfault when hyphenating text in main process (#3388) 2023-09-14 02:48:50 -04:00
runtests.html Remove Chai as Promised 2025-07-30 22:31:08 -04:00
runtests.js Wait for test success file to be written before quitting 2026-08-20 12:34:40 -04:00
support.js Support multiple library tabs (#6035) 2026-11-06 20:58:05 -05:00