-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Terminal crashes when dragged to another monitor #3303
Comments
/feedback |
This is also happening for me after upgrading to the latest windows-terminal version. My monitors are all the same resolution though. I can confirm that the issue doesn't occur with multiple tabs open. Windows build number: Microsoft Windows [Version 10.0.18362.0] |
Same experience on Windows 10 with 0.6.2951.0. Adding another tab is a simple work around (Thanks @skylarnam for noticing that.) Here's the feedback info that hopefully has the details you need: https://aka.ms/AA6e2dw |
Scenario #1) If I open WSL and close PowerShell, (having one tab with WSL open) then drag over it works fine. If I then open PowerShell and close WSL and drag to any monitor it works until I try dragging from my primary display onto another display. Scenario #2) If I open Terminal, add a WSL tab, close the PowerShell tab, then open a new PowerShell tab and close WSL. Then drag from the primary display to another it crashes. Conclusions: This only impacts dragging from the primary display when a PowerShell tab is the only open tab, but not necessarily the first open tab. |
Seeing this behavior as well. My default start behavior is to open a WSL session which will die upon letting go of the mouse click after dragging the terminal window to any other monitor. If I have cmd as my first tab then drag+drop works fine. Its clearly dying when letting go of the click, not on the drag. |
Hi, I just sent a feedback using the Feedback Hub. Thanks everyone for more details. |
It has nothing to do with the drag ... the same crash behaviour is exhibited if you use the windows + arrow keys |
Nasty bug... thanks for the workaround with the two tabs! |
For me the multiple tabs work around only works if one of the tabs is CMD edit: Also noticed it's only when moving from my laptop screen(4k) to an external monitor(1080p). Moving between my external monitors seems fine. Maybe due to them using different graphic cards? |
which is 100% what I said. |
I have open the #3376 bu it's same issue, just I add : when it's on the same Graphic card, it's ok (4K to 1080p ok), but not when I drag and drop from screen on my external card to a screen on my internal card. Same workaround, it's ok with 2 tabs. |
Just hit this bug. The multiple tabs with cmd workaround is the only thing that works for me. |
My notes: Win-Shift-Left and Win-Shift-Right work fine, its just when "dragging" the window. |
I'm hitting the exact same issue on 2 monitors, but for me it crashes on startup no matter what. Specifically it's crashing at the exact same fault offset mentioned in #3539, which I see was marked as a dupe of this issue. Windows 1.0.1910.3002, any recent terminal version. |
I hope I am not muddying the waters here, but my issues looks like it could possibly be related. I just switched from a dual monitor setup (2 x 27" @ 1080p with 100% scaling) to a single monitor (32" @ 4k with 125% scaling) and now if I open terminal it opens the window and then crashes straight away. So I am not actually moving a working terminal window to a different display, but rather launching it into a different display environment with the result being that it crashes immediately. |
@T313C0mun1s7 I think it is because terminal remembered the last postition and tried to restore to original possition , then got crushed . Looks like a new problem . I saw such behavious on some other programs , though them were usually unreachable(invisible) instead of crash . |
Hey everyone, just an update here: I've dug real deep into XAML over the last week, and working with @teaP, we were able to find that the source of the At the time of writing it's unclear when we'll ingest that update and push an update to the store. We'll keep you posted in this thread when we know more. Thanks all for help with getting repro steps found! |
Same problem here. |
Happens to me as well, also when I'm dragging to a monitor with a bigger resolution (tested with 1080p to 1440p), maybe the problem's not with the dragging to another monitor alone but happens when I'm dragging to the left or right side of the screen (similar to WIN+L or WIN+R shortcuts) like I normally do with my windows. Thanks, Simone. |
## Summary of the Pull Request Updates MUX to the latest pre-release version. This prerelease has a fix for a certain `E_LAYOUTCYCLE` bug in the TabView that was causing an untold number of crashes for us. Thanks again @teaP! ## PR Checklist * [x] Closes #3303 * [x] Closes #2277 * [x] I work here * [n/a] Tests added/passed * [n/a] Requires documentation to be updated
Updates MUX to the latest pre-release version. This prerelease has a fix for a certain `E_LAYOUTCYCLE` bug in the TabView that was causing an untold number of crashes for us. Thanks again @teaP! * [x] Closes #3303 * [x] Closes #2277 * [x] I work here * [n/a] Tests added/passed * [n/a] Requires documentation to be updated (cherry picked from commit 2f0abc2)
🎉This issue was addressed in #3832, which has now been successfully released as Handy links: |
For what it's worth, your amusing release notes keep me coming back. Thanks for the hard work. |
@JustinGrote thanks 😁 |
Environment
Steps to reproduce
Expected behavior
Terminal is dragged onto another monitor
Actual behavior
It crashes.
Funny thing: The terminal doesn't crash when I have more than one tab open.
The text was updated successfully, but these errors were encountered: