https://bugs.winehq.org/show_bug.cgi?id=46215
Bug ID: 46215 Summary: File Open Dialog fails to set focus to Filename text box Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: user32 Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
Using the BCGPOutlookDemo.exe example program.
Select "File -> Open" The focus is set to the Combobox and not the Filename edit that it should.
https://bugs.winehq.org/show_bug.cgi?id=46215
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dmitry@baikal.ru Keywords| |download, regression URL| |https://www.bcgsoft.com/dow | |nload.htm Regression SHA1| |44f89322ba8825a8e4851aaaf7d | |e89910701ca75
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Reverting fixes the issue.
user32: If there is no dialog controls to set focus to then set focus to dialog itself.
Signed-off-by: Dmitry Timoshkov dmitry@baikal.ru Signed-off-by: Alexandre Julliard julliard@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=46215
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- You need to set your PREFIX to Windows XP.
https://bugs.winehq.org/show_bug.cgi?id=46215
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|unspecified |3.21
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- The application creates an empty WS_EX_CONTROLPARENT dialog, returns TRUE in its WM_INITDIALOG handler (causing user32 to set focus to dialog itself), then the app manually creates the dialog controls using weird logic to set the focus.
https://bugs.winehq.org/show_bug.cgi?id=46215
--- Comment #4 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 62954 --> https://bugs.winehq.org/attachment.cgi?id=62954 Possible Solution.
This patch stop a child control stealing focus when focus has already been set.
The Standard Open File Dialog is a good example of when this occurs.
https://bugs.winehq.org/show_bug.cgi?id=46215
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
https://bugs.winehq.org/show_bug.cgi?id=46215
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
--- Comment #5 from Fabian Maurer dark.shadow4@web.de --- Is this STAGED as of https://github.com/wine-staging/wine-staging/commit/0121326c5a76b2ec7ef5048d... ?
https://bugs.winehq.org/show_bug.cgi?id=46215
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/user32-dialog_fo | |cus
https://bugs.winehq.org/show_bug.cgi?id=46215
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d8a27a78dd83f52b26cf8b7711f | |3ea127c0b34f7 Resolution|--- |FIXED Status|STAGED |RESOLVED
--- Comment #6 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Fixed by https://source.winehq.org/git/wine.git/?a=commit;h=d8a27a78dd83f52b26cf8b771...
https://bugs.winehq.org/show_bug.cgi?id=46215
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc3.
https://bugs.winehq.org/show_bug.cgi?id=46215
--- Comment #8 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bug fixes included in 3.0.5.