[pkg-wine-party] Bug#845334: wine32: breaks xdg-open, which wants to start wine and crashes

Vincent Lefevre vincent at vinc17.net
Fri Dec 9 16:24:22 UTC 2016


On 2016-12-09 16:44:52 +0100, Jens Reyer wrote:
> @Vincent: I assume you have no mimeapps.list on your system that sets a
> default for text/html. Right?

Right. I have a mimeapps.list that sets defaults for some types
(because I have a strong preference), but not for text/html.
I generally use Firefox, but sometimes ESR, sometimes the latest
upstream stable, so that I preferred not to set any default.

> Then (going *literally* by the freedesktop specification) your report is
> not valid, because defaults need to be set in mimeapps.list.

Then there could be a bug in other applications, which do not set
any default.

> However, if no default is specified in a mimeapps.list, then .desktop
> files in /home (as created by Wine) seem to take precedence before
> system .desktop files (e.g.
> /usr/share/applications/firefox-esr.desktop). See the spec at [3].

This is bad. I think that the main problem is that Wine creates files
that will take precedence without the user's consents. But even if
the user wants Wine's desktop files, they should still have less
precedence than the ones from the native system. The spec should
provide a way to do this.

(This is not specific to Wine, but to all kinds of software that
will provide some form of emulation.)

> @Vincent:
> When did you first observe this behavior? Just now or for a longer time?

I do not use xdg-open very much, so I don't know.

Well... I think I had already removed the .wine directory in the past
for some reason. This could explain why the files were created at
some point. Not sure.

> Can you please also try with a fresh user with an empty /home?

I'll try later, perhaps on Monday if I cannot to this remotely.
But see my remark above.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)



More information about the pkg-wine-party mailing list