You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Accept all open sweeps viewer backed pairs
"Accept all open" matched a move by its live process, which is what
DiffRunner records for every tool that opens one window per pair. The
viewer opens none: a pair whose tool is the viewer is tracked with no
process id, because it is drawn as a row in the one window every pending
pair shares and so nothing may kill it. The one kind of move that is
unambiguously on screen was therefore the one kind the hot key could
never match, and with the viewer as the resolved tool the key looked
dead. The process test predates the viewer becoming a diff tool and was
not revisited then.
TrackedMove now answers IsOpen for itself - the viewer, or a live
process - and AcceptOpen asks that instead. Whether a tracked move is a
viewer one is read off its executable name rather than through
DiffTools.TryFindByPath, which is an exact path lookup: the sender
resolves the copy bundled in its own DiffEngine package and a tray
carries one of its own, so those two paths are never the same string.
IsOpen joins the debug view, since it is the field this turned on.
* cleanup
Copy file name to clipboardExpand all lines: docs/mdsource/tray.source.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -141,7 +141,7 @@ Registers a system wide HotKey to accept pending:
141
141
Registers a system wide HotKey to accept pending:
142
142
143
143
* Deletes
144
-
* Moves that are currently open in a diff tool
144
+
* Moves that are currently open in a diff tool. A pair whose tool is the viewer counts: it is drawn as a row in the one window every pending pair shares, rather than in a process of its own
145
145
* Inline snapshots, all of which are open by definition: the viewer only stays running while it has something to show
146
146
147
147
To limit impact on system resources, the [default max concurrent open tool instances is limited to 5](/docs/diff-tool.md#maxinstancestolaunch).
Copy file name to clipboardExpand all lines: docs/tray.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ Registers a system wide HotKey to accept pending:
148
148
Registers a system wide HotKey to accept pending:
149
149
150
150
* Deletes
151
-
* Moves that are currently open in a diff tool
151
+
* Moves that are currently open in a diff tool. A pair whose tool is the viewer counts: it is drawn as a row in the one window every pending pair shares, rather than in a process of its own
152
152
* Inline snapshots, all of which are open by definition: the viewer only stays running while it has something to show
153
153
154
154
To limit impact on system resources, the [default max concurrent open tool instances is limited to 5](/docs/diff-tool.md#maxinstancestolaunch).
0 commit comments