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

Sticky Scroll: Inlay Hints aren't updated when shown/hidden by keybinding #156786

Closed
IllusionMH opened this issue Aug 1, 2022 · 3 comments
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-sticky-scroll inlay-hints

Comments

@IllusionMH
Copy link
Contributor

IllusionMH commented Aug 1, 2022

Type: Bug

Testing #156175

  1. Set editor.inlayHints.enabled to onUnlessPressed (same for offUnlessPressed)
  2. Scroll down in JS/TS file so
  3. Press Ctrl+Alt - inlay hints are hidden from code but still visible in function parameters

image

"Workaround"
4. Scroll a bit to "refresh" sticky line (not need to scroll up to function declaration, just few lines is enough) - inlay hints are hidden from both code and function parameters

VS Code version: Code - Insiders 1.70.0-insider (12b08be, 2022-07-29T10:47:14.408Z)
OS version: Windows_NT x64 10.0.19044
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-1185G7 @ 3.00GHz (8 x 2995)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.50GB (15.72GB free)
Process Argv --crash-reporter-id 19aedffb-5c29-4248-9110-b5b20040c42f
Screen Reader no
VM 0%
Extensions: none
@IllusionMH
Copy link
Contributor Author

/assign aiday-mar

@alexdima alexdima added editor-sticky-scroll inlay-hints bug Issue identified by VS Code Team member as probable bug labels Aug 2, 2022
@alexdima alexdima added this to the August 2022 milestone Aug 2, 2022
aiday-mar pushed a commit that referenced this issue Aug 23, 2022
@aiday-mar aiday-mar modified the milestones: August 2022, September 2022 Aug 24, 2022
@aiday-mar aiday-mar modified the milestones: September 2022, On Deck Sep 28, 2022
@aiday-mar aiday-mar assigned aiday-mar and unassigned jrieken Feb 13, 2023
@aiday-mar
Copy link
Contributor

Hi, thanks for filing the issue. An issue has been opened which aims to add all kinds of decorations to sticky scroll, such as diff background colors, highlights, code lens text, indentation guides. You may track and upvote the issue here: #187834

@aiday-mar
Copy link
Contributor

Hi this issue is a duplicate of the issue #187834. This issue will be closed in favor of the other issue. You may track progress there.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 19, 2024
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 editor-sticky-scroll inlay-hints
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants