-
Notifications
You must be signed in to change notification settings - Fork 8.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows Terminal Preview - Read-only pane pop-up on tab switch #13461
Comments
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? |
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! |
Does what it says on the tin. When we get focused, temporarily turn off readonly mode, as to not pop the dialog when the focus sequence is eventually sent to the connection. * closes #13461
I'm still seeing this on 1.15.1862 |
🎉This issue was addressed in #13483, which has now been successfully released as Handy links: |
🎉This issue was addressed in #13483, which has now been successfully released as Handy links: |
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.
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 :)
The text was updated successfully, but these errors were encountered: