https://bugs.winehq.org/show_bug.cgi?id=55074
Tatsuyuki Ishi ishitatsuyuki@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jacek@codeweavers.com, | |rbernon@codeweavers.com, | |zzhang@codeweavers.com
--- Comment #6 from Tatsuyuki Ishi ishitatsuyuki@gmail.com --- To quickly describe what's triggering a edge case, Chromium temporarily switches to an non-interactive winstation to create an "alt" desktop [1], which causes the current win32u code to return the virtual monitor.
There are tests for 1. Virtual display config for non-interactive services, 2. Testing that EnumDisplayDevices count doesn't change even if winstation is manually set, however 2. only tests the count and seems ineffective as returning either the normal display config (for single-display user) and virtual display config would result in the same count=1.
Jacek, Zhiyi, do you know if the non-interactive winstation check applies to manual SetProcessWindowStation calls? Looking at 2., it probably shouldn't, which means that our interactiveness test likely needs to be done in another way that isn't affected by app SetProcessWindowStation calls.
[1]: https://source.chromium.org/chromium/chromium/src/+/main:sandbox/win/src/win...