Bug 303375

Summary: Dots in directory names treated as file extension separator when renaming
Product: [Applications] dolphin Reporter: Janek Bevendorff <kde>
Component: generalAssignee: Frank Reininghaus <frank78ac>
Status: RESOLVED FIXED    
Severity: minor CC: emmanuelpescosta099
Priority: NOR Keywords: reproducible, usability
Version: 2.1Flags: kde: Usability+
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.9.0
Attachments: bug fix diff for bug 303375

Description Janek Bevendorff 2012-07-11 16:12:51 UTC
When renaming a folder that has a dot in its name Dolphin treats it as a file extension separator and only highlights the part before it.

Reproducible: Always



Expected Results:  
Dots in folder names should not be treated any special when renaming them.
Comment 1 Frank Reininghaus 2012-07-12 09:30:09 UTC
Thanks for the report, I can confirm this issue.
Comment 2 Jekyll Wu 2012-07-12 12:31:00 UTC
related with commit 6207525f  for bug 301893
Comment 3 Emmanuel Pescosta 2012-07-14 23:36:17 UTC
Created attachment 72528 [details]
bug fix diff for bug 303375

This patch fixes the problem. Also rename selection of files without mime-type is fixed (actual upstream state: no selection ->state with patch: whole file name is selected)
Comment 4 David Faure 2012-07-20 10:08:32 UTC
Git commit 379d94eab637ebb1a9a0c78f4b5e8ab345af6460 by David Faure.
Committed on 20/07/2012 at 12:09.
Pushed by dfaure into branch 'KDE/4.9'.

Fix bug 303375 - Dots in directory names treated as file extension.

Patch by Emmanuel Pescosta <emmanuelpescosta099@gmail.com>
REVIEW: 105575
FIXED-IN: 4.9.0

M  +31   -0    dolphin/src/kitemviews/kfileitemlistwidget.cpp
M  +5    -0    dolphin/src/kitemviews/kfileitemlistwidget.h
M  +8    -16   dolphin/src/kitemviews/kstandarditemlistwidget.cpp
M  +13   -0    dolphin/src/kitemviews/kstandarditemlistwidget.h
M  +3    -1    dolphin/src/views/renamedialog.cpp

http://commits.kde.org/kde-baseapps/379d94eab637ebb1a9a0c78f4b5e8ab345af6460