[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 60899] New: Kate check remote files overwrite
From: Leif Huhn <leif () dkstat ! com>
Date: 2003-07-08 0:18:36
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=60899
Summary: Kate check remote files overwrite
Product: kate
Version: unspecified
Platform: SuSE RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: wishlist
Priority: NOR
Component: part
AssignedTo: kwrite-devel@kde.org
ReportedBy: leif@dkstat.com
Version: (using KDE KDE 3.1.2)
Installed from: SuSE RPMs
OS: Linux
Kate doesn't check if it's overwriting remote files. I realize this is probably done \
for performance reasons (and maybe because KIO::NetAccess::exists lies) but this is \
BAD.
This difference in behaviour contributes to the feeling of "flakiness" when using \
network transparency under KDE.
The relavent portion of the code is in kdelibs/kate/part/kateview.cpp:
bool KateView::checkOverwrite( KURL u )
{
if( !u.isLocalFile() )
return true;
QFileInfo info( u.path() );
if( !info.exists() )
return true;
The check at the top could be removed and the second part could be changed to
if (!KIO::NetAccess::exists( u ))
return true;
If KIO::NetAccess::exists were a little more trustworthy.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic