Repository navigation
Fix stale source column activation - #18737
Merged
Merged
Conversation
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 21:45 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 21:45 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 21:46 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 21:46 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 21:51 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 21:51 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 22:01 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 22:01 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 22:01 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 22:01 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 22:01 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 8, 2026 22:01 — with
GitHub Actions
Inactive
RStudio E2E - all platformsAll tests passed!
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:07 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:07 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:14 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:14 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:17 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:17 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:35 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:35 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:35 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:35 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:35 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
September 9, 2026 00:35 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Prevent delayed document-outline initialization from switching back to a deselected Source column or reviving a column that has been closed. A revived column can become the destination for a new document and trigger a null
activeEditor_dereference during tab activation.Closes #18736.
Approach
setActive(column_).The checks preserve activation semantics as well as preventing the exception: retaining only a local editor reference could announce an orphaned document after the active column has changed.
Automated Tests
Added two Playwright regressions that hold the 100 ms initialization timers until after selecting another column or closing the original column. Both fail against the unmodified build; the closure case reproduces the reported
getPath()exception and timer → activation → selection stack. Both pass with the fix.Validation passed:
ant -Dgwt.local.workers=4 -Dgwt.xmx=-Xmx4G draft).tsc --noEmit).E2E validation used macOS Server with R 4.6.1, isolated session configuration, and an existing local C++ build. Desktop was not separately rerun.
QA Notes
Open a document in an additional Source column, then switch back to the main column before outline initialization completes. The selected document should remain active. Close the added column and create a new R document: it should appear in the main Source pane, accept editing commands, and produce no client exception. The added tests control timer ordering to exercise these cases deterministically.
Documentation
Added a bug-fix entry to
NEWS.md.Checklist
NEWS.md