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

UI glitches after coming out of suspend mode #68346

Closed
mcrajah opened this issue Feb 10, 2019 · 8 comments
Closed

UI glitches after coming out of suspend mode #68346

mcrajah opened this issue Feb 10, 2019 · 8 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@mcrajah
Copy link

mcrajah commented Feb 10, 2019

Issue Type: Bug

leave vscode open before going into suspend. Once you come out of suspend, there are numerous boxes in vscode that do not have the correct UI. Resizing, maximizing, minimizing etc does not fix these boxes. You have restart vscode to fix.

Each time the issues are different, for example, sometimes, the sidebar map will be all white or the scroll bars are messed up. Almost always, the terminal window does not show any text except the line with prompt.
vscode

VS Code version: Code - Insiders 1.32.0-insider (709bf35, 2019-02-08T14:50:08.266Z)
OS version: Linux x64 4.20.6-arch1-1-ARCH

Version: 1.32.0-insider
Commit: 709bf35
Date: 2019-02-08T14:50:08.266Z
Electron: 3.1.3
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.20.6-arch1-1-ARCH

System Info
Item Value
CPUs Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 x 1857)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
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
surface_synchronization: enabled_on
video_decode: unavailable_off
webgl: enabled
webgl2: enabled
Load (avg) 1, 0, 0
Memory (System) 7.75GB (2.97GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
cpptools ms- 0.22.0-insiders
@Pilzschaf
Copy link

Same here on manjaro. For me primarily the terminal is broken. Opening a new terminal session works for me but it is annoying nevertheless. The terminal doesn't even show the prompt in my case. Only some single characters are sometimes visible. I am using zsh but the problem also happen with bash. The sidebar map actually reappeared on window resize in my case.
I also wanted to note that the bug is not new, so it is nothing that has been introduced with a patch lately.
screenshot_20190210_101547

@felubra
Copy link

felubra commented Feb 11, 2019

@Pilzschaf please see #43169 (comment)

image

Boxes of subtle colors are appearing randomly across the screen, they appear and disappear according to the scroll position. Some of them over ui elements. I saw this problem on a machine with WIndows 10 and another one with Linux (Fedora 29)

On the Windows machine:

Version: 1.31.0 (user setup)
Commit: 7c66f58
Date: 2019-02-05T22:35:56.624Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763

@bpasero bpasero assigned Tyriar and alexdima and unassigned bpasero Feb 11, 2019
@alexdima alexdima added upstream Issue identified as 'upstream' component related (exists outside of VS Code) linux Issues with VS Code on Linux labels Feb 11, 2019
@flschaves
Copy link

I'm issuing this as well, I'm using Ubuntu 18.04:

image

@supirman
Copy link

Version: 1.31.1
Commit: 1b8e830
Date: 2019-02-12T02:19:29.629Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-45-generic

I have the similar issue for the terminal. Some terminal text if not all becomes invisible after suspend.

After Suspend

I found a workaround for my issue by changing the color scheme.

@sustained
Copy link

sustained commented Feb 23, 2019

This is happening to me too, on Fedora 29.

Though my example here looks rather different to the others. But sometimes it does things that look like what some of the others above are seeing, too.

screenshot from 2019-02-23 18-27-05

@NeMO84
Copy link

NeMO84 commented Feb 24, 2019

Encountering the same issue as described by many here.

System:

Ubuntu 18.04.2
Version: 1.31.1
Commit: 1b8e8302e405050205e69b59abb3559592bb9e60
Date: 2019-02-12T02:19:29.629Z
Electron: 3.1.2
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Linux x64 4.15.0-45-generic

Altering zoom via ctrl +/- seems to be a workaround.

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues and removed linux Issues with VS Code on Linux labels Feb 25, 2019
@Tyriar
Copy link
Member

Tyriar commented Feb 25, 2019

I didn't expect issues related to the minimap to pop up, but it makes sense that the terminal is still seeing this issue. We need to clear the texture cache when a resume happens and redraw everything, right now just a redraw is happening using corrupted textures.

@Tyriar
Copy link
Member

Tyriar commented Mar 22, 2019

/duplicate #69665

@Tyriar Tyriar closed this as completed Mar 22, 2019
@vscodebot vscodebot bot added the *duplicate Issue identified as a duplicate of another issue(s) label Mar 22, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators May 6, 2019
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 *duplicate Issue identified as a duplicate of another issue(s) terminal Integrated terminal issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

11 participants