http://bugs.winehq.org/show_bug.cgi?id=26181
Summary: install application creates xdg mime files with case sensitive extensions Product: Wine Version: 1.3.13 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: setupapi AssignedTo: wine-bugs@winehq.org ReportedBy: rpnpif@free.fr
Intall an application (for example Proteus suite), sometimes we get mime files in ~/.local/share directory with extensions on upper case mode. So Nautilus become case sensitive for this extension and applications (Proteus) are not associates with the application when a file have a lower case. MS Windows is often case insensitive, not Linux.
Examples: ~/.local/share/applications/wine-extension-DSN.desktop: [Desktop Entry] Type=Application Name=ISIS MimeType=application/x-wine-extension-DSN; Exec=wine start /ProgIDOpen ProteusDesignFile %f NoDisplay=true StartupNotify=true Icon=1774_ISIS.0
~/.local/share/mime/packages: <?xml version="1.0" encoding="UTF-8"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="application/x-wine-extension-DSN"> <glob pattern="*.DSN"/> <comment>Schematic Design</comment> </mime-type> </mime-info>
.DSN should be .dsn to be case insensitive.
To fix this, wine should convert always all "glob pattern" to lower case. See xdg specifications on Freedesktop.
http://bugs.winehq.org/show_bug.cgi?id=26181
--- Comment #1 from butraxz@gmail.com 2013-08-18 11:14:57 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed.
Is this still an issue with 1.7.0 or higher ?
https://bugs.winehq.org/show_bug.cgi?id=26181
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #2 from Sebastian Lackner sebastian@fds-team.de --- I am not able to reproduce this issue. I don't have any application affected by this, so I manually created *.desktop files, one with a uppercase glob pattern, and one with a lowercase pattern. In both cases its recognized correctly.
I was also searching for the specification mentioned in the description, but wasn't able to find it. The only (probably related) document I would is https://developer.gnome.org/shared-mime-info-spec/, but there it says:
--- snip --- Applications MUST match globs case-insensitively, except when the case-sensitive attribute is set to true. This is so that e.g. main.C will be seen as a C++ file, but IMAGE.GIF will still use the *.gif pattern. --- snip --
Wine doesn't put case-sensitive attributes in any files, so everything should be fine. Does this problem still exists?
https://bugs.winehq.org/show_bug.cgi?id=26181
Rpnpif rpnpif@free.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |WORKSFORME
--- Comment #3 from Rpnpif rpnpif@free.fr --- (In reply to Sebastian Lackner from comment #2)
You are right.
I cannot reproduce this old bug in XFCE or in MATE. Perhaps it has been fixed.
Thank you.
https://bugs.winehq.org/show_bug.cgi?id=26181
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Austin English austinenglish@gmail.com --- Closing.