[Bug 4405] combo box text not selected when getting the focus

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 3 13:46:27 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=4405

Fabian Ebner <f.ebner94 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |f.ebner94 at gmail.com

--- Comment #11 from Fabian Ebner <f.ebner94 at gmail.com> 2013-06-03 13:46:27 CDT ---
Nikolay's patch *without* the third change, i.e.:
-SendMessageW(lphc->hWndEdit, EM_SETSEL, 0, (LPARAM)(-1));
+SetFocus( lphc->hWndEdit );
fixes the problem and doesn't generate an error in the tests.

This change is probably wrong, because text getting selected on gathering focus
doesn't mean that focus is gathered when selecting text.

Nikolay, could you please resend the patch without the third change?

-- 
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.



More information about the wine-bugs mailing list