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

The width of the terminal can overflow out of the panel for proportional fonts #54230

Closed
parthvakharia opened this issue Jul 13, 2018 · 10 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded
Milestone

Comments

@parthvakharia
Copy link

Issue Type: Bug

Open side by side integrated terminal the boundry of terminals are not properly allign it goes over side bar (my side bar is on right hand). The inner wall of terminals ae also overlaping fonts.

VS Code version: Code 1.25.1 (1dfc5e5, 2018-07-11T15:43:53.668Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (4 x 2394)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: disabled_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
Memory (System) 7.90GB (3.32GB free)
Process Argv D:\Program Files (x86)\Microsoft VS Code\Microsoft VS Code\Code.exe
Screen Reader no
VM 0%
Extensions (3)
Extension Author (truncated) Version
vscode-cosmosdb ms- 0.8.0
azure-account ms- 0.4.1
node-debug2 ms- 1.26.2
@wgwine
Copy link

wgwine commented Jul 13, 2018

screen shot 2018-07-13 at 11 09 58 am

I see the same on Mac.

@yume-chan
Copy link
Contributor

Relates to #51945

Regression?

@Tyriar
Copy link
Member

Tyriar commented Jul 16, 2018

This is fixed in insiders #51479

@Tyriar Tyriar added the *duplicate Issue identified as a duplicate of another issue(s) label Jul 16, 2018
@vscodebot
Copy link

vscodebot bot commented Jul 16, 2018

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for existing issues here. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Jul 16, 2018
@yume-chan
Copy link
Contributor

@Tyriar Someone has confirmed it's fixed in a 7-day-ago version, but I think this guy is using... eh... a not-7-day-ago version.

And I can still reproduce it using my "invalid terminal font" repro.

image

@Tyriar
Copy link
Member

Tyriar commented Jul 16, 2018

@yume-chan hmm, I can't repro that on Linux using dom renderer+Arial. What font are you using?

Could you also try inspecting the terminal elements and take a screenshot of the spans in the row?

@Tyriar Tyriar reopened this Jul 16, 2018
@Tyriar Tyriar added info-needed Issue requires more information from poster terminal Integrated terminal issues and removed *duplicate Issue identified as a duplicate of another issue(s) labels Jul 16, 2018
@Tyriar Tyriar self-assigned this Jul 16, 2018
@yume-chan
Copy link
Contributor

yume-chan commented Jul 19, 2018

@Tyriar I'm using canvas renderer.

Steps to reproduce:

  1. Set terminal.integrated.fontFamily to non-monospace font.
  2. Close terminal panel and sidebar
  3. Restart Code
  4. Open sidebar
  5. Open terminal panel

@Tyriar
Copy link
Member

Tyriar commented Jul 19, 2018

@yume-chan I can repro with those steps 👍

@Tyriar
Copy link
Member

Tyriar commented Jul 19, 2018

I don't think it's the issue the OP was seeing but let's track it here. #51945 was about monospace fonts

@Tyriar Tyriar changed the title Integrated terminal distorted The width of the terminal can overflow out of the panel for proportional fonts Jul 19, 2018
@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Jul 19, 2018
@Tyriar
Copy link
Member

Tyriar commented Jul 19, 2018

This would be fixed with the proposal in xtermjs/xterm.js#702 (comment)

@Tyriar Tyriar added this to the July 2018 milestone Jul 19, 2018
@Tyriar Tyriar closed this as completed in 7b45764 Jul 19, 2018
@octref octref added the verified Verification succeeded label Aug 2, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Sep 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants