[Bug 15480] New: Saving files in Word/Excel creates useless .lnk files
http://bugs.winehq.org/show_bug.cgi?id=15480 Summary: Saving files in Word/Excel creates useless .lnk files Product: Wine Version: 1.1.5 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: andrew(a)etc.gen.nz Hi, In Word and Excel 2003 when we save files then a .lnk file is created in the same directory as the source file. These files are useless for two reasons: 1) They're in the same directory as the original .doc or .xls files which have Word and Excel associated with them respectively. 2) On a standard Debian Lenny machine running Gnome the .lnk files aren't recognised by any apps and won't cause Word or Excel to run. I've searched around the place to see if we can turn this "feature" off, but haven't found anything. Is this possible? If not, could this please be added. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2008-09-29 21:28:50 --- I don't see this in Office 2007, fwiw. Can you attach terminal output? How about a +file? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 dimesio(a)earthlink.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio(a)earthlink.net --- Comment #2 from dimesio(a)earthlink.net 2008-10-01 06:51:56 --- Office 2003 doesn't do that on my system, openSUSE 10.3, KDE 3.5.9. Maybe a Gnome issue? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Andrew Ruthven <andrew(a)etc.gen.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|1.1.5 |1.1.4 --- Comment #3 from Andrew Ruthven <andrew(a)etc.gen.nz> 2008-10-02 04:48:39 --- This is actually wine 1.1.4, but has been happening 1.1.2 as well. Also it is Word 2000 (not 2003). I'm running it from gnome-open, but the lnk file does show up in the trace. The steps to reproduce are: 1) Create test1.doc (I used OpenOffice) 2) Open using: gnome-open test1.doc 3) Save As: test2.doc 4) See that test2.doc and test2.doc.lnk are created. Attached is the trace+file as requested, I've cleaned it up a bit to remove some references to a few files. I've also just tested it by running: wine ~/.wine/drive_c/Program\ Files/Microsoft\ Office/Office/WINWORD.EXE \ z:/tmp/test2.doc And followed similar steps - saving as test3.doc - and test3.doc.lnk was created as well. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #4 from Andrew Ruthven <andrew(a)etc.gen.nz> 2008-10-02 04:58:13 --- The trace is too big to upload, it'll have to wait until tomorrow for me to stick it on an appropriate webserver. I'll update this report with the URL once I've uploaded it. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #5 from Austin English <austinenglish(a)gmail.com> 2008-10-02 13:12:09 --- (In reply to comment #4)
The trace is too big to upload, it'll have to wait until tomorrow for me to stick it on an appropriate webserver. I'll update this report with the URL once I've uploaded it.
Compress it -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #6 from Andrew Ruthven <andrew(a)etc.gen.nz> 2008-10-02 19:24:43 --- Created an attachment (id=16434) --> (http://bugs.winehq.org/attachment.cgi?id=16434) trace+file from opening test1.doc and saving it as test2.doc -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Leonid Volnitsky <leonid(a)volnitsky.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |leonid(a)volnitsky.com --- Comment #7 from Leonid Volnitsky <leonid(a)volnitsky.com> 2008-11-28 00:29:14 --- I confirm this bug. I've seen it with MS Word 2000 too. But files are created in my home directory. My home dir is symlinked with desktop dir. I start word from shell wrapper as: wine "C:\program files\microsoft office\office\winword.exe" `winepath -w "$@"` I do remember that in the past I've seen LNK files created in the same dir as original doc files. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Lei Zhang <thestig(a)google.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 --- Comment #8 from Lei Zhang <thestig(a)google.com> 2008-12-02 20:10:26 --- confirming then. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #9 from Austin English <austinenglish(a)gmail.com> 2009-06-02 10:37:33 --- Is this still an issue in current (1.1.22 or newer) wine? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #10 from Andrew Ruthven <andrew(a)etc.gen.nz> 2009-06-22 22:23:55 --- Yes, this behaviour still occurs in 1.1.24. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 zph <zph2001(a)yandex.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zph2001(a)yandex.ru --- Comment #11 from zph <zph2001(a)yandex.ru> 2009-09-05 04:22:01 --- Wine 1.28, MSO 2003 This .lnk files creating not only when files saving. .lnk files create for all open files when MSO to close. The path for saving *.lnk is current active dir of MSO. (Dir to open/save last files, or path to "My Documents", when new documents was created) -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #12 from zph <zph2001(a)yandex.ru> 2009-09-05 16:38:33 --- Created an attachment (id=23458) --> (http://bugs.winehq.org/attachment.cgi?id=23458) Error is shell32.dll (Can't get path to users's "Recent" directory) To test this bug I open "test_file.doc" and close it [push [x] button on window border]. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Saving files in Word/Excel |Saving files in Word/Excel |creates useless .lnk files |2000 creates useless .lnk | |files --- Comment #13 from Rosanne DiMesio <dimesio(a)earthlink.net> 2010-05-31 22:50:07 --- Is this still an issue in current Wine (1.2-rc2 or later)? -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #14 from zph <zph2001(a)yandex.ru> 2010-06-08 09:48:59 --- (In reply to comment #13)
Is this still an issue in current Wine (1.2-rc2 or later)?
I tested wine 1.2-rc2 with MSO 2003 (Word and Excel). I open|close|save files but I don't find any created useless *.lnk files. Issue don't present in wine 1.2-rc2. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #15 from Rosanne DiMesio <dimesio(a)earthlink.net> 2010-06-08 10:07:11 --- Reported fixed. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #16 from Alexandre Julliard <julliard(a)winehq.org> 2010-06-11 12:50:27 --- Closing bugs fixed in 1.2-rc3. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Edward d'Auvergne <true.bugman(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |true.bugman(a)gmail.com --- Comment #17 from Edward d'Auvergne <true.bugman(a)gmail.com> 2012-01-31 11:48:35 CST --- This problem is still present in wine 1.3.34 with Office 2007! The fix is simple, just create the ~/.wine/drive_c/users/xxxx/Recent directory. With this directory missing, the *.lnk files are created in the same directory as the MSOffice file. With the directory present, the *.lnk files are created in the correct history location. I am unsure why the ~/.wine/drive_c/users/xxxx/Recent directory was missing. The bug should probably be considered for reopening. A proper fix for the bug would be to create this directory should if not present rather than shell32.dll throwing an error and dumping the lnk file in the same directory. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 stasik0(a)front.ru changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stasik0(a)front.ru --- Comment #18 from stasik0(a)front.ru 2012-05-15 02:55:19 CDT --- The bug should be reopened. I experience the same issues on Wine 1.5.4 and Word 2010. Creating a Recent folder did not help. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #19 from stasik0(a)front.ru 2012-05-15 06:50:22 CDT --- (In reply to comment #18)
The bug should be reopened. I experience the same issues on Wine 1.5.4 and Word 2010. Creating a Recent folder did not help.
Recent folder creation helped. Sorry. However, the bug is still present. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 deslux(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deslux(a)gmail.com --- Comment #20 from deslux(a)gmail.com 2013-04-14 13:20:03 CDT --- Same here: - The bug is still active on Wine 1.4 (Ubuntu 10.04, Office 2010) - The creation of ~/.wine/drive_c/users/xxxx/Recent solved it -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Hernan Antolini <hantolin(a)directvla.com.ar> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hantolin(a)directvla.com.ar --- Comment #21 from Hernan Antolini <hantolin(a)directvla.com.ar> 2013-06-10 16:31:20 CDT --- I verified same situation with the following versions : wine 1.5.23 winetricks 20120912 playonlinux 4.2.1 OpenSuSE 12.3 oFFICE 2010 The workaround actually works, i've created the Recent directory in ~/.PlayOnLinux/wineprefix/Office2010/drive_c/users/xxxxx -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Dan Kegel <dank(a)kegel.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CLOSED |REOPENED CC| |dank(a)kegel.com Resolution|FIXED | --- Comment #22 from Dan Kegel <dank(a)kegel.com> 2013-06-10 16:44:54 CDT --- Curses, opened again! -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Ante de Baas <spam(a)debaas.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |spam(a)debaas.net --- Comment #23 from Ante de Baas <spam(a)debaas.net> 2013-08-26 09:04:03 CDT --- (In reply to comment #21)
I verified same situation with the following versions :
wine 1.5.23 winetricks 20120912 playonlinux 4.2.1 OpenSuSE 12.3 oFFICE 2010
The workaround actually works, i've created the Recent directory in ~/.PlayOnLinux/wineprefix/Office2010/drive_c/users/xxxxx
Confirmed, running Wine 1.6 on Fedora 19. same problem, creating a Recent directory works. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=15480 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |focht(a)gmx.net Component|-unknown |shell32 Resolution|--- |FIXED Summary|Saving files in Word/Excel |Saving files in Microsoft |2000 creates useless .lnk |Word/Excel 2000-2010 |files |creates useless .lnk files | |(CSIDL_RECENT folder | |missing) --- Comment #24 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, CSIDL_RECENT folder will be automatically created upon WINEPREFIX creation ('rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 ...wine.inf') NOTE: It won't be (re)created by Wine if you keep very old prefixes around. Either create it manually or use a new prefix. --- snip --- ... 0011:trace:shell:SHGetFolderPathAndSubDirW Created missing system directory L"C:\\users\\focht\\Recent" 0011:trace:shell:SHGetFolderPathAndSubDirW returning 0x00000000 (final path is L"C:\\users\\focht\\Recent") --- snip --- Regards -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 Kenneth <kenneth.browne.ma(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kenneth.browne.ma(a)gmail.com --- Comment #25 from Kenneth <kenneth.browne.ma(a)gmail.com> --- .lnk bug still present running MS Office 2010 under WINE 1.7.13 Adding "Recent" folder like this: ./wine/drive_c/users/username/Recent seems to have cured the problem. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #26 from Anastasius Focht <focht(a)gmx.net> --- Hello Kenneth, not sure if you have read and understood my last comment. '$WINEPREFIX/drive_c/users/$USER/Recent' folder is automatically created upon prefix creation. It won't be (re)created if you recycle an old prefix where this folder was missing or deliberately deleted this folder in a new prefix. Create a clean (new!) prefix and check if the folder exists. If not then your Wine build/package is broken. WINEPREFIX=~/foo wineboot ; [[ -d ~/foo/drive_c/users/$USER/Recent ]] && echo "ok" Regards -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #27 from Kenneth <kenneth.browne.ma(a)gmail.com> --- Well, I got the problem resolved but WINE jargon kind of throws me, e.g. "CSIDL_RECENT folder will be automatically created upon WINEPREFIX creation" If I understand the rest of the comment, it seems to suggest that I should do a fresh install of WINE (i.e. create a new WINEPREFIX) However I merely added the Recent folder manually and solved the problem What is CSIDL? I've read up about WINEPREFIX and as near as I can tell it means one's WINE installation, which on my Mint laptop is found at ./wine in my HOME directory. From some comments here and from a brief experiment using Play On Linux it appears that WINE isn't necessarily installed in the same folder. I've not used Crossover but guess that the naming convention would be different there as well. In any case, adding the Recent folder stopped scattering .lnk files everywhere and after a couple of tests the .lnk files are ending up in ./wine/drive_c/users/username/Recent My comment above was simply to point out that until I created the folder the scattering of .lnk files was happening under my 1.7.13 installation of WINE. Now it is not. Thanks for help. Ken -- 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.
http://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #28 from Rosanne DiMesio <dimesio(a)earthlink.net> --- (In reply to Kenneth from comment #27)
If I understand the rest of the comment, it seems to suggest that I should do a fresh install of WINE (i.e. create a new WINEPREFIX)
You are confusing installing Wine with creating a wineprefix. They are not the same thing at all. http://wiki.winehq.org/FAQ#wineprefix If you need further help, ask on the forum. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=15480 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #29 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.14. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=15480 C. Leu <kle(a)bluewin.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kle(a)bluewin.ch --- Comment #30 from C. Leu <kle(a)bluewin.ch> --- Unfortunately this problem is again back in Wine 8.0 (stable). When I open a *.xlsx file at the desktop and save it (with the same name) to an *.ods file then Excel 2010 will create two (useless) files. One is a *.lnk (which points to the original xlsx) and the other is a shortcut regarding the ods file but also with *.ods ending. As mentioned, both of them are non-functional. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=15480 --- Comment #31 from Austin English <austinenglish(a)gmail.com> --- (In reply to C. Leu from comment #30)
Unfortunately this problem is again back in Wine 8.0 (stable).
When I open a *.xlsx file at the desktop and save it (with the same name) to an *.ods file then Excel 2010 will create two (useless) files. One is a *.lnk (which points to the original xlsx) and the other is a shortcut regarding the ods file but also with *.ods ending.
As mentioned, both of them are non-functional.
Please open a new bug. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla