5.2. Managing the Workspace¶
The Retrospective workspace is the arrangement of tabs and windows you work in. This chapter describes how to open, rename, reorder and detach tabs, and how to save, reload and manage views.
5.2.1. Working with Tabs¶
All main components of Retrospective (search tabs and the single-instance
views such as the Host Manager or the Profiles view of
the Profile Manager) open as tabs in the main window. A new search tab is
created with the
Open new Search Tab button on the
right-hand side of the tab bar, with ,
or with Ctrl+T. The single-instance views are opened from the
View menu or the toolbar; selecting an already open view focuses
its existing tab, even when that tab lives in a detached window. For
Host Manager, Profiles, File Browser,
Container Browser and Event Log Browser, both the
toolbar button and the View menu item are disabled while that
view’s tab is selected. For Result Snapshots, Status,
History and Bookmarks, only the toolbar button is
disabled. Ctrl+→ and Ctrl+← cycle through the tabs of
the active window. On macOS, use Cmd instead of Ctrl for all
tab shortcuts.
The default name of a new search tab follows the option Derive search tab name from profile on the General page of the Preferences dialog.
Right-clicking a tab opens a context menu with the following items:
Menu item |
Description |
|---|---|
Rename Tab |
Renames the tab (search tabs only; see Rename Tabs). |
Pin Tab |
Protects the tab against being closed (see the description below). Not available while the window has only one tab. |
Clone Tab |
Creates a copy of a search tab: the selected
profile or ad-hoc data
sources, the search
criteria, the search/monitor mode, a manually given
tab name, the result display options and the
|
Bookmark Tab |
Stores the search definition of the tab as a named bookmark (search tabs only). |
Detach to new window |
Moves the tab into its own window (see Detach Tabs). In a detached window, this item reads Reattach to main window instead. Not available for the last tab of the main window. |
Close Tab |
Closes the tab. The item shows its shortcut, Ctrl+W (on macOS, Cmd+W). Not available for a pinned tab or for the last tab of the main window. In a detached window, closing the last tab also closes the window. |
Close Other Tabs |
Closes all tabs of the window except the selected one. Pinned tabs are kept. |
In the main window, a tab can also be closed in further ways. The close cross appears on the selected, unpinned tab while the main window has more than one tab. Middle-clicking an unpinned search tab closes it, and so does Ctrl+W; neither closes the last tab of the main window. Tabs in a detached window have no close cross.
Pinning a tab protects it from being closed by accident: a pinned tab shows no close cross, cannot be middle-clicked away, and survives Close Other Tabs. Close Tab and Ctrl+W do not close a pinned tab either, in the main window or in a detached one. Pin or unpin a tab through the Pin Tab entry of its context menu; the check mark shows the current state. Pins last for the running program session; they are not saved across restarts.
5.2.2. Rename Tabs¶
You can change default search tab names to make them more meaningful. Tab names are included in history entries and in status information, so rename a tab before you run actions you want to trace. When you create a bookmark from a search definition, Retrospective proposes the tab name as default bookmark name but lets you change it.
This procedure describes how to rename search tabs.
Double-click the desired search tab, or right-click it and select Rename Tab from the context menu. Double-clicking renames a tab only in the main window.
Provide the new name (at most 30 characters) and press the Enter key; Esc discards the change. A name that is blank or already used by another tab is rejected with a message below the input field.
5.2.3. Change Tab Order¶
The order of the tabs can be changed at any time. This is especially useful before saving the workspace as a view. Retrospective keeps the order of all tabs when the view is reloaded (see Save, Reload and Manage Views).
Press the left mouse button while the mouse pointer is on a tab.
Keep the mouse button pressed and drag the tab to the new position within the tab bar, or into the tab bar of another Retrospective window.
When an orange bar is shown at the desired new position, release the mouse button to drop the tab to the new position.
Fig. 5.2 A tab being dragged, with the orange drop-bar marking the target position.¶
5.2.4. Detach Tabs¶
You can move any tab into a separate window:
drag and drop the desired tab outside the Retrospective window, or
right-click the tab and select Detach to new window from the context menu.
A detached tab keeps its content and state. A detached window has no menu bar and no toolbar, but all shortcuts work in it. The menu shortcuts (for example Ctrl+T) and Ctrl+S act on the main window and bring it to the front (see Keyboard Shortcuts). A detached window has its own status area, so progress and filter feedback appear in the window you are looking at. It can hold several tabs: drag further tabs into it. The main window always keeps at least one tab, so the last tab of the main window cannot be detached.
A detached tab returns to the main window in three ways:
drag it from the detached window back onto the main window’s tab bar,
right-click it and select Reattach to main window, or
close the detached window. Its tabs are not closed but move back to the main window.
When a detached window closes, the main window comes to the front. This also applies when you reattach or close the last tab of the detached window. When you drag that last tab onto another detached window, that window comes to the front.
Detached windows are part of the view: when the view from the last session is restored (see Save, Reload and Manage Views), they reopen at their saved position with their saved tabs.
Fig. 5.3 A detached tab opened in its own separate window beside the main Retrospective window.¶
5.2.5. Save, Reload and Manage Views¶
Fig. 5.4 How views and result data are kept between sessions.¶
The current session: its tabs and detached windows.
With Restore view from last session selected, the view is kept when you exit.
Result data stays on disk when it was collected with disk storage enabled on the Result Options page.
At the next start the view returns, and the result data returns automatically or after Restore Result Data.
Save View and Load View keep and reopen a view as a file.
With that option selected, Outdated Result Data appears on close after a definition change. Yes reverts the definition; No keeps your edit and discards the data.
At start, result data that no view refers to is removed. Snapshots are kept.
Retrospective can automatically store the workspace as a view when the program is terminated and reload it once it is re-launched. You switch this feature on or off on the General page of the Preferences dialog with the Restore view from last session checkbox. If the feature is on, Retrospective restores the number and position of the window(s) and tabs to the state they had when the last program session was terminated. The search criteria defined for individual search tabs are restored as well. So are each tab’s result display options (word wrap, the JSON/XML formatting choice, the selected highlighting and the save format the tab last used) and its field detection, dynamic discovery and autofind toggles. To additionally restore the previously collected data, enable the dependent Automatically restore result data checkbox. Only result data collected with disk storage enabled on the Result Options page can be restored.
Result data that the saved state does not refer to (for example data collected while Restore view from last session is off) is removed from the database at the next start. Snapshots are kept.
Note
Reopening the view from the last session (its windows, its detached windows and their tabs, and the result data) requires a registered program. If Restore view from last session is selected, an unregistered program still saves the state when it terminates, and reports the skipped restore in the Status view (see Status). Loading a view you saved yourself with Load View is not affected. Saving a view with Save View requires a registered program. See License Registration.
Two dialogs accompany the automatic restore:
When saved result data exists but Automatically restore result data is off, the Restore Result Data dialog asks Shall result data from last session be restored? at startup. Yes loads the saved data back into the restored tabs; No discards it. Select Always automatically restore result data in the future to turn the preference on and skip the question from then on.
When you close the program while Restore view from last session is selected and a tab’s search definition has been changed after its result data was collected, the Outdated Result Data dialog appears. It lists what changed (profile, data sources, custom columns or search criteria) and asks Shall the search definition be reverted? Yes saves the tab with the search definition that produced the data, so definition and data stay consistent; No keeps the edited definition and discards the result data.
If the profile itself was edited or deleted since the run, the dialog explains that the revert uses a copy of the profile. Yes then selects a temporary copy of the profile as it was run, named after its data paths. Your edited profile stays as it is.
Fig. 5.5 The Outdated Result Data dialog.¶
If you close the program while result data is still being re-attached, Retrospective stops re-attaching once you confirm the close. The saved result data is kept for the next start.
If a tab holds a search criterion that cannot be saved, for example an invalid regular expression, the program does not close. Retrospective selects that tab and shows Cannot persist current view in its message bar.
The restore reports problems in the Status view (see Status):
A tab that cannot be opened posts an error that names the tab and the cause.
A data source whose host no longer exists is skipped. A warning names the host and the path.
Retrospective also lets you save a view manually at any time.
To save the current view, select
Save View from
the File menu.Type a new view name, or choose an existing view to replace it. Replacing a view asks for confirmation. Names longer than 251 characters, or containing one of the characters
< > : " / \ | ? *, are rejected.Click the OK button to finalize.
While working with Retrospective, you can always reload a view that was saved before. Loading a view closes all current windows and tabs and replaces them.
To load a saved view, select
Load View from the
File menu. When no view is saved, the submenu shows
<No View Defined>.Then select the menu item that corresponds to the name of the view.
A Loading View prompt warns that all current search and monitoring sessions are terminated and that the current view is entirely replaced. Click OK to continue, or Cancel to keep the current view.
Saved views can be renamed or deleted.
To rename or delete saved views, select
Manage Views from the File menu. The dialog lists one
row per saved view, with
Rename at the left of the row
and
Delete at the right.To delete a saved view, click
Delete in its row. The
name is then struck through to show the pending deletion; click the icon
again (Restore) to keep the view after all.To rename a saved view, click
Rename in its row, or double-click
the name, and then type the new name.To confirm your changes, click the OK button. It stays disabled until you change something. To discard your changes, click the Cancel button. Nothing is written to disk before you click OK.
Fig. 5.6 The Manage Views dialog listing the saved views.¶


