[Bug 28158] winemenubuilder forces lower case when searching fd.o mime database

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 24 15:33:19 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=28158

--- Comment #13 from MestreLion <wine at rodrigosilva.com> 2011-08-24 15:33:18 CDT ---
(In reply to comment #12)
> Created an attachment (id=36084)
 --> (http://bugs.winehq.org/attachment.cgi?id=36084) [details]
> Lowercase the glob
> 
> Does this patch do what you want?

I didnt have the time to run the patch and test it, but by looking at it, yes,
it seems like a great step in the right direction.

A general guideline to accomplish case insensitiveness inside windows and
proper case when dealing with native associations and mime types could be this:

- When winemenubuilder tries to find if windows ext exists in native system, it
should do matches like "for each ext in native-list do... if lower(ext) ==
lower(native) ... match"

- When writing to native system (.desktop or mime), use the same case as in the
registry... be it lower, upper or mixed case.

Last but not least... if you want to, i could try to write a patch myself... i
just want to hear your opinion on the subject. My programming skills are quite
limited, but i would gladly try to do that if you say "ok, i agree, go ahead"

Is this solution, about dealing with mixed case exts and mimes, something you
agree with?

Also, could you please also say what is your opinion about bugs # 28159 and
28160 ?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list