xpra icon
Bug tracker and wiki

Opened 2 weeks ago

Last modified 36 hours ago

#2410 new enhancement

HTML5 client on HIDPI screens

Reported by: Andras Sali Owned by: Andras Sali
Priority: minor Milestone: 4.0
Component: html5 Version: 3.0.x
Keywords: Cc:

Description

Hi,

I wanted to ask if there are plans to support HiDPI (e.g. Retina) screens for HTML 5 clients. Out of the box the HTML 5 client will use the css width / height properties to render the server screen, which will result in relatively low resolution displays (the virtualized screen resolution is small).

With some small changes we managed to get around this by using the window.devicePixelRatio to render a higher res screen on the server and scale it back via css transform to the original screen (plus some small changes on the mouse handling). After this the screens look nice and sharp on Retina displays as well.

Would such a patch be considered for inclusion in the repository? Many screens these days tend to have HIDPI resolutions, so some kind of better support might be welcomed by the community.

Many thanks for your great work on this project,

Regards,

Andras

Change History (3)

comment:1 Changed 2 weeks ago by Andras Sali

Component: androidhtml5
Priority: majorminor
Type: defectenhancement

comment:2 Changed 2 weeks ago by Antoine Martin

Owner: changed from Antoine Martin to Andras Sali

Would such a patch be considered for inclusion in the repository?

Sure, that would be great, please send your version of the changes.
Normally, this should not require any server-side changes.
I don't have any hardware to test it, but I think there are ways to force enable hidpi.

comment:3 Changed 6 days ago by Antoine Martin

Milestone: 3.04.0

Probably too late for v3.
See also #2369 and #1933

Last edited 36 hours ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.