News for hackers. Stuff that matters.
Re:Doing work locally minimizes problems with Electron apps by robocat on Tuesday June 25, 2019 @06:08PM (#20279549)
Think of all the thousands of tiny snippets of text and single Unicode characters that make up a UI. You definitely don't want to be able to select snippets within most controls, because selection interferes with using the control.

Examples: the text in a menu item, the text in a button, the Unicode x in a close icon, the bar between menus.

This is really noticeable in a few web applications where you can select the wrong thing and it interferes severely with using the UI (I have experienced this with Windows and Android).

Yes, you usually want to be able to select the main text. However many mobile UI frameworks just disable all selection, because that is the easiest way to also disable selection within UI controls (managing this issue is actually quite difficult from my experience writing a HTML UI framework).

Re:Doing work locally minimizes problems with Electron apps by steve1977 on Wednesday June 26, 2019 @02:56AM (#20282490)
In other words, HTML UI frameworks are still far behind native frameworks and actually not really usable yet.
Re:Doing work locally minimizes problems with Electron apps by robocat on Wednesday June 26, 2019 @04:23AM (#20282925)
In other words, poorly written components don't work well: which happens in other GUI toolkits and not just HTML.

Good HTML UI frameworks don't make this mistake.

Re:Doing work locally minimizes problems with Electron apps by steve1977 on Wednesday June 26, 2019 @07:35AM (#20283942)
Are there any good HTML UI frameworks yet?
Re:Doing work locally minimizes problems with Electron apps by robocat on Wednesday June 26, 2019 @01:51PM (#20287366)
So long as you don't want an OS native UI, yes I think so.

For example I use Visual Studio Code every day and the UI seems pretty good to me (panels, menus, tabs, check boxes, combos etc). I am presuming it uses a component framework (although I admit I haven't looked at the source).