Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191463 - File Extensions for Entries in the KControl File Types Module does not process Regular Expressions and is Case Sensitive
Summary: File Extensions for Entries in the KControl File Types Module does not proces...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-06 04:36 UTC by Jakub Sadowski
Modified: 2007-10-25 02:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Sadowski 2007-09-06 04:36:56 UTC
When creating/modifying entries in the File Types module of KControl, one is forced to enter all combinations of uppercase/lowercase letters for each file type so that all permutations are recognized in KDE.  The module also does not allow recognize the use of regular expressions to make this task easier.

Reproducible: Always

Steps to Reproduce:
1.Clear all file-extension entries in a file-type entry in KControl so that the icon changes to a more general type in Konqueror when browsing.  A good example is clearing the "*.avi;*.AVI" extensions for the default first entry in the video category and the file type is then represented with a speaker icon.
2.Add the "*.avi", "*.AVI", "*.[Aa][Vv][Ii]" extension entries for the type.
3.View a file listing in konqueror that includes "AVI" files and click the reload button.
4. Rename one of the files to [filename].aVi, [filename].Avi, etc... and click reload in konqueror.
Actual Results:  
Video icons appear for the files in step 3.
A speaker icon appears for the file in step 4.

Expected Results:  
File should still be recognized with a video icon as the regular expression should be processed (or at the very least the extension should be recognized in a case-insensitive manner).

Confirmed using KDE 3.5.7 with kdelibs-3.5.7-r2 and kcontrol-3.5.7-r1.
Comment 1 Jakub Sadowski 2007-09-06 04:38:11 UTC
The (not-so-trivial) workaround is, of course, to create all combinations of uppercase/lowercase letters in the file-extension entries.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-06 07:03:14 UTC
Could you please clarify why's this a Gentoo bug, as opposed to a feature request that belongs upstream?
Comment 3 Wulf Krueger (RETIRED) gentoo-dev 2007-09-27 20:30:42 UTC
Please file an upstream bug at http://bugs.kde.org and post its URL here.
Comment 4 Jakub Sadowski 2007-10-25 02:58:22 UTC
(In reply to comment #3)
> Please file an upstream bug at http://bugs.kde.org and post its URL here.
> 

There we go:  http://bugs.kde.org/show_bug.cgi?id=151312