Remix.run Logo
▲ donatj 3 hours ago

The utter state of modern desktop software is absurd.

I was talking with a non-technical friend who is trying Linux for fun. I was helping him run something in the terminal, I don't remember what specifically, and he asked me "Why don't they just add a GUI?" to the cli tool we were using.

That "just" does so much heavy lifting. One does not "just" add a GUI. What was once a small, self-contained piece of software becomes a sprawling tangle of GUI initializations and resize handling and state handling with a little bit of actual functionality tucked away inside.

It's such a shame. It really shouldn't be so complicated to develop a GUI that it's easier to bundle an entire freaking browser engine than manage a simple UI.

▲cowlevel 2 hours ago | parent | next [-]

It wasn't always that hard. VB made it really easy, but it was already quite reasonable in Win32 with a dialog resource editor - not a lot worse than some programs' command-line argument parsing.

However, for some reason, only Microsoft got it right???

I partially blame responsive design. It's so much easier to just put the visual elements in the exact layout you want (absolute positioning) than to make sure it works on all different screen sizes, but we spent years preaching that absolute positioning was the devil.

Blame also lies on all the Linux GUI frameworks for being crap.

Blame also lies on the "bucket of parts" Linux philosophy - Linux IDEs aren't nearly as integrated as Visual Basic was, since their dialog editor (if they have one) is a bolt-on to your existing process, and never something you have to use, and also the file format has to be compatible forwards and backwards and with forks. It has to be buildable headless which usually means generating a C++ source file which means you have to be able to edit the source file and the tool has to deal with that.

Blame also lies on the movement away from standardized GUI widgets, driven by the post-CSS web. These editors are good at laying out widgets, not at drawing random bitmaps everywhere.

▲WillAdams 3 hours ago | parent | prev | next [-]

For Python code there is of course:

https://docs.pysimplegui.com/

and since flet.dev hit 1.0, I've been using it a lot --- I just wish that there was a visual mode which would allow directly editing/re-arranging which would then update the code (sometimes it feels as if it would be easier to visually adjust than find the correct point in the code and change a number or look up, then introduce a new parameter, then re-load).

c.f.,

https://www.folklore.org/Calculator_Construction_Set.html

▲fschuett 2 hours ago | parent | prev | next [-]

I made https://azul.rs/ui but it's not perfectly ready yet.

But it only started to be "usable" (forms, dialogs, etc.) at the beginning of October this year (started in 2018).

▲anthk 3 hours ago | parent | prev [-]

TCL/Tk.

▲sigzero an hour ago | parent [-]

Yup, I did this with Tcl/Tk all the time. Little one off UIs for things I did often.