Hacker News new | ask | show | jobs
by msbarnett 2439 days ago
> If i implement my own editor using sdl2, how will it know? Are you sure it's not just cocoa specific? If that's the case it's possible for gtk too.

Of course it’s system textbox specific; if you reimplement your own, there is no magic involved.

And obviously it’s possible in GTK. And KDE, and one-offs like Firefox, for that matter. I’d suggest that the fact that you have to do it in about 20 different ways to cover your common apps, and a few will not even offer this kind of configuration, is net-worse than the OS which makes this so easy because there’s a standard GUI toolkit that nearly everything uses.

This doesn’t mean “Linux Bad, OS X Good”, but it is indicative of the fact that “Linux is configurable and OS X isn’t” is a very poor descriptor of reality.

Configurability is a complex topic with a lot of different facets, and both OSes offer different ranges of ease of configurability in different areas.

ColanR made the extraordinary claim that, ostensibly because he uses i3, “it would be (relatively) super easy to change the keybindings around to <command for gui interactions as a rule of thumb, readline bindings everywhere there's text entry>”. This is a very typical Linux user’s response in which they very narrowly equate mac keybindings with “window manager configuration”, when the flexibility offered by the system is in reality much broader than that.

1 comments

Well, the point is all of this problem is there in osx too, since GTK, Qt, sdl2 and custom made windowing toolkit can all run in osx.

I know atleast a few programs that people use on osx which break these conventions, hence it's not as universal as your proclaim.

Unless you run only their store apps on your computer(which most likely no developer does), then maybe what you say makes sense. Otherwise it's not better than linux distros like elementary OS where convention is also to use gtk only apps(similar to cocoa only).

> Unless you run only their store apps on your computer(which most likely no developer does), then maybe what you say makes sense. Otherwise it's not better than linux distros like elementary OS where convention is also to use gtk only apps(similar to cocoa only).

This is, frankly, horseshit.

I run a lot of non-store apps, and absolutely none of them are GTK based, because GTK apps on OS X run through X Windows and look and work like dogshit. Next to nobody is voluntarily running that garbage.

Qt uses native text widgets, and works with the default input customization just fine. I can’t even begin to think of a development app that would be written in sdl2, a bloody games API.

Very, very few apps commonly in use by devs on OS X use anything other than native widgets, and it’s ridiculous to suggest otherwise.

The situation is a far, far, laughable cry from elementary OS, because outside of a small limited set of apps specifically targeted at such a niche distro, most Linux apps are still written in a hodgepodge of inconsistent wheel-reinventing mess of incompatible toolkits. The situation is night-and-day in inconsistency compared to OS X.

> I can’t even begin to think of a development app that would be written in sdl2, a bloody games API

A lot of games do, some even have their built-in editor and it's not about sdl2, it's anything custom widget toolkit. So your thing is a nice convention which often works but not always.

> laughable cry from elementary OS, because outside of a small limited set of apps specifically targeted at such a niche distro

Small limited set? a lot of programs are already written with gtk, distro merely enforce this convention in their app store like apple does.

I am not going to bother commenting on obvious things about how consistent OS X is.