Skip to content

The git commit message field is cropped with negative zoom #110441

Closed

Description

Issue Type: Bug

Here's what I get with "window.zoomLevel": -0.71,:

Snipaste_2020-11-11_22-09-14

I know there are some bugs with non integer zoom levels, but this is a regression! It used to display correctly in previous versions.

VS Code version: Code 1.51.1 (e5a624b, 2020-11-10T23:34:32.027Z)
OS version: Windows_NT x64 10.0.18362

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 7.89GB (1.27GB free)
Process Argv --crash-reporter-id f21ed382-d472-4360-9cb5-a6e51078377b
Screen Reader no
VM 0%

(4 theme extensions excluded)

Activity

  1. added
    bug
    scm
    on Nov 12, 2020
  2. added
    help wanted
    on Nov 23, 2020
  3. chenjigeng commented on Dec 11, 2020

    @chenjigeng
    Contributor

    The reason it's cropped is because the parent node is set overflow: Hidden.
    image

    To not affect other nodes of the same type, I only set overflow: unset for the .scm-input. just like the PR. please help check that João Moreno (@joaomoreno)
    .
    image

  4. joaomoreno commented on Dec 14, 2020

    @joaomoreno
    Contributor

    Yes, that's related to the fact that it's hidden. But the real problem here is CSS unit rounding. The contents of that div should never escape its bounding box and when zomming out that is happening. We should not change the overflow rule.

  5. chenjigeng commented on Dec 14, 2020

    @chenjigeng
    Contributor

    Yes, you are right. I try to change margin to padding. And it work. João Moreno (@joaomoreno) Please see if that's ok
    image

  6. added
    unreleased
    on Jan 6, 2021
  7. added
    author-verification-requested
    and removed
    help wanted
    unreleased
    on Jan 6, 2021
  8. vscode-triage-bot commented on Jan 7, 2021

    @vscode-triage-bot

    This bug has been fixed in to the latest release of VS Code Insiders!

    Pedro H Garcia Macedo (@phgmacedo), you can help us out by commenting /verified if things are now working as expected.

    If things still don't seem right, please ensure you're on version 01089c0 of Insiders (today's or later - you can use Help: About in the command palette to check), and leave a comment letting us know what isn't working as expected.

    Happy Coding!

  9. added
    verified
    on Jan 28, 2021
  10. locked and limited conversation to collaborators on Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

author-verification-requestedbugscmverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions