question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Heterogeneous DPI support on Linux

See original GitHub issue
  • VSCode Version: Code 1.19.1 (0759f77bb8d86658bc935a10a64f6182c5a1eeba, 2017-12-19T09:41:01.414Z)
  • OS Version: Linux x64 4.14.11-300.fc27.x86_64

Steps to Reproduce:

  1. A Wayland desktop session on a multi-display setup with heterogeneous DPI scaling. Mine is a HiDPI laptop display scaled at 200% and an external monitor using 100% scaling, resulting in xwayland scaled at 100% on all displays. gnome-shell is the compositor.
  2. Launch Visual Studio Code.
  3. Move the IDE window between the displays.

Like any other X11 application, Visual Studio Code cannot adapt to heterogeneous scaling. Wayland support, discussed in #1739, is needed to enable this. I feel that opening a new issue is justified by the problem described, which was not mentioned by the commenters on that issue.

Does this issue occur when all extensions are disabled?: Yes

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:44
  • Comments:26 (3 by maintainers)

github_iconTop GitHub Comments

10reactions
hedgepigdanielcommented, Nov 11, 2019

I would say that the chromium issue is solved enough to support this, at least for testing purposes.

The current stable chromium release only requires the ozone/wayland build flags to be compiled for ozone/wayland (no downstream patches). It works, and correctly scales the window to match the DPI of the display it’s rendered on.

9reactions
schmodcommented, Oct 4, 2020

It looks like the native Wayland support in Chromium/Electron is just about ready, so hopefully VSCode will soon be able to take advantage of that…

Read more comments on GitHub >

github_iconTop Results From Across the Web

HiDPI - ArchWiki
HiDPI (High Dots Per Inch) displays, also known by Apple's "Retina Display" marketing name, are screens with a high resolution in a ...
Read more >
Mixed DPI and the X Window System - Oblomov
A mixed-DPI configuration is a setup where the same display server controls multiple monitors, each with a different DPI. For example, my ...
Read more >
Heterogeneous System-on-Chip-Based Lattice-Boltzmann ...
An Ubuntu 16.04 Linux operating system is deployed on the PS, which is used to support the essential software building package for HemeLB...
Read more >
Linux Performance Monitoring Tool | SolarWinds
Server & Application Monitor supports many Linux distributions, ... but it can monitor heterogeneous environments running on Linux and Windows.
Read more >
Oracle Cloud Infrastructure's value for heterogeneous workloads
Enterprise workloads are increasingly becoming heterogeneous, ... primary drivers for migrating these applications to public cloud ... Autonomous Linux,.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found