Review Request 127138: Konqueror: Fix window title showing as "/" when URL ends with that

Jonathan Marten jjm at
Tue Feb 23 11:46:05 GMT 2016

This is an automatically generated e-mail. To reply, visit:

(Updated Feb. 23, 2016, 11:46 a.m.)


This change has been marked as submitted.

Review request for KDE Base Apps and David Faure.


Submitted with commit f868ba3b34b4f55111c3b6fb1ff0e6bcaa1d2797 by Jonathan Marten to branch frameworks.

Repository: kde-baseapps


This happens when a local file URL which ends in "/" is navigated to.  For example, going to "/home/user" correctly shows "user" as the window title, while going to "/home/user/" shows "/" because the fileName() of that URL is empty.  This happens in particular when using the "Up" action, as it goes from "/home/user/foo" to "/home/user/".

This change ensures that trailing slashes are removed from URLs before using fileName() on them.


  konqueror/src/konqview.cpp 3707c7a 



Built kde-baseapps with these changes, observed correct display of base name in Konqueror window title while navigating.


Jonathan Marten

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the kde-core-devel mailing list