http://bugs.winehq.org/show_bug.cgi?id=9859
Summary: File / Browse fails in Photoshop CS2 Product: Wine Version: 0.9.46. Platform: Other OS/Version: other Status: NEW Keywords: download Severity: enhancement Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
The File / Browse menu item fails in Photoshop CS2 tryout; an error dialog box pops up saying "Error 2: photoshop is undefined. Line: 1 --> photoshop.invokeBridge(false, false, '');"
http://bugs.winehq.org/show_bug.cgi?id=9859
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mikolaj.zalewski@gmail.com
--- Comment #1 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-16 21:03:46 --- There is a definition of an invokeBridge method in Program Files\Common Files\Adobe\StartupScripts\photoshop-9.jsx. But there are two problems with this script. The first is that:
if (BridgeTalk.getTargets (9.0).join ().indexOf ('photoshop') == -1)
throw "Version of Photoshop matching this script not installed.";
throws an exception and that the object is named photoshop9 and not photoshop. Is I comment out these two lines and rename the object then after choosing this menu option Photoshop tries to load Bridge.exe (from Program Files\Adobe\Bridge) but fails because it can't find two DLLs that are in Program Files\Common Data\Adobe\AGL. This might be also the reason of these two problems with photoshop-9.jsx.
http://bugs.winehq.org/show_bug.cgi?id=9859
--- Comment #2 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-16 21:10:13 --- One of the problems is that in one of the assemblies the manifest is in big endian. By mistake I've posted a draft patch in bug #9938.
http://bugs.winehq.org/show_bug.cgi?id=9859
--- Comment #3 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-17 17:29:50 --- Adobe Bridge cannot find the libraries because of a bug in MSI that causes the directory containing them not to be appended to the path. Adding this directory manually makes Bridge start however it doesn't remove the two problems that prevents File / Browse from working and after starting Bridge complains that due to licensing restrictions it cannot work. So I've filled but #10077 for the installer problem, will fill a bug for the license problem if I will be able to confirm that under Windows it works in the trial and leave this bug for the problems with the menu option in Photoshop.
http://bugs.winehq.org/show_bug.cgi?id=9859
--- Comment #4 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-17 21:13:35 --- Created an attachment (id=8637) --> (http://bugs.winehq.org/attachment.cgi?id=8637) patch to add ALLUSERSPROFILE to wine.inf
Another thing Photoshop CS2 installer complains about is that it can't expand ALLUSERSPROFILES. This patch adds it to the registry when a new wineprefix is created however it doesn't seem to help for Adobe Bridge - it seems it's used by Adobe Updater to store some certificates.
http://bugs.winehq.org/show_bug.cgi?id=9859
--- Comment #5 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-18 16:25:09 --- The source of the problem is that BridgeTalk.getTargets() returns an empty string on Wine while on Windows it returns "bridge,estoolkit,helpcenter,photoshop". If the return was correct, the script would have constructed the photoshop9 object and after checking with BridgeTalk.getTargets(0) that it is the latest version it would make photoshop a reference to photoshop9.
I don't know if the license problem of Adobe Bridge have the same source so I filled a different bug for it: #10085.
http://bugs.winehq.org/show_bug.cgi?id=9859
--- Comment #6 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-18 17:46:03 --- The Adobe ExtendedScript components list is located as a list of links in C:\Program Files\Common Files\Adobe\Launch . The engine searches the directory with FindFirstFileEx(..., FindExSearchLimitToDirectories, ...) what in the current implementation finds only directories and doesn't find the *.lnk files. Windows finds the files. MSDN documents FindExSearchLimitToDirectories as reserved for future use - maybe it is simply not implemented in Windows.
http://bugs.winehq.org/show_bug.cgi?id=9859
Mikolaj Zalewski mikolaj.zalewski@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from Mikolaj Zalewski mikolaj.zalewski@gmail.com 2007-10-19 12:37:03 --- The patch was applied to the Git so starting from Wine 0.9.48 the Photoshop part should work. The Adobe Bridge starts but still doesn't work due to bug #10085
http://bugs.winehq.org/show_bug.cgi?id=9859
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Dan Kegel dank@kegel.com 2008-01-28 05:45:08 --- Closing all RESOLVED FIXED bugs older than four weeks.