Live data from Hacker News

.NET MAUI is coming to Linux and the browser

avaloniaui.net

141–150 of 276 posts

Re: .NET MAUI is coming to Linux and the browser

#141
Honestly, I feel that everything UI related has gone backwards to the stone age.

I wonder how hard would it be to go back to visual designers like we had with Delphi or VB6. There were flexible layout container components which helped a lot when adapting forms to varying screen resolutions.

Re: .NET MAUI is coming to Linux and the browser

#142
Would be interested to know about the a11y story on web and other platforms. Does it integrate with screen readers, accessible navigation tools, a11y apis, etc.

This is somewhere quite a few tools fall down. For example, for web: Rendering to canvas doesn't create the dom nodes required to hook into the tools, and creating the nodes appropriately can have a significant performance impact.

What about native a11y tools and tech.. there are some ios specific ones that you'd expect on an ios app for example.

Re: .NET MAUI is coming to Linux and the browser

#143

Earlier quoted context omitted.

Tauri is pretty awesome. Rust backend, WebView front end. Nothing uses native desktop elements of course. To be fair, there is no practical way to write native desktop applications using stylistically consistent UI elements AND have it be portable AND in a language that you enjoy using. As far as I can tell, Windows 11 doesn't even have a toolkit with platform UI elements. GTK on Gnome is pretty okay and GTK-rs is no…

> Rust backend, WebView front end. I don't know much about it but it seems like a weird combination. If you want high performance and low memory usage, you don't want HTML, if you want fast code writing, you don't want Rust.

I don't believe you generally end up writing a lot of Rust with something like Tauri. It is mostly web dev. While it is true that browser based UIs are slower than native, it isn't clear that .NET based UIs would be any faster while being very niche.

Re: .NET MAUI is coming to Linux and the browser

#144

Earlier quoted context omitted.

MVC is not .NET of course. You are right that WinForms and MVC have been around forever. However, Microsoft has continuously told devs that they are the past. So, you would be forgiven for expecting them to go away. WinUI is the current official desktop paradigm and it is basically UWP from an API point of view. So the idea that UWP went away is not 100% accurate either. Microsoft does not really abandon their UI tec…

> MVC is not .NET of course. https://en.wikipedia.org/wiki/ASP.NET_MVC

I feel like they're both talking about MFC instead..

Re: .NET MAUI is coming to Linux and the browser

#145
post #46

Earlier quoted context omitted.

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.…

> 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;…

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.

Re: .NET MAUI is coming to Linux and the browser

#146
post #80
post #46

Earlier quoted context omitted.

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.…

> 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?

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.

Re: .NET MAUI is coming to Linux and the browser

#147

Earlier quoted context omitted.

Never build a frontend on a .NET technology. Period. They always end up unsupported in the end. Just use standard web technologies and thank yourself later. I've been a .NET dev for a decade now and that's what I've learnt.

Except WinForms, spectacular for Windows-only utility GUIs.

I was going to suggest the same, just use WinForms. It's basically feature complete, and it's going to be the last UI framework Microsoft is going to yank out from beneath you.

Re: .NET MAUI is coming to Linux and the browser

#148
post #6

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 lar…

Agree. The examples feel a bit like I'm using a specific window in remote desktop session.

Re: .NET MAUI is coming to Linux and the browser

#149
post #46
post #7

Earlier quoted context omitted.

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 c…

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.…

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.

Re: .NET MAUI is coming to Linux and the browser

#150
post #80

Earlier quoted context omitted.

> 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?

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.

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

Post reply on HN