News for hackers. Stuff that matters.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by Svip on Saturday December 17, 2022 @08:55AM (#34027754)
I wonder where this trend - fortunately a limited one - with putting confirm buttons at the top comes from? Humans naturally read from top to bottom. It naturally follows that the final action in any UI should be at the bottom.

I find these buttons at the top extremely confusing, as I often - from my experience with reading - after I've dealt with the subject at hand (in this case, picking a file), assume the natural place to confirm my choice would be after it (i.e. below it).

What are the UX arguments for placing the confirm buttons at the top of a dialog?

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by butz on Saturday December 17, 2022 @09:38AM (#34028082)
You forgot to mention, that filename entry field is also in the middle of titlebar. While that might help to defend placing "Save" button next to it on the right, but now all primary save dialog functionality is contained in titlebar. Folder selection is clearly separated and made secondary action. It would be interesting to see usage statistics, how many users save files without selecting folder first.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by justsomehnguy on Saturday December 17, 2022 @01:14PM (#34030498)
Sadly there would be no stats for people screaming obscenities to authors of this... dialog, because they tried to move the dialog but instead got to the filename editbox.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by HeckFeck on Saturday December 17, 2022 @08:59AM (#34027784)
They give us what we wanted after years of pleading, but we pay dearly and mercilessly in other ways. Truly Faustian.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by nine_k on Saturday December 17, 2022 @10:55AM (#34028827)
I wonder how feasible would it be to support a fork that added that feature. It seems self-contained enough to not require any public API changes. Just building the GTK source with some flag would turn on that feature, and dynamically linking against that GTK lib.so would make the thumbnails view accessible to the user.

Did anybody care enough to try?

(I personally don't; I use the file manager for any views I want, and drag the files from it onto an app, or onto a file chooser dialog. That feature, which is also present in macOS, was very much worth reproducing.)

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by traverseda on Saturday December 17, 2022 @11:50AM (#34029512)
Gtk-mushrooms was one such fork, but I think gnome will make it pretty hard to maintain a fork if one starts getting popular.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by yoavm on Saturday December 17, 2022 @08:58AM (#34027777)
It takes less vertical space because it reuses the (mostly empty) title bar.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by VyseofArcadia on Saturday December 17, 2022 @09:06AM (#34027839)
I loathe applications that put controls all over the title bar.

The title bar is supposed to be a mostly empty expanse that you can grab with a mouse. Now it's littered with controls, and I can hardly bring windows to focus or move them around without accidentally searching something or confirming something.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by sovnade on Saturday December 17, 2022 @09:39AM (#34028090)
Agreed - especially if I'm remoted into a box and not necessarily running a full-resolution screen. Bad UI design is magnified when you're at 1024x768.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by aragilar on Saturday December 17, 2022 @11:40PM (#34035104)
I find it somewhat ironic given current GNOME that when I was choosing between GNOME 2 or KDE 3 back in the day, GNOME 2 won as bits wouldn't float off my screen...
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by phkahler on Saturday December 17, 2022 @09:33AM (#34028054)
+100 couldn't agree more. And it's not a rational decision, it's a UI trend.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by davet91 on Saturday December 17, 2022 @09:44AM (#34028135)
With GTK you can at least drag the window by grabbing controls in the titlebar.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by drdo on Saturday December 17, 2022 @10:28AM (#34028499)
At least on gnome you can drag or resize a window from anywhere by holding Super.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by nine_k on Saturday December 17, 2022 @10:34AM (#34028567)
And you can, of course, reassign that key.

Resizing takes grabbing an edge though.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by tadfisher on Saturday December 17, 2022 @05:46PM (#34033070)
Alt+drag by default, but I remap it to super in dconf.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kroltan on Saturday December 17, 2022 @11:41AM (#34029380)
I used to agree, then I moved to Linux (KDE specifically) and found out I could set my DE up so Super+LMB anywhere on a window moves it, and Super+RMB resizes it, it's is way more convenient, I haven't found myself using the title bar any more.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by tmdh on Saturday December 17, 2022 @12:17PM (#34029814)
But using the title bar is what most of us are used to.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by justsomehnguy on Saturday December 17, 2022 @01:22PM (#34030583)
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by Sakos on Saturday December 17, 2022 @03:20PM (#34031821)
Discoverability rears its head. I don't see how moving that functionality into some obscure button combination is better than obvious behavior.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kroltan on Saturday December 17, 2022 @04:56PM (#34032656)
I'm not advocating for this to become the default functionality across the world for everyone, it's definitely very opt-in.

In that case you don't need discoverability for something you set up yourself.

It's also very fun to play with when using the Wobbly Windows effect, you can stretch them in different ways depending on where exactly you picked the window up from.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by iso1631 on Saturday December 17, 2022 @03:57PM (#34032159)
I have Alt-LMB for moving, but that all falls to pot when I remote into another machine -- alt-lmb moves my rdp/vnc/browser, not the one in the screen I'm connected to.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by layer8 on Saturday December 17, 2022 @07:48PM (#34033904)
Title bars also serve to more quickly recognize where windows are. If every application fills up the title bar with different stuff, it becomes harder to “parse” where windows are on the screen. There is an inherent benefit in windows having uniform “chrome”.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by Sakos on Saturday December 17, 2022 @03:19PM (#34031814)
It annoys me particularly when I want to move a Firefox window. I have to find that one tiny spot that still allows me to move the thing.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by doublepg23 on Saturday December 17, 2022 @03:47PM (#34032064)
I was under the impression this was controllable.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kevincox on Saturday December 17, 2022 @09:31AM (#34028034)
As opposed to the space in the mostly unused bottom bar?
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by tveyben on Saturday December 17, 2022 @09:15AM (#34027901)
Less space on a UHD monitor (meaning these days we have enough pixels). In the 640x480 px days then it might made sense to really squeeze btn’s in…
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by seba_dos1 on Saturday December 17, 2022 @09:12AM (#34027883)
Minimizing used space is often (usually?) at odds with good UX, so I guess the actual question is: why is minimizing vertical space even a goal there?
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by pmontra on Saturday December 17, 2022 @10:22AM (#34028453)
The 16:9 screens. Once upon a time they were called widescreens because many people were used to small (in inches) CRTs or LCDs (even with square panels.) Basically they were 12:9 and those 4 extra units on the horizontal axis become real extra space. Unfortunately most people only got 768p screens on their laptops while all TV sets had 1080p and some of the old monitors were 1024p or 1200p. So "less vertical space". And then when you have a 13" laptop you don't have much vertical space no matter the resolution.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by seba_dos1 on Saturday December 17, 2022 @10:32AM (#34028533)
We're talking about things like dialog windows that don't take much vertical space even when putting all confirmation buttons in separate rows; this is a set of applications that often easily fit on half the screen. I know what you're talking about, I'm writing this on a laptop with 13" screen and I'm using a browser with vertical tab bar for a reason, but this isn't that case.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by dmitriid on Saturday December 17, 2022 @09:59AM (#34028257)
Ah yes. Instead it pollutes the title bar with multiple things with wildly different behaviours with no error margin

"less vertical space" so let's have a hamburger menu on a desktop screen. Right next to the window close button.

"less vertical space" so let's have a tiny search icon right next to the select button

"less vertical space" so let's have search consistently in the left corner, no in the middle, no to the right

"less vertical space", so let's have tabs, buttons, icons, and hamburger menu in one row. There's no space for the actual title or little space to drag the window? But THERE'S LESS VERTICAL SPACE ENJOY

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by nextaccountic on Saturday December 17, 2022 @10:46AM (#34028714)
> "less vertical space" so let's have a hamburger menu on a desktop screen.

hamburger menu on desktop should be abolished

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by andrepd on Saturday December 17, 2022 @09:05AM (#34027836)
>Humans naturally read from top to bottom. It naturally follows that the final action in any UI should be at the bottom.

Pretty bold of you to assume such thought process occurred at any point during design. Someone just thought "this looks good", where good may mean "modern-looking", "trendy", or "looks great on a screenshot for a product page", and slapped the button there.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by dmitriid on Saturday December 17, 2022 @09:48AM (#34028169)
I call this dribbble-driven design. Looks good on a heavy photoshopped screenshot, ship it
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by znpy on Saturday December 17, 2022 @08:58AM (#34027771)
> I wonder where this trend - fortunately a limited one - with putting confirm buttons at the top comes from?

it comes from gnome developers wanting to do things different for difference's sake.

it makes no sense and brings no advantage. truly an unnecessary change.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by bonzini on Saturday December 17, 2022 @09:40AM (#34028095)
I think it comes from Apple and Android actually.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by 323 on Saturday December 17, 2022 @10:14AM (#34028381)
> I wonder where this trend - fortunately a limited one - with putting confirm buttons at the top comes from

Original small screen iPhone, where it's easier to reach the top than the bottom, and it's less likely to be an accidental touch.

But now it's cargo-culted everywhere.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by nine_k on Saturday December 17, 2022 @10:29AM (#34028507)
I wish Gnome did not try so hard to be macOS. If I wanted to use macOS, I'd get me a Mac.

But I see that the other Unix machine most Gnome developers use is a Macbook, so they try to make things familiar, because they sort of like that UI. (Those who don't but still want a coherent desktop can pick KDE.)

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by shrimp_emoji on Saturday December 17, 2022 @10:38AM (#34028603)
It's not even macOS; it's iOS. It's a GUI for phablets and phones.

Fortunately, I think more projects are abandoning GTK than onboarding it thanks to GTK's horrible documentation, instability, opinionatedness, and simply how much better Qt is to develop for[0], which I can only hope will gradually de-throne GNOME as "the default DE".

0: https://en.wikipedia.org/wiki/GTK#Criticism

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by nine_k on Saturday December 17, 2022 @11:01AM (#34028898)
GTK is pure C, while Qt is C++. It's both a blessing, and a curse.

E.g. I did not write, but just looked through the hoops PyQt has to jump to interface with Qt nicely. Quite impressive.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kitsunesoba on Saturday December 17, 2022 @11:29AM (#34029204)
Qt being a pain to bind (and thus having few high quality bindings) is definitely a big reason why I’ve avoided it. I don’t really want to be writing UI in C++.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kaba0 on Sunday December 18, 2022 @05:02AM (#34036338)
In my opinion not using managed languages is a huge hindrance to these platforms.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kitsunesoba on Saturday December 17, 2022 @11:28AM (#34029191)
Yep; as I’ve said before GNOME is what you’d get if you tried to clone iPadOS and turn it into desktop OS.

It still feels more polished and accessible overall than alternatives though, and so it will probably continue to be “the default DE” for the foreseeable future.

KDE has the most potential to replace it, but I think its configuration is still intimidating (to the point that you regularly see people ask which KDE distros have good defaults), as well as quirks you don’t see anywhere else, like turning file copy dialogs into notification toasts. It’s technically functional but comes off as weird.

The other GTK DEs (XFCE and Cinnamon) I think are in a better place in terms of their settings panes not being scary and generally feeling well designed, but lack resources.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by seba_dos1 on Saturday December 17, 2022 @11:53AM (#34029546)
> like turning file copy dialogs into notification toasts

That's a great thing that I'm surprised other DEs don't do. Works really well for file downloads too. It makes intuitive sense and the fact that finished state is retained in notification history is such a helpful thing that genuinely improves user experience for someone with such a poor working memory as mine that it's really weird to see someone calling it weird.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kitsunesoba on Saturday December 17, 2022 @12:00PM (#34029629)
I don’t mind seeing completions in my notifications and having the option to show progress in notifications is fine, but I also want the option for a boring old dialog, preferably with the ability to expand and show a high level of detail (think Windows file copy dialogs) that isn’t practical in a notification bubble.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by seba_dos1 on Saturday December 17, 2022 @12:13PM (#34029764)
> preferably with the ability to expand and show a high level of detail (think Windows file copy dialogs) that isn’t practical in a notification bubble.

Why do you think it's not practical? That's what Plasma offers already and I'm using it often.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by rhaway84773 on Saturday December 17, 2022 @12:19PM (#34029837)
I really hope that’s not the case. GTK4 is highly polished and getting better.

Even if for the sake of argument we accept that Gnome/GTK’s UI choices are poor, the consistency across applications elevates the overall experience.

If, for example, you disagree with the placement of buttons, you know that all the GTK buttons will have the button in the same place which greatly reduces cognitive load.

The same is, unfortunately, not true of other Linux UI kits.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by smoldesu on Saturday December 17, 2022 @12:39PM (#34030087)
> you know that all the GTK buttons will have the button in the same place

This is vehemently untrue. You know that all GNOME applications will have the buttons in the same place (GNOME writes their own HID) but GTK doesn't have an HID. GTK is simply a GUI toolkit, I can put my topbar at the bottom of my window if I want. It's not 'correct' but I can still do it and ship my application.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by smoldesu on Saturday December 17, 2022 @04:18PM (#34032337)
Edit: s/HID/HIG
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by pantalaimon on Saturday December 17, 2022 @12:00PM (#34029621)
Sometimes I wish Mate would have also forked GTK2. GTK3 is just heavier in general and going forward, GTK4 seems to be even more Gnome focused, so a fork might become inevitable anyway.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by smoldesu on Saturday December 17, 2022 @12:43PM (#34030130)
From a developer standpoint, I actually really liked how composable GTK3 was. It's fair to complain about the stylesheets and the funky touch-centric interface, but it did still let you build GTK2-style apps. It was full of weird/nice features and felt like a decent iteration on GTK2. GTK4 has been a waking nightmare in comparison, and I'm not sure why they feel obligated to throw out so much of the previous toolkit.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by otsaloma on Saturday December 17, 2022 @12:17PM (#34029808)
As a developer of a couple GTK apps, I look at the deprecations in GTK4 and GTK5 with horror. At least one app I'm going to stop maintaining latest with GTK5.

GIMP still doesn't have stable release out with GTK3. Inkscape took a long time. I bet both will have great trouble in the future. It seems we're moving towards GTK apps being either core GNOME (maintained as paid work by Red Hat) or trivial little apps like on mobile (either simple to port or just short-lived). Everything else will slowly die out.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by TingPing on Saturday December 17, 2022 @02:54PM (#34031518)
As a developer of a couple GTK apps I really like the direction the project has gone in. Its a more flexible and performant toolkit than ever before.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by nine_k on Saturday December 17, 2022 @04:08PM (#34032259)
Gimp switching to FLTK or Elementary / Enlightenment would be a fun thing. (I suppose it will never pick up C++ in the code base, so not Qt.)
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by CharlesW on Saturday December 17, 2022 @12:00PM (#34029632)
> Original small screen iPhone, where it's easier to reach the top than the bottom…

With phones, it's always been easier to reach the bottom. This is why tab bars have always been at the bottom. This is why soft keyboards have always been at the bottom. This is why Apple moved Safari's controls to the bottom by default.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by rhaway84773 on Saturday December 17, 2022 @12:10PM (#34029735)
The bottom of the phone is incredibly hard to reach in single handed operation while also holding the phone.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by cstrahan on Saturday December 17, 2022 @12:39PM (#34030086)
I think most people (myself included) hold the phone with the bottom resting in their palm (and often further supported by their pinky/little finger).

Do you hold your phone from the top, with the bottom ending unsupported and hanging out? And if so, why?

Obvious downsides: if you loosen your grip then the phone will fall to the ground; you can’t reach the on screen keyboard.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by BenjiWiebe on Saturday December 17, 2022 @12:30PM (#34029973)
How are you holding your phone? I'm typing this comment one-handed using a soft keyboard on the bottom of my phone. My thumb actually cannot reach the top of the screen without shifting the phone to a different grip.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by layer8 on Saturday December 17, 2022 @07:39PM (#34033849)
GP is not saying that the top is easier to reach than the bottom. Reaching to the very bottom of the display one-handed is still straining, compared to the Home button iPhones.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by mook on Saturday December 17, 2022 @01:49PM (#34030850)
> With phones, it's always been easier to reach the bottom.

The _original_ iPhone is tiny by today's standards. It's 15% shorter than a current iPhone SE, with a relatively huge chin. At that point the top corner is where the thumb is when it's straight up.

https://www.phonearena.com/phones/size/Apple-iPhone-SE-2022,...

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by uhura on Saturday December 17, 2022 @01:59PM (#34030940)
The comment mentions original iPhone screens. They were 3.5" and we hold phones differently because of the sub 4" displays.

The idea back then was maybe to separate the confirm action from other actions located at the bottom bar.

Human Interface Guidelines changed a lot as Apple changed the iPhone form factor. But with a 3.5", most of the screen is "uniformly" reachable and the bottom is slight less reachable as you usually need to flex the thumb.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by DiggyJohnson on Saturday December 17, 2022 @03:11PM (#34031738)
Not to mention the lack of top and bottom bevels that we only still find on the iPhone SE (3rd gen) now.

Maybe I’m an outlier, but it’s been over a year and I still don’t like how in accessible the top and bottom of the screen on my 13 mini are for one handed use. I swipe to text one handed, but pressing the numbers its emoji button requires serious contortion and dexterity. Maybe the fact that I tend to use my left hand (despite being a righty) contributes to this.

Anyone else agree?

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by CharlesW on Saturday December 17, 2022 @06:27PM (#34033359)
I don't have a problem reaching the bottom of the screen, and also generally use my left hand for one-handed use. The phone rests on my pinky, with the middle three fingers supporting the body.

If you use your phone one-handed often enough, iOS Reachability works pretty well: https://support.apple.com/en-ca/guide/iphone/iph145eba8e9/io...

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by layer8 on Saturday December 17, 2022 @07:37PM (#34033839)
It’s doable, but it’s certainly more straining than on the Home button iPhones. The same goes for the bottom swipe that activates Reachability.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by layer8 on Saturday December 17, 2022 @07:34PM (#34033814)
Yet Next, Back, Done, Cancel, etc., are at the top on iOS, for some reason.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by canucker2016 on Sunday December 18, 2022 @04:26AM (#34036207)
Please read https://www.smashingmagazine.com/2016/09/the-thumb-zone-desi...

Read the second section, labeled "Thumbs vs Touchscreens", which shows the sweet spot for accessing content via left or right thumb or both. The lower corner closest to the base of the thumb is hard to reach. Unless the user was using both thumbs, placing target UI in one of those corners would hurt one-handed users.

Also note which areas are labeled as HARD to reach for either/both thumbs - the location where GTK4 has placed the main buttons in the File Chooser dialog.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by mattkevan on Saturday December 17, 2022 @02:13PM (#34031090)
As a ux designer, putting the confirm button at the top right is madness. I can’t comprehend the thought process that led to it being put where the close action usually goes.

I’d love to watch an eye tracking study of it in use.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by dig1 on Saturday December 17, 2022 @02:34PM (#34031304)
When Windows 95 came, (if I'm not wrong), it had an accompanying HIG book backed by actual research - I think their main inspiration was book pages, but I can't be 100% sure. OK (Confirmation) intentionally was on the left side, far away from accidental click, assuming this is a destructive, irreversible operation. "Cancel/Close" on the other hand, is closer for most users (right side), and it will just close the window.

Making Confirm/Cancel buttons this way makes no sense. I'll assume they added this just because it looks cool, as someone mentioned as well.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by layer8 on Saturday December 17, 2022 @07:53PM (#34033941)
I wonder if this is designed by primarily laptop users. They may conceivably prefer buttons at the top because it’s closer to the center of their field of view.

Of course, laptops used with their builtin display and keyboard are a usability disaster already, so that shouldn’t be a criterion.

Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by kaba0 on Sunday December 18, 2022 @05:12AM (#34036371)
For what it worth, gnome is very good to use with a trackpad, swiping left-right to switch between desktops is very smooth, probably the best laptop experience out of any OS/DE.
Re:GTK File Chooser Dialog gets a thumbnail view after 18 years by richajak on Monday December 19, 2022 @06:54AM (#34051071)
As I use XFCE as my daily driver, I never understand why the buttons in file dialog located as such.

Is it decision from GTK or XFCE team ? I almost put the blame on XFCE team for this, :-(

Can app devs who use GTK library overwrite this style?