judah
11 hours ago
This is interesting for sure. Kudos for bringing this capability to the web!
One issue the demos reveal is, it doesn't _feel_ like the web. That is, I can't hit Ctrl+F to find text on a page. I can't select text with my cursor. I can't copy the address of a hyperlink. On my phone, I can't hard press on an image and share it to others. Screen readers can't handle it. I can't press a shortcut key to make everything larger.
These all may seem pedantic, but they contribute to the feeling "this is not the real web."
This is the same problem with Java applets in the late '90s, Flash and Silverlight in the early 2000s. They are islands of richness within a web page, but those islands are, well, opaque to browsers, search engines, and virtually all web tooling.
taftster
10 hours ago
That's not pedantic at all! Indeed, without these capabilities, it is by some definition not the real web.
This hits into that concept of what exactly the "web" is. Is it just a media transport system? Or is it something more than that. Of course, we could cite Tim Berners-Lee here or Roy Fielding in this discussion.
But at minimum, I think a lot of us are tired of the app-lification of the web and somewhat wish we could have a bit of the old.
xg15
9 hours ago
It's also an interesting question, why, in traditional rich desktop applications, I can't say I have ever missed the ability to select and copy text from the UI chrome - whereas on the web I'd definitly miss it and in badly designed mobile apps, I often do.
I think some part of UI design degraded with the web, where there used to be a clearer distinction between "user data" and "app chrome" areas than there is today.
I'd also like if we could get back to selections of more complex data types at some point and not just treat everything as text. UI toolkits have all kinds of lists and treeviews to model selectable entities, whereas in the browser, there just a single huge wall of text for everything.
mastazi
6 hours ago
> why, in traditional rich desktop applications, I can't say I have ever missed the ability to select and copy text from the UI
I do miss this on an almost daily basis and I have stopped paying for services that force me to use an app without offering a website.
The last instance of this was just a couple days ago when I could not copy a tracking number from an e-commerce app (to then paste it into the shipping company website) but at least this e-commerce company has a web UI so I could rely on that.
Oh and the other one that I miss almost daily is cmd-F / ctrl-F
majormajor
2 hours ago
"E commerce apps" are very much not the sort of traditional desktop application they were referring to. Note that they add "in badly designed mobile apps, I often do."
They're referring more to things like "you can't copy the text labeling the brush width field in Photoshop" (but you CAN copy the text out of that editable field). It's a part of app design people are extremely lazy with today, as you note.
In any sensibly designed desktop package tracking app that number would've been selectable or copy-able text, like how an email subject is in a desktop email app. (Thunderbird, say.)
(Interestingly, ctrl-f to find is one that many apps/OSes have now borrowed back, with the ability to "find" items in menus through a Help menu -> Search action.)
croon
2 hours ago
While I do occasionally miss it there as well, I think the main difference is that I very rarely use desktop applications for information gathering.
I never "read" a desktop application, whereas that is mostly what I use a browser for. And if I can't properly interact with text on a website, then I would likely reach for something else.
majormajor
2 hours ago
Back in ye olden days desktop applications for information gathering like Encarta let you select and copy text because they were thoughtfully designed and knew that "information you were gathering" should be different than "application chrome" - that's the distinction being made here.
Information-oriented desktop apps still do this - any good email client, for instance, should make it trivial to copy a subject line or "to"/"from" address even if it's in the UI chrome.
powersnail
5 hours ago
> in traditional rich desktop applications, I can't say I have ever missed the ability to select and copy text from the UI chrome
I forgot what desktop application it was, but there was a time that I repeatedly needed to copy texts from a dialog, which didn't support text selection. It frustrated me so much, that I put together a script to do OCR on the dialog.
Supporting complex data types for copy & paste is good; but it is almost trivial to also support plain text copying as a fallback when it already supports copying of other mimetypes. The problem is that some UI has no support of copying in any format at all.
gmueckl
2 hours ago
If it was a standard Windows dialog box by any chance, you could just have pressed Ctrl+C with the dialog in focus to copy the message. It's one of these subtle things that go almost completely overlooked.
eviks
6 hours ago
> traditional rich desktop applications, I can't say I have ever missed the ability to select and copy text from the UI chrome
You've never had to type error code/message instead of copying&pasting? Or use search to jump to a specific settings section?
alasdairking
2 hours ago
On Windows, with common messages boxes, you can just do Ctrl+C for copy and you get the message box text in the clipboard.
Don't know if that helps you particularly, but it is great when it works and little-known.
eviks
2 hours ago
Thanks, doesn't help me, but you're right, a good tip to know. Though I'd still prefer a similar option to start selection directly in the UI instead of finishing the job in a text editor, this would also help highlight text in a screenshot without having to do image post-processing! I'd even accept some arcane finger-breaking ctrl-alt-win-x-y-z (which I could rebind) for the privilege
All the more annoying when such years-old fundamentals are broken in all the new "supposedly better" frameworks
DANmode
6 hours ago
I’ve never done it twice, I can tell you that much!
kyleee
6 hours ago
Not being able to copy text from UI interfaces is just normalization of deviancy. It should be the norm and it’s subpar when not possible imho
ttd
9 hours ago
IMHO there's no gatekeeper of what the "real" web is or should be. It grew organically - regular people building things they liked or needed. It's certainly more of a life necessity than it used to be, but that happened organically too.
I know there are strongly held opinions about this, but I for one see no reason why the "application web" can't peacefully coexist, and interlink with, the document web. In my opinion it therefore makes sense to allow for different models for the application web, ones that do not revolve around a document.
On the other hand, if we're just bashing on javascript being the lingua franca of the web, that's a train I'll happily board!
DANmode
6 hours ago
If the “application web” can’t share the text to another app,
then forget that.
a2128
10 hours ago
Not using the standard web stuff usually means it's also an accessibility nightmare, tried using a screen reader on the demo and it doesn't work at all unfortunately
afavour
10 hours ago
I wonder if at any point browsers will offer a low level accessibility API for you to manually describe components. I’ve worked in the web for years and I’m a big believer but it’s also indisputable that Canvas offers more performant UI rendering than HTML when done correctly. I don’t think it should ever be used for web “documents” but web apps already bastardize HTML and CSS to achieve their aims anyway. Accessibility remains the missing component.
shakna
10 hours ago
As far as standards is concerned, that API is ARIA [0].
W3C already offers guides for accessibility and canvas. But no one who opts for canvas turns around and remembers to do their landmarks.
afavour
8 hours ago
Then I’m showing my ignorance… how do you add ARIA landmarks to Canvas elements?
kg
8 hours ago
You would create transparent DOM elements in the right places with the right ARIA attributes and content, I suspect.
afavour
7 hours ago
I guess that’s what I’d like to see a better API for, then. Mapping on click events for invisible elements feels like a hack.
MrGilbert
an hour ago
OTH, we are still failing to provide a bare minimum for accessibility. Heck, we even needed a law (in the EU, that than needed to be translated to national law), so that companies providing crucial end user services would care about accessibility.
pmontra
6 hours ago
It's HTML imagemaps from the 90s, when we could not style buttons and navbars where GIFs with links in the right places. Browsers still have the code to render them.
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
thayne
5 hours ago
That's possible. But it is difficult to get right, and can have poor performance if you you have many such elements.
troupo
2 hours ago
> I wonder if at any point browsers will offer a low level accessibility API for you to manually describe components
Accessibility Object Model:
https://wicg.github.io/aom/spec/
It's very slowly coming together, but it won't be rone for many years yet. Especially since what you want is Phase 3.
charcircuit
7 hours ago
What screen reader? Over the last few years AI's ability to understand images has improved a lot.
a2128
3 hours ago
I'm not aware of any screen reader that works by continuously feeding screenshots of user interfaces into a remote expensive image LLM, which is an absolutely insane and impractical idea for many reasons, but I used standard TalkBack on Android
cebert
7 hours ago
That’s not exactly fast for people who need these tools though.
happymellon
4 hours ago
I can't code, I'll use an LLM to write one!
I can't use your app, I'll use an LLM to read it!
LeFantome
4 hours ago
MAUI was never intended for the web. This is not what Microsoft wants you to use it for.
WASM is just one of the platforms that Avalonia supports and so, if you run MAUI on Avalonia, you can run it on WASM.
If you do that though, it is going to be like rendering any other desktop GUI toolkit in WASM. It is not a web app. I mean, it is cool you can do it and MAUI in WASM is better than no web capability at all I guess. But you would never set out to create a web app in MAUI.
MAUI on Avalonia on WASM is really a modern replacement for Silverlight. And it will likely be about as popular.
The really cool thing is being able to target the Linux desktop finally. A lot of people will love that.
And, while MAUI was meant to use native controls on each platform, many people may prefer the Avalonia approach of having your app render the same everywhere.
cheema33
9 hours ago
> I can't hit Ctrl+F to find text on a page. I can't select text with my cursor. I can't copy the address of a hyperlink.
I was intrigued before I read this. This stuff is a non-starter for me.
mhitza
10 hours ago
I think it's the same problem that flutter web has, and probably any other canvas/wasm based backend? Those features still need to be implemented, while still missing out on accessibility?
osigurdson
2 hours ago
Agree. The examples feel a bit like I'm using a specific window in remote desktop session.
cebert
7 hours ago
If this can’t support web standards it’s a nonstarter for me.
nicoburns
5 hours ago
Yeah. I think you need to render to actual DOM nodes when targeting the web if you want a first class experience.
We're betting on this over at https://github.com/DioxusLabs/dioxus where we're building a cross-platform UI solution that enables you to do this by having a web-centric API (we are developing our own custom HTML/CSS renderer for native platforms).
kazinator
9 hours ago
Let's move the goalposts downfield. If you can't go into developer mode and mess with the DOM, and JS, it's not real web.
wiseowise
an hour ago
Unironically – yes.
DeathArrow
4 hours ago
>One issue the demos reveal is, it doesn't _feel_ like the web. That is, I can't hit Ctrl+F to find text on a page. I can't select text with my cursor. I can't copy the address of a hyperlink.
That's because MAUI is intended for mobile and desktop apps.
If you want to use .NET for front-end web SPA, you can use Blazor which will behave exactly like you asked.
BoorishBears
10 hours ago
Am I losing it or am I looking ClearType on OSX?!
I get the value in this and realize it's not for your polished -$500 ARPU consumer social apps, but man this is weird.
(Also if anyone who worked on it is here, it's crashing for me on OSX 26, Chrome 142.0.7444.135, if I run an animation and hit back as the animation finishes)