[Bug 47507] New: Regression: can' t return to full-screen Civilization IV BTS window after Alt+Tab-ing to desktop since wine 4.10
https://bugs.winehq.org/show_bug.cgi?id=47507 Bug ID: 47507 Summary: Regression: can't return to full-screen Civilization IV BTS window after Alt+Tab-ing to desktop since wine 4.10 Product: Wine Version: 4.12.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: igorkuo(a)meta.ua Distribution: --- Steps to reproduce: 1. Run Civilization IV Beyond the Sword in full-screen mode and load a saved game. 2. Alt+Tab to another window. 3. Alt+Tab back to the Civilization window or click on the game window button. 4. Expected results (which actually happen with wine 4.9, 4.9-staging, 4.6 and many earlier versions): after a couple of seconds the game window becomes visible and works as if no window switching has occurred. 5. Actual results (which happen with wine 4.10, 4.10-staging, 4.11, 4.12, 4.12.1): even after minutes of waiting the game window is still hidden. The only thing the user can do about this is exit the game by closing its window from desktop. System information: Manjaro 64-bit with latest updates. The regression affects both 32-bit and 64-bit wine prefixes. I'm using the native msxml3 version installed via winetricks, because without it the game crashes while loading a saved game. The issue happens both with built-in and native directx9. The regression affects both Xfce and KDE Plasma 5 desktop environments. There is no meaningful difference (other than error message ordering, addresses) between wine 4.9 and 4.10 debug outputs (compared via Meld) while the bug is being reproduced. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Andreas <wine(a)forsaken.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wine(a)forsaken.se --- Comment #1 from Andreas <wine(a)forsaken.se> --- I'm having the same problem but in War thunder instead. I've bisected it to: 82c6ec3a32f44e8b3e0cc88b7f10e0c0d7fa1b89 is the first bad commit Reverting this commit in 4.10 solves the problem for me. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang(a)codeweavers.com Regression SHA1| |82c6ec3a32f44e8b3e0cc88b7f1 | |0e0c0d7fa1b89 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #2 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- I will take a look. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #3 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Confirmed with 4.12-1. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #4 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Andreas, I can't run War Thunder with wine-4.12-1 nor wine-staging 4.12-1. Did you use any workarounds? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #5 from Andreas <wine(a)forsaken.se> --- You have to use the 32bit client, afaik the 64bit doesn't work. I start it with: WINEPREFIX="/home/andreas/.wine32" WINESYNC=1 wine C:\\\\users\\\\andreas\\\\Local\\ Settings\\\\Application\\ Data\\\\WarThunder\\\\launcher.exe I also use dxvk if that affects things. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #6 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Created attachment 64938 --> https://bugs.winehq.org/attachment.cgi?id=64938 Send activate message after showing a minimized window -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #7 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Hi, could try this patch and see if it fix War Thunder? This fixed Civilization IV on my local machine. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #8 from Andreas <wine(a)forsaken.se> --- Hello, The patch solves the problem, thanks. I tested on 4.12.1. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 bgstack15(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bgstack15(a)gmail.com --- Comment #9 from bgstack15(a)gmail.com --- Fedora 30 has wine 4.12.1 and Stronghold also is affected in an identical manner as described here. Downgrading to wine 4.5 solved it. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #10 from Andreas <wine(a)forsaken.se> --- Zhiyi, any chance this will be integrated into mainline ? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #11 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- (In reply to Andreas from comment #10)
Zhiyi, any chance this will be integrated into mainline ?
The patch is still pending on the wine-devel mail list. I will try harder to convince people to get it in. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 someuniquename(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |someuniquename(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/user32-window-ac | |tivation CC| |leslie_alistair(a)hotmail.com Status|NEW |STAGED -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Reinhard Berger <geist1(a)sms.at> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |geist1(a)sms.at --- Comment #12 from Reinhard Berger <geist1(a)sms.at> --- Still an problem under wine 5.0 Affected also Stronghold Crussader HD as well as Stronghold Crussader Extreme HD Switching to Desktop with ALT+TAB from the game works, but when switching back o the game it looks like a screenshot of the Desktop and the game hung. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chrylis(a)gmail.com --- Comment #13 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- *** Bug 46916 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #14 from Reinhard Berger <geist1(a)sms.at> --- Any fix in progress ? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Zhiyi Zhang <zzhang(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Fixed by SHA1| |3898ad408bb7ad50555ce6bce0f | |c02ab60eb5caf Resolution|--- |FIXED --- Comment #15 from Zhiyi Zhang <zzhang(a)codeweavers.com> --- Fixed by 3898ad408bb7ad50555ce6bce0fc02ab60eb5caf -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #16 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 6.3. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 --- Comment #17 from Reinhard Berger <geist1(a)sms.at> --- (In reply to Alexandre Julliard from comment #16)
Closing bugs fixed in 6.3.
Bug fix does not work on Stronghold Crusader HD. Still a problem with game freeze when switching back from Desktop to the game. Last working Version was 4.9. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |6.0.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=47507 Michael Stefaniuc <mstefani(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|6.0.x |--- --- Comment #18 from Michael Stefaniuc <mstefani(a)winehq.org> --- Removing the 6.0.x milestone from bug fixes included in 6.0.1. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla