http://bugs.winehq.org/show_bug.cgi?id=30242
Bug #: 30242 Summary: The mouse loses the focus in each new instance Product: Wine Version: 1.5.0 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: simonalsa@gmail.com Classification: Unclassified
Hi we are trying to port a windows native application compiled in visual studio 6 to an ubuntu lucid linux distribution.
The windows native application works well without problems into the XP, Windows 7, W2K8 R2 native Windows environments.
The windows native application is a legacy application solution composed by three components that at the moment we can port to linux and use it with Wine. Nice job Wine team.
We have tested the native windows application using the lastest builds version (1.3 && 1.4) and a new compilation from the 1.5 sources about Wine
The tests has been performed in Wine desktop mode.
The native windows application is started under a W2K8 R2 enviroment enclosed in a 1024x768 desktop mode using Wine.
The native windows application requires the mfc42 dll library downloaded with winetricks
The components are installed locally into the ".wine" home user profile
The general application is executed remotely under a network share mounted locally into the operating system
I only can say that the program works well in all version built or compiled but we got a weird problem...
Lets me formule a hipotesys
We, 1) Deploy and install the native windows application's components under the ".wine" home use profile 2) Configure the native application windows enviroment. Environment variables. Windows register. Network shares. Etc. 3) Runs the main application. 4) After the single sign-on into the main application the application display a main window into the screen as desktop background. The components are loaded over the displayed main window. 5) The displayed window have an menu bar and lets start up subprocess for each item available. 6) For each subprocess started, the application start up another window that is loaded into the main application desktop 7) Internally, each subprocess is an exe program run by wine
...Here is the problem...
8) The mouse lost the focus over each new subprocess about window 9) The mouse can not pick buttons into the new window. The buttons can not be pressed. 10) The mouse can no pick fields into the new window. The fields can not be selected for input. 11) But the mouse can expand a drop-box menu field. We can select an item from the drop-box menu field. 12) The mouse cannot check/uncheck a checkbox menu field 13) We can move between fields, drop-box, menu checkbox, button, etc using the TAB key for input or select purposes. 14) But we always can use the principal main menu bar about the main window for open new subprocess / windows loaded into the main window 15) When we select a different window loaded into the main window. We can not select the previous window. We can not active the previous windows manually. We windows remains opened and we can not close them.
We think that the mouse loses the focus control over the windows, fields, buttons for each new instance loaded into the main window.
The wine execution do not reports any errors. If we increase the debug level we can not see any considerable errors.
Seems that everything is working well but we are experimenting troubles with the mouse.
Someone can help us?