News for hackers. Stuff that matters.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by userbinator on Friday May 10, 2019 @10:57PM (#19884245)
A lot of people, including me, do not think that "good looking" and "native looking" should be any different, and for that, Electron is a failure --- native applications use the UI of the platform and are consistent with other applications on the platform, while Electron applications obviously look different from them, and have the same look regardless of platform, completely ignoring the standard native UI it provides. They don't conform to the customisations I do to the native UI of the platform, which is very frustrating. There's also the unmistakable RAM usage and general sluggishness.

From that perspective, it's not really "cross platform", since you're just developing for one platform that happens to run inside many others: a web app.

Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by crispinb on Saturday May 11, 2019 @12:17AM (#19884520)
I honestly think the days of the cohesive desktop platform are done. It arguably reached its peak with OS X (perhaps circa Snow Leopard), but the idea has been falling into disrepair even on the mac. It's hard to see any strong force moving us back to it, but given the current situation, if I were a desktop app developer I don't think it's something I would consider it worth investing too much effort in.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by lozenge on Saturday May 11, 2019 @03:35AM (#19885079)
Maybe my memory is bad but I don't think OS X ever really had it. The flag-carrying apps (Adobe, Final Cut, Garageband) had custom UIs. Built ins like Calendar had skeumorphic UIs.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by Razengan on Saturday May 11, 2019 @09:48PM (#19889581)
> Maybe my memory is bad but I don't think OS X ever really had it.

This is not a binary question of either a desert or either a rainforest, but Apple's side of the fence is definitely a lot greener than Microsoft's in terms of UI/UX consistency.

I was a purely PC/MS user up until about 10 years ago, but I haven't suffered as many befuddled facepalm moments from Apple's UI decisions as from the Escheresque nightmare that Microsoft is even now.

> The flag-carrying apps (Adobe, Final Cut, Garageband) had custom UIs. Built ins like Calendar had skeumorphic UIs.

However, almost every macOS app has the same standard menus, same standard shortcuts, and most of them support the same OS extensibility features. Even as a developer you just need to build against the latest AppKit and you get not only all the current features, but usually future features for free too (e.g. most of the NSDocument stuff such as autosaving and previous versions.)

Compare this to the hodgepodge of different interfaces even in Windows' builtin apps alone, and championing a different API almost every other year.

Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by crispinb on Saturday May 11, 2019 @04:48AM (#19885268)
Oh, true of course, especially from the big guns. But there was a flourishing ecosystem of great apps like Textmate, Things, Acorn, and a bunch of others from outfits like Omnigroup, Panic, IconFactory. These tended to fit beautifully on the platform, and not just in aesthetic terms, but functionally with reasonably consistent keyboard shortcuts, AppleEvents support, etc.

Not perfect (what is?), and many of the longstanding apps are still around, but the steam has arguably gone out of the platform.

Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by sfifs on Saturday May 11, 2019 @02:25AM (#19884891)
Depends on personal preferences I guess. I generally find "native" interfaces poorly suited to productivity. In fact even Microsoft agrees which is why they have UI of their Office products running on a highly contextually customized ribbon interface and visual cue based context menus which use transparency to hint at options. I similarly find Electron based apps usually focus on usability rather than throwing a million option into menus or cluttered toolbars which is the default "native" UI.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by lopmotr on Saturday May 11, 2019 @12:14AM (#19884502)
Is there really a Windows native look anymore? Every application seems to have a completely different UI style now. The old days of dialog boxes all having the same Winforms controls are gone and now they're a random mixture, even within Windows itself. The tabs in Chrome are not like the tabs in Excel which are not like the tabs in Paint3D. It's all over the place.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by userbinator on Saturday May 11, 2019 @12:44AM (#19884613)
Yes, I believe the inconsistencies started with Vista, and has gotten worse since then, but the parts they didn't change still have the consistent normal Win32 style.

The standard tab control looks like this:

https://docs.microsoft.com/en-us/windows/desktop/controls/ta...

There is a (probably incomplete) list of standard controls here, I believe the documentation for each one contains screenshots of what they look like:

https://docs.microsoft.com/en-us/windows/desktop/controls/in...

That said, Chrome's tabs are (at least the last time I checked) actually bitmap images, Excel's tabs are also probably custom-drawn yet fortunately aren't bitmaps (just judging by how they look), and I believe Pain(t)3D is actually UWP.

Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by mhermher on Saturday May 11, 2019 @12:51AM (#19884632)
The only people who ever bring this up are all on HN. Spotify is electron, vs code is electron, slack is electron. I have them open all day, and never even notice.
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by bni on Saturday May 11, 2019 @04:14AM (#19885170)
Spotify is not electron
Re:Microsoft Throws in the Towel on UWP, Elevates Win32 by bpye on Saturday May 11, 2019 @03:39PM (#19888005)
Desktop Spotify does use CEF though doesn't it? Whilst it might not be electron it's a similar idea