Bug 196508 - Open/save dialogs never remember the width of the columns and preview size
Summary: Open/save dialogs never remember the width of the columns and preview size
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
Keywords: usability
Depends on:
Reported: 2009-06-14 18:11 UTC by Javier G.
Modified: 2018-04-12 19:43 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.46


Note You need to log in before you can comment on or make changes to this bug.
Description Javier G. 2009-06-14 18:11:43 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Always that I open a Open file dialog or a save file dialog the width of each column is changed. For example when a file name is very log the "name" column is changed by the width of the most long name, hiding me my size and date columns, is very annoying because forces me to change or move the view until I get any of those columns.

And randomly, the image/video preview of the right part of the dialog sometimes takes his own width...
Comment 1 Javier G. 2009-06-14 18:13:10 UTC
I'm using:
Qt: 4.5.1
KDE: 4.2.91 (KDE 4.2.91 (KDE 4.3 >= 20090609))
kde4-config: 1.0

But I can't remember if this happened since always in KDE4.
Comment 2 Michael D 2014-04-22 09:05:30 UTC
This is still a bug in KDE 4.13. Would be nice to if someone dealt with this small but annoying bug.
Comment 3 Michael D 2015-03-26 08:12:39 UTC
This is still a bug in Frameworks 5! I was hoping it would be squashed in KF5. The last annoying bug lives on!
Comment 4 Michael D 2018-04-09 21:46:10 UTC
A duplicate of this bug is bug 354388, but I haven't marked it as such since it seems to me to be more helpful and easier to find than this one.
Comment 5 Nate Graham 2018-04-09 21:48:58 UTC
Not to worry, there's a patch that will fix it, so soon you won't need to find this bug report anymore! https://phabricator.kde.org/D11993
Comment 6 Michael D 2018-04-09 23:35:17 UTC
Fantastic! Thanks to everyone to squashed this!
Comment 7 Michael D 2018-04-09 23:37:16 UTC
*** Bug 354388 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2018-04-10 17:33:52 UTC
Well it's not squashed yet, but hopefully soon!
Comment 9 Nate Graham 2018-04-12 19:43:08 UTC
Git commit e504bc1fd56412ee7e9748a0dfafa537977ec1b5 by Nathaniel Graham, on behalf of Scott Harvey.
Committed on 12/04/2018 at 19:42.
Pushed by ngraham into branch 'master'.

Tweak column widths in tree view of file open/save dialogs

Adjust column sizing options so that "last" column is no longer the largest.
First column (folder/file name & icon) will now occupy the majority of the space but does not compress other columns.
Related: bug 354388, bug 338502, bug 177743, bug 96638
FIXED-IN: 5.46

Test Plan:
- Compile KIO with patch
- Recompile an application (i.e. Kate), ensuring it will include the patched version of KIO
- File -> Open (and/or File -> Save); select Detailed Tree View option
- Check that Name column is the widest and occupies most of the space

Reviewers: ngraham, dfaure, #frameworks, broulik

Reviewed By: ngraham, broulik

Subscribers: #dolphin, cfeck, fabiank, broulik

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D11993

M  +4    -53   src/filewidgets/kdiroperatordetailview.cpp
M  +0    -7    src/filewidgets/kdiroperatordetailview_p.h