Version: (using KDE KDE 3.5.1) Installed from: SuSE RPMs OS: Linux Extensions are always used as small letters in Linux. Therefore the Konqueror Ark context menu correctly shows in its "Compress As" menu a suggested archive file name with the extension .zip with small letters. But if I click on that item to create a zip file, it is created with extension in capital letters - .ZIP -- so. Though this is just a small bug, for consistency and neatness and conformance to expected behaviour, it should be corrected. This was observed in the Ark 2.61 that comes with KDE 3.51, but not in Ark 2.52 with KDE 3.4.
I can't reproduce this. I tried a couple of files, all are compressed as .zip normally. Is it happening to all files?
I have tried executables, makefiles, c source files, png files, directories... all same. SUSE Linux 10.0, KDE 3.51, Ark 2.61.
On what kind of file system are you trying to write those files? It sounds as you would write on a VFAT (Windows) file system. (If the name fit into 8+3 name pattern, you could have this behaviour in that case.) Have a nice day!
reiserfs 3.6 as installed by SUSE Linux 10.0 -- does not any other SUSE user or Linux user see this bug?
Ok i get it too sometimes. I am investigating it
I'm getting the same, kde 3.5.1 from suse supplementary, SuSE 9.2, filesystem is ext3.
I see the same thing happening on Mandriva 2006 (community) with KDE 3.5.1 From SoS). Tested on a Reiser file system and indeed also on vfat (with mount option 'shortname=mixed').
Thanks to all! My idea that it could be VFAT-specific is not confirmed.
SVN commit 516728 by charis: KMimeType returns .zip .ZIP .rar and .RAR. We should select zip and rar as the extensions instead of the capitals counterparts BUG: 122640 M +4 -0 arkplugin.cpp --- branches/KDE/3.5/kdeaddons/konq-plugins/arkplugin/arkplugin.cpp #516727:516728 @@ -401,6 +401,10 @@ target = filelist.first() + m_extensionList[ pos ]; else { + //KMimeType returns .zip .ZIP .rar and .RAR. Here we select zip and rar as the extensions + if ( ( m_extensionList[ pos ].contains ( ".ZIP" ) ) || ( m_extensionList[ pos ].contains( ".RAR" ) ) ) + pos-=1; + target = m_dir + i18n("Archive") + m_extensionList[ pos ]; int i=1; while ( KIO::NetAccess::exists(target, true, 0 ) )
SVN commit 516867 by charis: Better implementation. Don't be sure that KMimeType will always return the same results BUG: 122640 CCMAIL: thiago@kde.org M +7 -4 arkplugin.cpp --- branches/KDE/3.5/kdeaddons/konq-plugins/arkplugin/arkplugin.cpp #516866:516867 @@ -397,14 +397,17 @@ ++it; filelist.append( item->url().url() ); } + //if KMimeType returns .ZIP or .RAR. convert them to lowercase + if ( m_extensionList[ pos ].contains ( ".ZIP" ) ) + m_extensionList[ pos ] = ".zip"; + + if ( m_extensionList[ pos ].contains ( ".RAR" ) ) + m_extensionList[ pos ] = ".rar"; + if ( filelist.count() == 1) target = filelist.first() + m_extensionList[ pos ]; else { - //KMimeType returns .zip .ZIP .rar and .RAR. Here we select zip and rar as \ the extensions - if ( ( m_extensionList[ pos ].contains ( ".ZIP" ) ) || ( m_extensionList[ \ pos ].contains( ".RAR" ) ) ) - pos-=1; - target = m_dir + i18n("Archive") + m_extensionList[ pos ]; int i=1; while ( KIO::NetAccess::exists(target, true, 0 ) )