73 points · by torstenvl · 2y ago · 78 comments
Things are going to get much harder as the Gtk foundations keep being eroded away by the GNOME people removing features and options from Gtk. And they're basically hard coding in wayland spec now, no considerations for X.
The Gtk based DEs like XFCE/MATE/Mint/etc need to band together and fork/mantain Gtk3 if they have any hope of surviving long term or even fixing the multiple bugs introduced by progressive removal of Gtk features (like the 2014 breaking of gtkfilechooserwidget.c so you can't paste in file paths).
The Thunar of today's auto-sized column behaviour irks me, I always end up with a horizontal scrollbar even though the content doesn't actually extend beyond the view. Can't think of anything else buggy. I think I first used XFCE in 2018, but it must have been spectacular in 2014.
> XFCE/MATE/Mint/etc need to band together and fork/mantain Gtk3
I'm curious if you have any reason to think that the people working on these projects have any interest in forking Gtk? They are using it (as is?), presumably they aren't that unhappy about it.
> the multiple bugs introduced by progressive removal of Gtk features
It really annoys me when software updates break my workflow, but it's easy to see how "add new shiny thing" (= progress) often wins out over "tread carefully" (= stagnation). The way you are referring to such changes as bugs is misleading though.
The deprecation and removal of keyboard inputs literally results in a bug that generates an error message, https://gitlab.gnome.org/GNOME/gtk/-/issues/5872
This is a microcosm for the Gtk3/4 pivot to mouse only as a whole: they don't care about the bugs caused for people who use keyboards. And DE's like XFCE/MATE/etc are unable to fix these bugs because they're Gtk bugs.
> This is a microcosm for the Gtk3/4 as a whole.
Is it? Where is the war on keyboards? Where is the resistance to working patches? Where is the ignored justification for your preferred behaviour?
There are various alternatives to Thunar. For instance I am using Xfe, which was much better than Thunar some years ago and I doubt that Thunar has been improved meanwhile.
Thunar has always been much buggier than other components of XFCE. About 6-7 years ago Thunar had a horrible bug. Sometimes when deleting a directory, it deleted the parent directory of the selected directory, instead of the selected one. This could easily lead to great data loss.
Except for Thunar, I have never encountered any serious bug in XFCE.
I don't think it was drastically different, but at least it supported alternating row colors ;)
GTK often gets selected over Qt because it’s so much easier build high quality idiomatic language bindings for, has a good selection of widgets out of the box, and doesn’t rock the boat following a plain old imperative model like has been used for ages.
With that in mind, there’s probably room for a new imperative UI framework that’s designed to be easy to bind to and is highly “batteries included”. It wouldn’t aim to be revolutionizing anything, but would let you build things with minimal fuss or churn on your terms (with allowance for well-defined “happy paths”, of course).
What features and options of GTK have been eroded by GNOME?
Do you really think XFCE, MATE, and Mint have resources to maintain a GTK fork? Why don't you maintain the GTK fork? GTK maintenance is partially paid for by Red Hat and Endless, among a few other organizations.
I think it is really interesting how every time GNOME and GTK get mentioned on this site, you are quick to post negative comments.
I’ve been hearing for years that Wayland is the future and X is deprecated but it doesn’t match my reality.
Software being deprecated doesn't mean it just stops working. You can use the programs and the versions that you've installed right now and continue to use them for decades to come, but if you upgrade to newer versions you may start losing out on new features or run into bugs if you stick to X.org.
The primary features I'm missing focus around the way GNOME developers believe files should be interacted with. They believe the file chooser should be a search interface and making things like pathbar the only option and removing filename-entry, and the entire gsettings for it, are part of this. GNOME developers have drastically changed the GUI for file selection so that typing, pasting, or entering filepaths has been made difficult. Everything has to be done through the automagic "search" (which often bugs out) or mouse interface. This would be fine as defaults, but they've literally removed the former options in gsettings to config a gtk application's behavior. They say these are "private" and we should never have been using them all. All bugs since 2014 marked "wontfix" and community patches rejected. Basically, GNOME is anti-keyboard.
I think that the gross changes to Gtk3 over the past 10 years have been minimal and that yes, a group of a dozen people could maintain it in it's static form and prevent further eroding of features. I compile my own Gtk3 with fixes for the gtkfilechooserwidget.c that have been rejected by the Gtk team ("gtk3 is frozen" "filechooser is too much spaghetti, any change fixing one thing would break another"). Maybe even apply some of the many community fixes that the GNOME developers consistent reject and ignore (just look at the Arch Gtk3 fixes patch set). Can they develop and add new features like new renderers and support for Wayland? No, but that is not needed.
I don't appreciate you turning this into a personal issue, that's generally against HN tos.
It shouldn't be too difficult to fork the project and produce drop-in libraries for projects based on GTK+2/3 with patches applied. Through the desktop portal API, these changes would even apply completely transparently for windows like file pickers.
There's such a big online crowd clearly voicing their opposition to the direction GNOME is taking GTK and other software, I don't get why these people don't just get together, set up a website and a forum somewhere, and split off to do the things GNOME doesn't want to do.
There's a reason people still prefer X11 and it has nothing to do with ideology or theory.
I do expect that to change. Someday...
I've tried a fair bit of troubleshooting with no luck and eventually given up on getting it running on XFCE.
I use KDE these days largely because it was easier to get a tiling extension working. I also use a lot of KDE apps so I get the slightly better integrated too.
What really bit me with wlroots (which seems to be the choice of XFCE also) is the input-method protocol: wlroots has v2 implemented, but Qt has v1, v3 and v4 implemented, which makes me laugh to this day - so Qt simply doesn't work wlroots, when it comes to this protocol (to add insult to injury, v4 specification seems to exists in a dead feature branch only that hasn't been touched since years, in the wayland protocols repo).
Oh well...
Rustdesk has Wayland support, but that project has all kinds of weird code smells. Hopefully other projects will take inspiration and implement Wayland support as well, though.