Comments (4)
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!
Open similar issues:
- Bug with "Open windows from a previous session" and defaults profile run as admin (#14932), similarity score: 0.76
Closed similar issues:
- "Open windows from a previous session" executes even if a window is open. (#16732), similarity score: 0.78
- Open windows from a previous session does not restore the working directories of any tab (#15975), similarity score: 0.76
- Windows Terminal session restore is not remembering the last directory that was set in each tab (#14386), similarity score: 0.76
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
from terminal.
The session is correctly restored if an older version (2bcbe6b) is closed and opened in the latest one (67ae9f6), so the problem is with saving session on close.
from terminal.
I apologize for the issue. We're currently hoping to fix this with #16914.
In the meantime you can hotfix it by commenting out these lines:
terminal/src/cascadia/TerminalApp/TerminalTab.cpp
Lines 461 to 470 in 67ae9f6
The issue occurs because SettingsPaneContent
is not a proper, projected WinRT class (it doesn't have a definition in an .idl file). Due to this, the try_as
call fails. try_as
calls QueryInterface
and without a projection, SettingsPaneContent
doesn't get an IID
(interface ID). I checked and with cppwinrt there doesn't seem to be any way around defining it in an .idl file.
from terminal.
I've just built from dc4026d (#16914) and session restore works fine.
from terminal.
Related Issues (20)
- Find dialog continually returns focus to found element after clicking out of the dialog
- Search resets current position while new results arrive HOT 2
- Backspace in wrapped cooked read erases char on line above HOT 2
- Scroll up/down (SU/SD) don't copy wide glyph padding spaces HOT 5
- Saving action without ID immediately erases it; no warning/error HOT 5
- command line option to launch new windows in zen mode HOT 3
- new windows will only attach to previously used window if terminal is already running HOT 1
- Add an option to see "widthxheight" while resizing a window HOT 3
- Add an option to show notification when copying content
- Unable to find the selected font HOT 1
- Sporadic cannot ctrl+D to or enter to close the terminal HOT 7
- RangeFromPoint and ExpandToEnclosingUnit freezes terminal
- SetConsoleActiveScreenBuffer breaks Unicode output HOT 7
- typeahead no longer works - commands entered while other commands processing in shell are not received HOT 3
- Ability to tell taskbar to take all tabs from all windows terminal windows that are open and list all tabs in 1 list HOT 2
- Two problems with documentation to do with prompts: 1) Oh My Posh might be overkill; 2) the instructions for installing Oh My Posh HOT 1
- using `wt` alias results in silent crash (from explorer url bar, win+r, `wt` in start menu search) HOT 5
- Feature Request: Reverse Command Output Orientation in Windows Terminal HOT 3
- Top of text is cut off when the terminal is in full screen mode HOT 6
- Shared from Edge
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.