Debugging Wine with Lightroom 3.5

Roland Baudin roland65 at free.fr
Tue Dec 13 14:12:32 CST 2011


Hi,

let me first congratulate all the people who work hard on the Wine 
project : their work is much appreciated here...

Now, my question : I was able to install and run Adobe Photoshop 
Lightroom 3.5 under wine 1.3.33 or 1.3.34. While it runs quite well and 
is fairly stable I have two major issues :

- with Windows version set in winecfg to "Windows XP" (or below) the 
menu bar is hidden. However, clicking on the empty place of the menu bar 
partially reveals the menu items and they are functional. Moreover, 
other context menus (for example, right clicking on a picture and 
selecting Delete brings up the deletion dialog) are all working OK.

- with Windows version set in winecfg to "Vista" (or higher) the menu 
bar is now visible and fully functional, but many context menus are not 
working anymore (for example, right clicking on a picture and selecting 
Delete does nothing now).

[Note this problem is half known (see bug 18635 
http://bugs.winehq.org/show_bug.cgi?id=18635).]

So the dilemma is : either set Windows version to XP and get fully 
functional context menu but a hidden menu bar, or set version to Vista 
and see the menu bar but get many context menus broken.

I'd like to debug this situation so it would be nice if someone could 
point me to the right direction :

- first I don't understand the relation between Windows versions and 
menu bar or dialogs. Is it related to different versions of the dlls or 
any other mechanism?

- second, I noticed with XP version a lot of fixme:GetMenuInfo when 
running Lightroom. These messages don't appear with Vista version. I've 
tried to set up a patch (found on the Internet) that implement the 
GetMenuInfo function but this doesn't help. The patch seems to work but 
the menu bar is still hidden.

- third, with Vista version, when invoking a broken menu, there is no 
particular message I can see on the terminal that could tell me what is 
not working.

I've tried to play with various dll replacement but with no success. 
After googling and reading I suspect the problem is in the user32.dll 
and perhaps the DrawMenuBar implementation but I'm not sure...

Any help (at least some clue to start debugging) would be greatly 
appreciated.

Thanks,
RB




-- 
X File Explorer http://roland65.free.fr/xfe
Toutes Choses http://roland65.free.fr/ttc



More information about the wine-devel mailing list