Windows Terminal Preview - Read-only pane pop-up on tab switch #17894

Closed
opened 2026-01-31 05:57:41 +00:00 by claunia · 6 comments
Owner

Originally created by @MikeMM70 on GitHub (Jul 8, 2022).

Windows Terminal version

Windows Terminal Preview Version: 1.15.1862.0

Windows build number

10.0.19044.1766

Other Software

Seems to be on anything I have open in terminal

Steps to reproduce

Open 3 terminal tabs, PowerShell 7.2.5, Windows PowerShell 5.1, or command prompt. Set a keybind to toggle pane read-only mode (mine is set to ctrl-shift-), then toggle one of the tabs to read-only. Click on the 3 tabs in any order. Pop-up stating "Read-only mode enabled" appears both switching to AND from that read-only tab to/from other tabs.
image
image

This doesn't happen in my currently installed non-preview version Windows Terminal Version: 1.13.11431.0 (I should probably update, but I don't use the non-preview version much)

Expected Behavior

Personally, no popups at all, but if you have to, only when switching to the read-only tab. I did not try with split panes, I don't use them much, though I like the feature in theory.

Actual Behavior

Pop-up stating "Read-only mode enabled" appears both switching to AND from that read-only tab to/from other tabs.

I did discover that you can't set the settings tab to read-only, though I can live without that :)

Originally created by @MikeMM70 on GitHub (Jul 8, 2022). ### Windows Terminal version Windows Terminal Preview Version: 1.15.1862.0 ### Windows build number 10.0.19044.1766 ### Other Software Seems to be on anything I have open in terminal ### Steps to reproduce Open 3 terminal tabs, PowerShell 7.2.5, Windows PowerShell 5.1, or command prompt. Set a keybind to toggle pane read-only mode (mine is set to ctrl-shift-\), then toggle one of the tabs to read-only. Click on the 3 tabs in any order. Pop-up stating "Read-only mode enabled" appears both switching to AND from that read-only tab to/from other tabs. ![image](https://user-images.githubusercontent.com/10885147/178005974-cfd12cb6-97fe-4d85-b09e-a0a0461b1913.png) ![image](https://user-images.githubusercontent.com/10885147/178006790-82ea5764-ea65-4b8a-9aaf-5903485eede1.png) This doesn't happen in my currently installed non-preview version Windows Terminal Version: 1.13.11431.0 (I should probably update, but I don't use the non-preview version much) ### Expected Behavior Personally, no popups at all, but if you have to, only when switching to the read-only tab. I did not try with split panes, I don't use them much, though I like the feature in theory. ### Actual Behavior Pop-up stating "Read-only mode enabled" appears both switching to AND from that read-only tab to/from other tabs. I did discover that you can't set the settings tab to read-only, though I can live without that :)
Author
Owner

@zadjii-msft commented on GitHub (Jul 8, 2022):

oh my god, I'm confident that this is because of the focus in/out events. We should probably not suppress those, even in read only mode. Trick is, can we get the input generated for those events past the read-only guard simply?

@zadjii-msft commented on GitHub (Jul 8, 2022): _oh my god_, I'm confident that this is because of the focus in/out events. We should probably not suppress those, even in read only mode. Trick is, can we get the input generated for those events past the read-only guard simply?
Author
Owner

@MikeMM70 commented on GitHub (Jul 8, 2022):

I just updated my non-preview version to 1.14.1861.0 and I get the same bad behavior, just FYI.

Thank you for all the work you all do on making this otherwise awesome software!

@MikeMM70 commented on GitHub (Jul 8, 2022): I just updated my non-preview version to 1.14.1861.0 and I get the same bad behavior, just FYI. Thank you for all the work you all do on making this otherwise awesome software!
Author
Owner

@RedX2501 commented on GitHub (Aug 2, 2022):

I'm still seeing this on 1.15.1862

@RedX2501 commented on GitHub (Aug 2, 2022): I'm still seeing this on 1.15.1862
Author
Owner

@zadjii-msft commented on GitHub (Aug 2, 2022):

@RedX2501 That makes sense, it looks like #13483 isn't in any release branches yet. The bot should come through and post an update when it does show up in one!

@zadjii-msft commented on GitHub (Aug 2, 2022): @RedX2501 That makes sense, it looks like #13483 isn't in any release branches yet. The bot should come through and post an update when it does show up in one!
Author
Owner

@ghost commented on GitHub (Aug 5, 2022):

:tada:This issue was addressed in #13483, which has now been successfully released as Windows Terminal v1.14.196.🎉

Handy links:

@ghost commented on GitHub (Aug 5, 2022): :tada:This issue was addressed in #13483, which has now been successfully released as `Windows Terminal v1.14.196`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.14.196) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Author
Owner

@ghost commented on GitHub (Aug 5, 2022):

:tada:This issue was addressed in #13483, which has now been successfully released as Windows Terminal Preview v1.15.200.🎉

Handy links:

@ghost commented on GitHub (Aug 5, 2022): :tada:This issue was addressed in #13483, which has now been successfully released as `Windows Terminal Preview v1.15.200`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.15.200) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17894