Linked windows
One investigation often needs more than one screen: the gateway log on one monitor, the payment service on another, the System event log on a third. Linked windows are additional TKTail windows that belong to the same TKTail - each one a window of its own that you can put on any monitor, maximize and arrange independently. Linked windows need a Trial or Pro license (without one, the commands are marked (Pro) and explain this when chosen).
TKTail still runs as one TKTail: opening a file from Windows Explorer, a shortcut or the command line goes to the main window, as before. A linked window opens only when you ask for one.
Opening a linked window
-
File > New Linked Window… (Ctrl+Shift+N) asks what the new window should open:
- Empty window - open files there later;
- Current source - the tab you are looking at (the default; TKTail remembers your last choice);
- All open sources, or Choose sources - pick several tabs.
Start at the same positions opens paused tabs at the same place (and with the same wrap setting) - convenient for continuing an analysis on another monitor. If the file changed meanwhile (rotated or rewritten), the window goes to the record nearest the time you were at instead of a byte position that no longer means the same thing, and says so.
-
Drag a tab out of the window, or right-click it > Move to New Window - the tab moves into a new linked window (below).
-
Right-click a tab > Open a Copy in New Window - the same source, at its position, in a new linked window; the tab stays here too.
-
From the command line:
tktail --new-window(an empty linked window) ortktail open app.log --new-window.
A linked window shows its number in the title bar - payment.log — D:\Logs — TKTail [Window 2] -
so you can tell the windows apart on a shared screen. The main window has no number.
Each window has its own tabs, splits, carets, LIVE / paused state and searches. The same file can be open in several windows; each follows it on its own (rotation included). File > Linked Windows in the main window lists the linked windows and brings one to the front.
Move a tab to another window
- Tear it out: drag the tab outside the TKTail window and release it - a new linked window opens where you dropped it (on that monitor, sized for its display scaling) with only that tab.
- Drop it on another TKTail window: that window shows where it will go - between its tabs, the middle of a pane, or an edge for a new split - and the tab moves there.
- Without dragging: right-click the tab > Move to New Window, or Move to Window > Main Window / Window 2 / … (it goes to that window’s active pane). Layout > Move Tab to New Window moves the active tab.
It works in every direction - from the main window to a linked one, back, and between linked windows. The tab moves: it appears in the other window and then closes here. What it showed comes along - for a log the position (the same file: the same place; a file rotated or rewritten since: the record nearest the time it showed, and the status bar says so), LIVE / PAUSED, word wrap and the find text; for an event log its history and filter, LIVE / PAUSED and - when paused - the selected event; for a Metrics View its metrics, colours, names, lanes and the Metric Set it came from (still marked changed if it was), LIVE / PAUSED and the time range. The other window opens the source itself: an event log is read again there, and a Metrics View shows the history that window has collected - the samples do not travel.
If the other window cannot take the tab - it is closing, the file cannot be opened there - the tab stays where it was and the status bar says why. If it answers too slowly, TKTail asks it what became of the tab: moved after all - it closes here; not moved - it stays here (and the other window will not open it later). Only a window that stops answering altogether can leave the tab in both windows, and the status bar says so - the tab is never lost. A window whose last tab moved away stays open, empty.
When TKTail starts again it reopens the main window’s workspace (When TKTail starts again); linked windows are not reopened.
Without Trial or Pro, a tab dragged outside the window stays where it was (the status bar explains that new windows are Linked Windows); everything within one window - reordering, moving between panes, splitting and merging - works with every license.
What stays with the main window
Some things exist once, however many windows are open: alert rules and notifications, background monitoring, the alert history, the notification-area (tray) icon, the Jump List and the application log file belong to the main window. In a linked window:
- Monitor in Background hands the file to the main window’s monitoring.
- Add Alert offers to open the file in the main window, where alert rules run.
- The METRICS panel’s own list of counters is collected by the main window; a linked window’s panel says so, and Open in Metrics View shows those counters there (Metrics).
- AI integration (MCP) talks to the main window only: Tools > Allow AI Access is a main-window command, and an AI assistant sees the main window’s sources and current record; of a linked window it sees only the title and the names of its sources (AI integration).
- Alerts watch the files the main window has open and the files under background monitoring - a file that is open only in a linked window is not watched by alert rules (monitor it in the background to have it watched).
- Minimize puts the window on the taskbar (there is no tray icon to hide it in); closing it simply closes that window (it asks only if something would be lost, such as a running terminal).
Settings, favorites, recent files, Saved Searches and custom formats are shared: a change made in any window is kept, also when several windows save at the same time. A Saved Search changed in another window is not overwritten unseen - saving tells you to revert to that version or to save yours under another name.
Exiting the main window
When you exit the main window while linked windows are open, TKTail asks:
- Close Linked Windows closes them too (each closes as if you had closed it; one that does not close within a few seconds is listed again with Wait, Force Close and Leave Running - TKTail never hangs on exit).
- Leave Them Running - they keep their files and positions; the lowest-numbered one becomes the main window (alerts, background monitoring and the tray icon move there).
- Remember my choice - File > When Exiting with Linked Windows changes it later
(
general.linkedWindowsOnExit:ask,close,leave).
Minimizing or hiding the main window to the notification area is not exiting - linked windows are not affected.
If the main window stops
If the main window ends unexpectedly, the linked windows keep running with their files and positions - the evidence you were looking at stays on screen. The linked window with the lowest number becomes the main window within a second or two; the others connect to it. Until then, File > Linked Windows says no main window now.
Licenses
Every window uses the same license: a window started from the main window finds the same license
file (and gets the same --license-file, if TKTail was started with one). See
License.