Skip to content
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

Split pane from command prompt yields inconsistent results #4430

Closed
tedhudek opened this issue Jan 31, 2020 · 5 comments
Closed

Split pane from command prompt yields inconsistent results #4430

tedhudek opened this issue Jan 31, 2020 · 5 comments
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Milestone

Comments

@tedhudek
Copy link
Member

Environment

Windows build number: 10.0.18363.0
Windows Terminal version: 0.9.271.0

Steps to reproduce

  1. Create desktop shortcut with wt.exe ; split-pane ; split-pane.
  2. Run shortcut, observe Terminal's pane layout, close Terminal. Repeat several times.
  3. For me this has resulted in all of the following at different times
    • 3 panes with half vertical left and two quarters on the right
    • 3 panes with two quarters on left, half vertical on right
    • 2 vertical panes
    • once I even got a single pane

Expected behavior

Expecting first bullet under step 3 above. Absent changes in screen dimension, command line invocation should produce same results each time.

Actual behavior

Getting variable results rather than consistent results. I do seem to get the expected one most often, but not 100% of the time.

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Jan 31, 2020
@carlos-zamora carlos-zamora added Area-User Interface Issues pertaining to the user interface of the Console or Terminal Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. labels Feb 3, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Feb 3, 2020
@DHowett-MSFT DHowett-MSFT added this to the Terminal v1.x milestone Feb 10, 2020
@DHowett-MSFT DHowett-MSFT added Help Wanted We encourage anyone to jump in on these. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Feb 10, 2020
@DHowett-MSFT
Copy link
Contributor

This one fortunately has a quick workaround: specify -V or -H explicitly. 😄 Thanks for the report.

@FRANK3NST31N
Copy link

I have observed inconsistent results as well while specifying the -V or -H

OS Name: Microsoft Windows 10 Pro
OS Version: 10.0.18363 N/A Build 18363
wt Version: 0.9.433.0

I followed the same procedure but used a script.

I created : test-terminal-split.CMD

File : test-terminal-split.CMD
Contents :

wt ; split-pane -V ; split-pane -H

then i execute this script several times.

run 1 : two panes
run 2 : three panes OK
run 3 : two panes
run 4 : two panes
run 5 : three panes OK

@DHowett-MSFT
Copy link
Contributor

I think this was fixed with #5090, for 0.11 (and soon, internal selfhost)

@DHowett-MSFT
Copy link
Contributor

/dup #4618 (sorry to dupe you to a higher number, but that's the one closed by the PR 😄)

@ghost
Copy link

ghost commented Apr 3, 2020

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost ghost closed this as completed Apr 3, 2020
@ghost ghost added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Apr 3, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-User Interface Issues pertaining to the user interface of the Console or Terminal Help Wanted We encourage anyone to jump in on these. Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal. Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

4 participants