[Bug 27190] New: Incorrect focus and Alt+Tab order with Delphi MDI application

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 16 20:39:29 CDT 2011


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

           Summary: Incorrect focus and Alt+Tab order with Delphi MDI
                    application
           Product: Wine
           Version: 1.3.19
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: user32
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: mateuscg at gmail.com


1. Make sure to keep running an application (e.g.: text editor or terminal,
preferred non-MDI) that opens a window selectable in Alt+Tab keyboard function
of the window manager (tested on Metacity), used to switch windows on the
desktop environment.

2. Download sample application and run it on wine:

http://www.torry.net/vcl/forms/other/mditab.zip

3. The application shows the main window, which gains focus of the window
manager (Metacity).

4. Select File on main menu, then choose New.

5. A new child window is opened inside main window. Both main and child windows
are focused.

6. When pressing Alt+Tab on keyboard, the first selected window is the child
window of the wine application itself. On MS-Windows the first selected window
would be the one of another application.

7. When pressing Alt+Tab again to return to wine application, only the child
window is focused.

8. With only the child window focused, pressing Alt+Tab again first selects
window of another application as happens on MS-Windows.


Expected behavior: when the Alt+Tab function is used, the first selected window
should be of another application. Also, when focus returns to the MDI
application, both main and child window should be focused, not only child
window. Using other non-Delphi MDI applications (eg: Wine File Manager), when
switching back to it with Alt+Tab, both main and child window are focused, as
happens on MS-Windows.

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