Comments (14)
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Closed similar issues:
- [Preview] Windows Terminal crashes if settings tab is the last to be closed (#13695), similarity score: 0.76
- [1.9] Crash opening Settings UI (#10106), similarity score: 0.75
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from terminal.
Does this only work with pens?
Yeah, it's a recent feature the shell team introduced to write directly in many common controls. For example we can ink directly inside a textbox or address bar using the pen.
This is intended to be a faster way to input text without having to display the tablet input panel (TabTip).
You'll need a device with a pen digitizer to test it out.
I suspect you're using or subclassing some common control, the shell attaches some overlay inking panel on top of it, and you destroy it without going through the original code that ensures the attached inking panel is properly disposed of, then it crashes when trying to access its parent HWND or something. This is just a wild guess though, I haven't checked how they implemented the Ink Anywere feature yet.
from terminal.
Dr. Watson as the grimmest reaper. I love it.
Would you be able to file feedback and reproduce the crash in the Apps > Terminal node and share the link with us?
I can't get this to happen locally . . . and I want to see if it's the same bug we just fixed with #17199.
from terminal.
Feedback Hub: https://aka.ms/AAqbvpz
I'm not sure it captured the proper dump though, only Windows Terminal
shows in the apps list, no separate entry for Windows Terminal Preview
.
Let me know.
from terminal.
I can get it to freeze every single time on a Surface Book 2 15", but cannot reproduce on an Intel NUC (NUC13ANKI50WC).
Could it be something GPU-related? The Surface Book 2 has always been a bit unreliable, even Edge sometimes restarts its rendering engine.
from terminal.
I'm seeing a thread tearing down a TSF::Implementation
for a shell handwriting input method, a couple shell worker threads also stuck tearing down, and a window trying to update its acrylic background policy hanging also waiting for a shell worker thread. That's weird.
Watson cab 97512468-57cc-48ca-97d5-9721b4e3ec53
from terminal.
It's really weird, I could narrow it down to showing the appearance page for any shell, not necessarily the one being used in the other window.
But the settings has to be the tab tore off, if it's another shell window and then that window is used to show the settings and do everything similarly, then it won't crash.
So it has to be the settings page that is tore off to create a new window, and it has to show the appearance with the preview. You can navigate to another setting page again, as long as the preview has been displayed, it will crash.
If the settings is shown in the primary window or in a window created by tearing off another shell tab, it doesn't crash.
Is there some Atlas resources that are shared with the preview and may be freed when Settings is closed? Why would it only happen when the settings is tore off?
It is pretty easy to avoid the bug, and I cannot reproduce it on another system, so it's not a blocking issue by any means, but I feel like there must be some underlying issue that just happens to get less noticeable on other systems.
from terminal.
Could this be related?
I know Microsoft Surface Book 2 display drivers are somewhat unreliable, and Microsoft's Surface team never fixed the issue, Edge also sometimes has to restart its rendering, blacking out all rendering windows and recovering.
from terminal.
Attached another crash dump to the Feedback Hub report.
This one does not even freeze, it crashes directly, and doesn't involve the Settings page, it's just opening an Ubuntu WSL2 tab, doing apt update/upgrade/autoremove/autoclean
, then exit
to close the tab. Terminal shows the original cmd tab again and crashes immediately.
Again, this could be replicated every single time on my Surface Book 2.
from terminal.
try to disable "Shell handwriting" option in Windows Settings...
from terminal.
@scc23456 Good catch!
Indeed disabling the Shell handwriting
feature seems to fix both crashes, and that would explain the shell handwriting input method that DHowett saw in the crash dump.
So there seems to be a problem between Terminal and "write anywhere", and this shows why it is important to try to test software on some devices with đ touch and đïž pen, not only on typical workstations.
from terminal.
I've got a laptop with touchscreen, I'm on 22635.3575, and I don't have a Shell Handwriting setting:
Does this only work with pens?
from terminal.
@lhecker Are you giving up on this one? I didn't see any similar crash with that feature in other apps, there is probably something Terminal does that makes it crash when that feature extends its controls.
from terminal.
Are you giving up on this one?
Please don't read too much into how we manage our issue assignments. đ
from terminal.
Related Issues (20)
- WSL import profile folders setting HOT 3
- [Console]::Beep() does not activate "Bell Notifications" HOT 5
- Paste with Ctrl removes leading special character in SSH HOT 1
- Can't open as administrator HOT 2
- Ctrl + PageUp/PageDown should be the default keyboard shortcuts for changing the current tab. HOT 1
- VT renderer works incorrectly when cursor is moved between writes HOT 10
- Is there any convenient way to modify the terminal's encoding? HOT 3
- Don't push the buffer contents into the scrollback on session restore HOT 4
- Open windows from a previous session should not re-run processes or have ability to selectively stop that HOT 2
- Auto Reverting Font to Consolas HOT 6
- [Feat.] Allow Remote Config Backup+Restore
- Unused/obsolete code in XtermEngine HOT 1
- Cannot save settings.json from the UI when it is a symbolic link HOT 2
- persistedWindowLayout doesn't restore CWD in split panes HOT 1
- The default working directory of new tabs should match the previous tab HOT 1
- cursor shape wrong with nvim HOT 1
- Cascadia Ęż (U+077F : Arabic Letter Kaf With Two Dots Above) rendering problem in Terminal HOT 4
- Still cannot drop files to Terminal running as admin HOT 1
- Make spacing more consistent across Settings UI HOT 4
- Script Running after waking from Windows Sleep Freezes Window HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. đđđ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â€ïž Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terminal.