Skip to content

fix: Screencast Mode - keyboard overlay timeout#238860

Merged
joaomoreno merged 3 commits intomicrosoft:mainfrom
newminkyung:fix/screencast-timeout
Jan 20, 2026
Merged

fix: Screencast Mode - keyboard overlay timeout#238860
joaomoreno merged 3 commits intomicrosoft:mainfrom
newminkyung:fix/screencast-timeout

Conversation

@newminkyung
Copy link
Contributor

2025-01-28.12.48.54.mov

Overview

This PR resolves an issue where changes to the screencastMode.keyboardOverlayTimeout setting were not being immediately reflected in the Screencast Mode keyboard overlay.

Key Changes

  • Updated the clearKeyboardScheduler.schedule() method to accept the keyboardMarkerTimeout value dynamically.
    • Previously, the timeout value was fixed when the RunOnceScheduler was initialized.
    • With this change, the updated timeout value is immediately applied without requiring a scheduler restart.

Expected Outcome

  • The keyboard overlay timeout in Screencast Mode now updates in real-time when the screencastMode.keyboardOverlayTimeout setting is modified.
  • Users will experience immediate changes to the overlay duration without any additional steps.

Testing

  • Verified that updating the screencastMode.keyboardOverlayTimeout value in settings.json dynamically adjusts the keyboard overlay timeout in Screencast Mode.
  • Confirmed that the overlay disappears after the specified duration for various timeout values (e.g., 500ms, 5000ms).

@newminkyung newminkyung force-pushed the fix/screencast-timeout branch from 5e5e059 to 5bffda2 Compare January 27, 2025 16:08
Copy link
Contributor

@ohah ohah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx

@newminkyung newminkyung force-pushed the fix/screencast-timeout branch from a17ca1f to af824f0 Compare February 15, 2025 10:31
@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno enabled auto-merge (squash) December 9, 2025 15:58
Copilot AI review requested due to automatic review settings December 9, 2025 15:59
@vs-code-engineering
Copy link

vs-code-engineering bot commented Dec 9, 2025

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

@bpasero

Matched files:

  • src/vs/workbench/browser/actions/developerActions.ts

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes an issue where changes to the screencastMode.keyboardOverlayTimeout setting were not immediately reflected in the Screencast Mode keyboard overlay. The fix ensures that timeout updates are applied dynamically by passing the current timeout value to the scheduler's schedule() method.

Key Changes:

  • Modified three clearKeyboardScheduler.schedule() calls to accept the keyboardMarkerTimeout parameter, enabling real-time timeout updates

@joaomoreno joaomoreno modified the milestones: December 2025, January 2026 Jan 8, 2026
@joaomoreno joaomoreno disabled auto-merge January 8, 2026 10:09
@joaomoreno joaomoreno merged commit 519d487 into microsoft:main Jan 20, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Screencast mode: keyboard overlay timeout does not respect the value

4 participants