A critic I often heard about KDE applications is that they are usually not correctly sized. I mean: when you start a KDE application for the first time, you often need to resize the window or adjust splitters to get a comfortable user interface.
Back in the old Windows days, people were complaining that they couldn’t resize most of the dialogs, such as the file dialog. We, KDE users, have been able to resize things the way we want for a long time. But while being able to resize is good, not having to resize is even better!
As an example, here is the KMix main window on my laptop on the first start (rm ~/.kde/share/config/kmixrc to check how it looks on your machine):

Not really handy, is it?
After fiddling a bit with the code, here is it what I got:

Probably not perfect yet, but I believe it’s much more usable this way. If nothing goes wrong, I’ll probably commit my changes this evening.
This is not rocket science, changes required to provide correctly sized widgets on first start usually involve reimplementing QWidget::sizeHint() or setting some minimum sizes here and there.
If you want to read a bit more about first impressions, I suggest you have a look at The Blank State, an essay from “Getting Real”, a book by 37signals.
PS: No offense to KMix developers, I just needed an example for this post.
It still looks a bit too wide after the changes. Too much blank space next to the sliders.
Wow, thx. Was waiting a long time for this little fix ( http://techbase.kde.org/index.php?title=Contribute/Bugsquad/KrushDays#KMix ). Please mark this issue as solved as soon as you’ve commited the code.
Thanks & Regards,
Elias P.
@scroogie: Yes, as I said, it’s still not perfect.
@Elias P: Will mark the issue solved, thanks for pointing out, I didn’t know it was in the KrushDay list.
I blame Qt for this frankly. The default size hints on most widgets are just stupid. And eg. listviews don’t even have a sizeHint that depends on the amount of items in them. The default is something like 4 rows. It makes Qt applications look unpolished.
GTK is *much* better at this.
Another issue people complain about is visual clutter. One example of that is the tickmarks and separators in the mixer. The tickmarks are expandable, so they always appear uneven. A vertical separator isn’t a bad idea, but the concept requires a lot of margin space between separators.
Here’s a rough mockup of how the mixer looks without either one:
http://www.marccarson.com/images/mixer.png
A lot simpler (to me) but I guess some people must really like those tickmarks or they’d be gone by now.
Good post!
[...] cura effettuata da Aurelien Gateau è stata volta a razionalizzare le dimensioni predefinite della finestra di dialogo per la [...]
It’s good thing to have option to resize window and sametime bad. Okay, kmix window is good when it is small but bad when it’s on full screen. If it’s just having few sliders.
(sarcasm)
And when user clicks “add widget” on KDE4 desktop, s/he gets small windows where can only see few plasmoids and is needed to resize window to bigger, every time if user dont save settings as special windows setting. I just use MMB to resize window to full size on height.
Then there is open/save dialog what is typically too small by default to have preview (F11) ON. Dialog is needed to resize little bigger but not to full screen.
And most hated things are Konqueror settings panel for plugins and java&javascript so that window dont even fit to my laptop (new one) screen because this has 1280×800 resolution and that settings panel height is about 850px sized. If i dont have compiz-fusion, i just use alt+RMB to move it to get Ok, cancel and Apply buttons.
If i have compiz-fusion, i need to move other desktop (i have wall mode) under current desktop to get hand to those buttons because by default, Compiz-fusion dont allow window top bar go outside of desktop so i cant move it.
What do we learn here? It’s important to allow resizing and sometimes it’s good if resizing isn’t possible
ps. I agree too that Kmix window should be about and not so much empty space.
@Max Howell: Yes, sometimes Qt could be a little more helpful with regards to widget sizes. It reminds me of code I had to write to make sure a QListView width was the size of the largest item.
@Marc: I am not sure the separators should go, but the ticks are useless for sure. There is an option to remove them in KMix configuration dialog, but they should just not be there.
Another interesting option in the configuration dialog is the ability to have horizontal sliders. While it’s a bit unusual for a mixer, it’s quite good because there is no more vertical text and the mute and capture widgets could be replaced with normal checkboxes.
For your information, I just committed the changes.
while we’re at it, the mute checkbox, the slider and the image for every “channel” should all be horizontally centered as well (looks bad otherwise).
Shouldn’t the words “Front” and “PCM” be horizontal, at the bottom of the slider? My guess is most humans can’t read sideways very well. (I know I can’t.) And for aesthetics, you could center the sliders.
See mockup:
http://stashbox.org/70856/Kmix4.png
I’m sorry, in my desire to post a mockup I completely forgot to thank you. Thank you for working on such things! Such small aesthetical improvements do not get as much attention as fancy programs like Kwin and Plasma, but they are just as important – if not more so – on user experience. I applaud your work on the default-size realm!
Ok, here’s an even better mockup for KMix.
http://stashbox.org/70872/Kmix4.png
Changes include:
* Horizontal text for labels
* Checkbox on same line as Mute text (duh!)
* Tick marks limited to 25%, 50%, and 75% points. This makes the tick marks actually useful!
* Better use of space in window, by centering widgets and using full window width.
Any chance of making KMix look like this?
@kwilliam: I like your second mockup a lot. I would just reverse the “mute” text and its checkbox: checkboxes are generally on the left of their text.
I don’t like vertical text either, but one thing must be kept in mind though: sound cards come in lots of different flavours: in my case the displayed sliders all feature short texts, but some other sliders can have much longer texts. This can be a problem if the text is horizontal as it would use quite a lot of horizontal space… unless you use horizontal sliders.
Aurélien: you should move to the Oxygen/Visual UI steering team! Thanks for taking care of this aspects of the desktop.
!
The looks *do really matter* for every user (even the functionality is important but that is taken as granted
You simply Rock
@Enrico Ros: Thanks!