News for hackers. Stuff that matters.
Re:Writing GUI apps for Windows is painful by criddell on Sunday June 30, 2024 @03:47PM (#40839730)
> need to agree on a GUI interoperability

I hope they don’t. I like that the different platforms I use feel and look different. In fact, I wish there was more variety. I wish there were still Atari, and Amiga, and BeOS, Tandy, and all the other interesting platforms competing for users with different ideas of how computers should work.

Re:Writing GUI apps for Windows is painful by livrem on Sunday June 30, 2024 @04:14PM (#40839995)
I want every app I use to be identical on all platforms it supports. I don't care if different apps on the same platform behave the same way. I want to move between different machines running different operating systems, but not have to remember different ways of using the same app. Aseprite should always be Aseprite and Krita should always be Krita etc.

I understand if the large majority, that spend all their time with a single system (how boring!), feels differently about this and are upset/confused when some app does not behave like their other apps ("what do you mean press M-w to copy text?"). Hopefully there can be enough choice that both styles can exist instead of every app being designed to make the single-OS majority happy.

Re:Writing GUI apps for Windows is painful by linguae on Sunday June 30, 2024 @04:07PM (#40839933)
I wonder how possible it is to design a cross-platform GUI framework that not only uses the native UI widgets of each underlying platform, but also respects each platform's human interface guidelines. I'd imagine this would be very hard work, especially the part about respecting each platform's HIG, but the increased power of AI tools could potentially make this task easier. Such a framework could potentially be an appealing alternative to Electron for making cross-platform applications, with the benefit of conformity to each platform's HIG.
Re:Writing GUI apps for Windows is painful by swatcoder on Sunday June 30, 2024 @04:16PM (#40840014)
There have been many frameworks that offered this and some still do. But it comes at the direct expense of design discipline, branding, and user experience optimization -- all of which have been elevetated to high concern over the 15 years or so.

Cross-platform "Native look and feel" currently works for some no-nonsense professional utitlies and hobby tools, but mostly makes software that's hard to sell, document, or support.

Most have just opted for common widget libraries instead, and frameworks have stepped up by providing rich libraries of such widgets and prioritizing features for customizing or complementing them even further.

Re:Writing GUI apps for Windows is painful by criddell on Sunday June 30, 2024 @04:53PM (#40840285)
I’ve been thinking more lately about a library which defines an interface for GUI elements, and then leaves implementing that up to you. Something like MVC (or some other design pattern) where the view part is an interface definition.
Re:Writing GUI apps for Windows is painful by torstenvl on Sunday June 30, 2024 @05:02PM (#40840339)
wxWidgets does this pretty well, e.g., wxSingleChoiceDialog has "OK" "Cancel" on Windows but "Cancel" "OK" on Linux/GTK.