Bug 7885 - Session high DPI support
Summary: Session high DPI support
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: VNC (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: LowPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on: 5273 7911
Blocks:
  Show dependency treegraph
 
Reported: 2022-04-07 08:26 CEST by Pierre Ossman
Modified: 2023-10-17 16:26 CEST (History)
3 users (show)

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2022-04-07 08:26:42 CEST
Modern monitors often have very high DPI which requires special handling in applications as they need to render things at a higher resolution. These applications therefore need to be able to tell what DPI to target.

We would like to full support these monitors in ThinLinc as well, allowing applications to fully use the extra detail these monitors provide. Currently we assume a "standard" DPI in ThinLinc and have no support for these high DPI modes.

Supporting this in ThinLinc adds some extra problems since a session can be resumed from different devices, with different DPIs. The session would need to dynamically reconfigure itself.

The major blocker for this is poor support for DPI unaware applications in Linux. On Windows and macOS applications are scaled by the OS if they don't signal that they can handle these high DPI monitors. On Linux there is no such handling so these applications will look tiny instead. Not even Wayland has had the foresight to handle this case.
Comment 2 Pierre Ossman cendio 2022-04-12 15:36:00 CEST
There was some basic work done here on improving support in X11:

https://keithp.com/blogs/window-scaling/

Can't see much happening since then though.

There is also a discussion here about handling older applications in Wayland:

https://gitlab.freedesktop.org/xorg/xserver/-/issues/1318
Comment 3 William Sjöblom cendio 2022-06-07 11:09:46 CEST
The work done in bug 7926 included adding partial HiDPI support to the profile chooser. Both profile screenshots and icons now look sharp with scaling turned up.

What remains to be fixed now in terms of profile chooser HiDPI support is the bottom ThinLinc logo which still looks blurry with higher scaling factors.

Note You need to log in before you can comment on or make changes to this bug.