[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 303742] After renaming file with name exists in its folder and cancelling folder view does not
From: Frank Reininghaus <frank78ac () googlemail ! com>
Date: 2012-08-13 10:30:35
Message-ID: bug-303742-17878-jK2YRdsYvq () http ! bugs ! kde ! org/
[Download RAW message or body]
https://bugs.kde.org/show_bug.cgi?id=303742
--- Comment #2 from Frank Reininghaus <frank78ac@googlemail.com> ---
The problem is that DolphinView::slotRoleEditingFinished() changes the file
name in KFitemModel before KonqOperations::rename() (the function which does
the actual renaming and shows the dialog if necessary) gets called.
I think there's no good way to find out what KonqOperations::rename() actually
did. I think the best way to fix this might be to check in
DolphinView::slotRoleEditingFinished() if a file with a new name is already in
the model and not call KFileItemModel::setData() in that case. The dir lister
should notify the model then when the renaming has happened.
--
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic