Vscode: Cannot maximize, minimize, or move the window when exported to remote X11 display on version 1.30.0-1544567151

Created on 14 Dec 2018  路  6Comments  路  Source: microsoft/vscode

Steps to Reproduce:

  1. I'm running Ubuntu 18.04
  2. I updated the code package to version 1.30.0-1544567151 via apt
  3. I exported my X display to a remote X11 server
  4. I then cannot maximize, minimize, or move the code window

My current solution is to downgrade:

sudo apt install code=1.29.1-1542309157

Most helpful comment

This might help:

"window.titleBarStyle": "native"

All 6 comments

This might help:

"window.titleBarStyle": "native"

@Tyriar that works. Thanks!

Thanks @Tyriar

Those using vs code with remote x forwarding will need to change their titlebar style setting to native as @Tyriar suggested above.

@sbatten should we add this to the Linux FAQ? https://code.visualstudio.com/docs/setup/linux#_common-questions

added

You could shell out and check if the DISPLAY is local or exported and set the title bar style option if it's exported:

$ ps wwep $$ | tr ' ' '\012' | grep DISPLAY
DISPLAY=192.168.1.185:0.0
Was this page helpful?
0 / 5 - 0 ratings

Related issues

mrkiley picture mrkiley  路  3Comments

shanalikhan picture shanalikhan  路  3Comments

trstringer picture trstringer  路  3Comments

curtw picture curtw  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments