Discussion:
[kate] [Bug 401506] New: Kate File Browser Columns No Longer Resizable
obsidian
2018-11-28 14:50:06 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Bug ID: 401506
Summary: Kate File Browser Columns No Longer Resizable
Product: kate
Version: 18.04.3
Platform: Kubuntu Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: kwrite-bugs-***@kde.org
Reporter: ***@bioslevel.com
Target Milestone: ---

SUMMARY
After upgrading to Kubuntu 18.10, I'm unable to resize the columns in Kate's
file browser window under the "detailed" view.

STEPS TO REPRODUCE
1. Open Kate
2. Enable file browser plug-in
3. Switch to detailed view in file browser
4. Hover over column header divider

OBSERVED RESULT
Nothing happens, unable to resize column header.

EXPECTED RESULT
Cursor should change to indicate column can be resized, clicking and holding
should enable resizing of the column.


SOFTWARE/OS VERSIONS
Kubuntu 18.10
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-11-28 19:53:19 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|kwrite-bugs-***@kde.org |***@kde.org
Ever confirmed|0 |1
Status|REPORTED |CONFIRMED
Product|kate |frameworks-kio
Summary|Kate File Browser Columns |[KDirOperator] Detailed
|No Longer Resizable |views don't have an option
| |to turn off automatic
| |column widths
Version|18.04.3 |5.52.0
Component|general |general
CC| |kdelibs-***@kde.org,
| |***@kde.org
Keywords| |usability

--- Comment #1 from Nate Graham <***@kde.org> ---
This was caused by the change to auto-size all columns by default (which is a
better default setting for most views):
https://cgit.kde.org/kio.git/commit/?id=e504bc1fd56412ee7e9748a0dfafa537977ec1b5

Specifically, the change from:

headerView->setSectionResizeMode(QHeaderView::Interactive);

to:

headerView->setSectionResizeMode(0, QHeaderView::Stretch);
+ headerView->setSectionResizeMode(1, QHeaderView::ResizeToContents);
+ headerView->setSectionResizeMode(2, QHeaderView::ResizeToContents);

We should provide a way to turn off this behavior like Dolphin has. As a
workaround, you can switch to Tree View using the two-slider icon above the
file list
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-11-28 19:54:52 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@spharvey.me
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-11-28 20:00:57 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Keywords| |junior-jobs
--
You are receiving this mail because:
You are watching all bug changes.
Thomas Surrel
2018-11-29 14:36:25 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Thomas Surrel <***@protonmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@protonmail.co
| |m
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-12-10 04:48:12 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Version Fixed In| |5.54
Latest Commit| |https://commits.kde.org/kio
| |/f28e343063783c6a0a6b925a39
| |0a1a1a5e10d91c
Status|CONFIRMED |RESOLVED

--- Comment #4 from Nate Graham <***@kde.org> ---
Git commit f28e343063783c6a0a6b925a390a1a1a5e10d91c by Nate Graham.
Committed on 10/12/2018 at 04:48.
Pushed by ngraham into branch 'master'.

[KDirOperator] Don't squeeze Name column when there isn't enough horizontal
space

Summary:
When a `KDirOperator` view is used in {nav Detailed} or {nav Detailed Tree}
view, when there isn't enough horizontal space, the {nav Name} column currently
gets squeezed and becomes illegible.

This patch fixes that by making the name column fixed-width so it never gets
too small to read the contents; instead the view sprouts a horizontal
scrollbar, which is preferable.
FIXED-IN: 5.54

Test Plan:
In Kate's Filesystem Browser plugin sidebar view: {F6466450}

In the open/save dialog when there's not enough horizontal space: {F6466451}

In the open/save dialog when there //is// enough horizontal space: {F6466452}

In this case, the other columns no longer stick to the right size of the view
when the window is resized, which maybe isn't as nice as current behavior. Open
to suggestions.

Reviewers: #vdg, #frameworks, cullmann, cfeck

Reviewed By: cullmann, cfeck

Subscribers: cfeck, cullmann, kde-frameworks-devel

Tags: #frameworks

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

M +1 -1 src/filewidgets/kdiroperatordetailview.cpp

https://commits.kde.org/kio/f28e343063783c6a0a6b925a390a1a1a5e10d91c
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-12-09 19:53:59 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com

--- Comment #2 from Nate Graham <***@kde.org> ---
*** Bug 401807 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Nate Graham
2018-12-10 04:43:57 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401506

Nate Graham <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@kde.org

--- Comment #3 from Nate Graham <***@kde.org> ---
*** Bug 394115 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are watching all bug changes.
Loading...