News for hackers. Stuff that matters.
Re:Apple announces 27-inch 5K Studio Display by astrange on Tuesday March 08, 2022 @02:59PM (#30605905)
Your suggestion was tried for years and failed every time because it doesn’t work. HiDPI shipped because it was 2x or nothing. (Later there was 3x.)

The reason Windows developers still think it might work is they have no taste and don’t care about localized UI, pixel cracks, or blurry bitmap controls.

Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Tuesday March 08, 2022 @06:40PM (#30608941)
Android has been shipping arbitrary DPI support for longer than iOS or MacOS has supported the limited 2x HiDPI, and it doesn't have the issues you're talking about.

It's definitely possible to do, although retrofitting an existing UI toolkit & ecosystem is a massive challenge.

Re:Apple announces 27-inch 5K Studio Display by astrange on Tuesday March 08, 2022 @11:19PM (#30610890)
Isn't the Android SDK older than iOS? Either way, it can't escape blurriness. There's bitmaps on this very page and if I zoom in the reply button misrenders.

Actually it can't escape pixel cracks either, as I seem to remember OpenGL ES 1.0 including GL_LINES where the default width is 1px.

Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Wednesday March 09, 2022 @06:23AM (#30613334)
Androids pixels are display pixels, there's no post-render scaling. So no pixel cracks, no blurriness, etc... Density is instead handled mostly at layout, as it should be.
Re:Apple announces 27-inch 5K Studio Display by astrange on Wednesday March 09, 2022 @06:11PM (#30621213)
You can't just make the windows bigger on a high res display, the text will be unreadably small.
Re:Apple announces 27-inch 5K Studio Display by kllrnohj on Wednesday March 09, 2022 @06:42PM (#30621464)
Of course you can. Text only ends up unreadably small if your text is specified in pixels. Which on a density-aware toolkit (like Android's) it isn't. https://developer.android.com/training/multiscreen/screenden...

This is also best practice on many other platforms, too (eg, 'pt' and 'em' units). This is far less commonly followed on most toolkits, though, but it's the norm on Android.

Re:Apple announces 27-inch 5K Studio Display by astrange on Wednesday March 09, 2022 @08:17PM (#30622130)
And now your controls are either blurry or don't match the text size or you redid them all in vector art.

Text size controls are in iOS as an accessibility feature (dynamic type) but it's not always on and it can't be the approach to HiDPI.

Re:Apple announces 27-inch 5K Studio Display by naikrovek on Tuesday March 08, 2022 @03:24PM (#30606364)
nah, hidpi on Windows is fine if you know what you're doing as an application developer. it's those who haven't bothered to make the changes recommended or required that make windows hidpi support look worse than it is in single-monitor setups.

multiple monitors on Windows with varying dpi scales is not great though, and probably can't be until some backwards compatibility promises are broken or expired.

Re:Apple announces 27-inch 5K Studio Display by xenadu02 on Tuesday March 08, 2022 @04:26PM (#30607273)
> nah, hidpi on Windows is fine if you know what you're doing as an application developer.

Many (most?) don't or can't be bothered so the end result in practice is that it doesn't work. Microsoft has been chasing the HiDPI fairy for decades and the situation hasn't really gotten better. They still ship software (both in and outside the OS) that isn't HiDPI aware.

Retina prioritizes making it easy for developers to adopt: Double the size of artwork, points are 2 pixels, Done. Are there quibbles? Sure. But millions of people are looking at HiDPI screens where every single thing in the OS and all third party apps they use fully support 2x.

No one lives in the magical world where arbitrary scaling factors are supported. Doing that as a developer is just too damn complicated when @1x + @2x (and maybe @3x) makes 98% of people happy and is vastly less work.

Re:Apple announces 27-inch 5K Studio Display by astrange on Tuesday March 08, 2022 @05:05PM (#30607811)
> Microsoft has been chasing the HiDPI fairy for decades and the situation hasn't really gotten better.

Well, I want to say it has gotten better. Their Metro design is what a UI has to look like to work with arbitrary scales and still solve those problems I mentioned. The downsides are it uses simple geometric shapes and has tons of whitespace everywhere so text can reflow in longer languages.

This is probably another big reason behind “flat design” in modern websites, the old skuomorphic (sp) stuff would be hard to do with vectors.

(As for vectors in UI, they have other performance issues which are important if you like live resizing windows.)

Re:Apple announces 27-inch 5K Studio Display by int_19h on Tuesday March 08, 2022 @10:07PM (#30610469)
The vast majority of apps on modern Windows (10+) just works. I've been running all kinds of weird scaling factors like 175% for the past several years with no issues.
Re:Apple announces 27-inch 5K Studio Display by nickpp on Tuesday March 08, 2022 @03:43PM (#30606594)
In the latest Windows 11 there are a bunch of native OS dialog which are not high-dpi aware and look pixelated on my 4K monitor.

If even Microsoft can’t be bothered, what do you expect from app developers?!

Re:Apple announces 27-inch 5K Studio Display by int_19h on Tuesday March 08, 2022 @10:08PM (#30610478)
Dialogs themselves are HiDPI-aware; but if the app that opens them doesn't advertise itself as HiDPI-aware, it doesn't help.
Re:Apple announces 27-inch 5K Studio Display by solarmist on Tuesday March 08, 2022 @03:44PM (#30606615)
>nah, hidpi on Windows is fine… Exactly, it’s fine.

Apple has never settled for “fine” either it’s great or it gets cuts at some point.

>if you know what you’re doing as an application developer. Apple also tends to avoid wading into footgun waters to keep quality (for 3rd party devs) as high as possible across the board.