http://bugs.winehq.org/show_bug.cgi?id=14587
Summary: wineprefixcreate creates useless directories in "My Files" directory Product: Wine Version: 1.1.1 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: shell32 AssignedTo: wine-bugs@winehq.org ReportedBy: diafero@arcor.de
In my linux home dir, I have a symlink called "Eigene Dateien" (the German name for "My Files") which links to the My Files directory of my windows installation. This is automatically choosen by wine to be the My Files directory of the wine bottle as well, which is really nice (though I don't know how wine determines that^^). However, wine creates two directories in there called "Meine Musik" and "Meine Videos" which it assigns to "My Music" and "My Pictures" of the wine bottle. First of all, I don't want wineprefixcrreate to modify anything outside of the prefix t should create (it took me a while until I figured out it was wine which constantly re-created these annoying directories). And second, the names are wrong (if they were correct, I would not have noticed that behaviour as the correct directories exist in there). The directories are called "Eigene Musik" and "Eigene Videos" in the German translation. I attached a patch which fixes the problem for me. Version 1.0 is affected as well.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #1 from diafero@arcor.de 2008-07-21 05:06:10 --- Created an attachment (id=14954) --> (http://bugs.winehq.org/attachment.cgi?id=14954) fixes the wring dir names in German translation
http://bugs.winehq.org/show_bug.cgi?id=14587
diafero@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #14954|fixes the wring dir names in|fixes the wrong dir names in description|German translation |German translation
http://bugs.winehq.org/show_bug.cgi?id=14587
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2008-07-21 10:31:57 --- Please send patch to wine-patches mailing list. They are not picked up in bugzilla.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #3 from diafero@arcor.de 2008-07-21 11:20:03 --- I never wrote a patch for wine so far so I did not want to immediately send it there.
Done :) I hope this also works if I am not subscribed to the list.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #4 from Lei Zhang thestig@google.com 2008-07-22 12:55:53 --- So to clarify the problem, you have Eigene Musik" and "Eigene Videos" on your Windows partition in "Eigene Dateien", but instead of using them, Wine creates "Meine Musik" and "Meine Videos" there?
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #5 from diafero@arcor.de 2008-07-22 13:47:36 --- Yes, that's correct. And what I want to be changed is a) wine to use the correct paths (which should be fixed by the patch) and b) wine not to create directories somewhere else in the system (i.e. these special folder should only be used if they already exist). The user will have his reason for not having them and since you can't disable that option it's only annoying.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2008-07-22 16:34:06 --- (In reply to comment #5)
Yes, that's correct. And what I want to be changed is a) wine to use the correct paths (which should be fixed by the patch) and b) wine not to create directories somewhere else in the system (i.e. these special folder should only be used if they already exist). The user will have his reason for not having them and since you can't disable that option it's only annoying.
You can configure the shell folders in winecfg.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #7 from diafero@arcor.de 2008-07-23 02:41:17 ---
You can configure the shell folders in winecfg.
But only after the prefix and these directories have already been created. And even if I manually change the shell folder to something completely different, wineprefixcreate (when called another time on the same prefix to update it) will create the folder where it thinks it should be. Example: I renamed my "Eigene Bilder" ["My Pictures"] folder to "Bilder" ["Pictures"], then created a brand new prefix - wine creates "Eigene Bilder". Then I deleted that useless directory and changed the shell path to "Bilder" using winecfg. After calling wineprefixcreate again, "Eigene Bilder" is created even though it is no longer my shell directory which I checked by starting notepad - it is "Bilder" and not "Eigene Bilder" which has the "unknown file type" icon (but that's a different bug, I guess - that shell folders don't have correct icons).
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #8 from Alexandre Julliard julliard@winehq.org 2008-07-23 03:44:05 --- A fresh prefix will always use the standard names, that's normal. Now if it recreates under the old name from the same prefix after you changed it in winecfg then that's definitely a bug.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #9 from diafero@arcor.de 2008-07-23 04:38:36 --- (In reply to comment #8)
A fresh prefix will always use the standard names, that's normal.
The problem I have with that is not that is uses the standard names, that's clear (what else should it use?). My problem is that if the standard directories do not exist, wine creates them, which forces the user to either use them or remove them or live with some completely superfluous folders.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #10 from Alexandre Julliard julliard@winehq.org 2008-07-23 05:35:28 --- (In reply to comment #9)
(In reply to comment #8)
A fresh prefix will always use the standard names, that's normal.
The problem I have with that is not that is uses the standard names, that's clear (what else should it use?). My problem is that if the standard directories do not exist, wine creates them, which forces the user to either use them or remove them or live with some completely superfluous folders.
Windows apps expect them to exist, so we have to create them.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #11 from diafero@arcor.de 2008-07-23 05:50:02 --- (In reply to comment #10)
Windows apps expect them to exist, so we have to create them.
They do? Uhm, that's not good... Ok, what about at least telling the user that these directories are created? It took me months in which I deleted these directories about 50 times to figure out it was wine who does that (I of course suspected some windows program).
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #12 from diafero@arcor.de 2008-12-07 09:20:53 --- As of Wine 1.1.10, the names of these two directories are still wrong. Is there any reason for wine using different names than Windows?
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #13 from Austin English austinenglish@gmail.com 2008-12-07 17:15:55 --- I resent the patch.
http://bugs.winehq.org/show_bug.cgi?id=14587
--- Comment #14 from Austin English austinenglish@gmail.com 2008-12-08 10:09:29 --- Patch was committed
http://bugs.winehq.org/show_bug.cgi?id=14587
diafero@arcor.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #15 from diafero@arcor.de 2008-12-08 10:38:34 --- confirmed - thanks a lot :)
http://bugs.winehq.org/show_bug.cgi?id=14587
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #16 from Alexandre Julliard julliard@winehq.org 2008-12-20 09:05:16 --- Closing bugs fixed in 1.1.11.