https://bugs.kde.org/show_bug.cgi?id=319700

David Faure <fa...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.78
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kio/commit/61912633c
                   |                            |fc7792b4a3e905ea601318d9e3e
                   |                            |85d2
             Status|CONFIRMED                   |RESOLVED

--- Comment #7 from David Faure <fa...@kde.org> ---
Git commit 61912633cfc7792b4a3e905ea601318d9e3e85d2 by David Faure, on behalf
of Ahmad Samir.
Committed on 12/12/2020 at 10:43.
Pushed by dfaure into branch 'master'.

KUrlNavigator: resolve relative dir paths

When the current url is e.g. /path/to/foo/, and the user replaces all the
text in the url box with "folder", which happens to be a dir in /path/to/foo/,
upon pressing Enter, we resolve the text to /path/to/foo/folder; this seems
more useful.

Hide the new method, uncommittedUrlAsync(), in the d-pointer; the original
method, ucommittedUrl(), doesn't seem to be used by any KDE code other than
the KUrlNave unit tests, but that can still work if we make it a member of
the Private class and make the unit test a friend... etc; the public
uncommittedUrl() should probably be deprecated.

Add a unit test.
FIXED-IN: 5.78

M  +48   -0    autotests/kurlnavigatortest.cpp
M  +2    -0    autotests/kurlnavigatortest.h
M  +55   -22   src/filewidgets/kurlnavigator.cpp

https://invent.kde.org/frameworks/kio/commit/61912633cfc7792b4a3e905ea601318d9e3e85d2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to