View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0024744||2.x IDE Bugs||UI||Public||2016-11-24 16:05||2019-04-23 16:57|
|Reporter||Ross Manthorp||Assigned To||Steven Campbell|
|Priority||Medium||Severity||C - General||Reproducibility||100%|
|Platform||Windows||OS||Windows 10||OS Version||Windows 10|
|Target Version||Fixed in Version||2.2.0|
|Summary||0024744: UI: Windows 10 multiple desktop focus switching (crazy flickering)|
|Description||If a second IDE window is spawned and then moved to a second Windows 10 virtual desktop when moving to this second desktop the screen will flicker as the focus rapidly changes - before it gives us and returns to the first desktop...|
|Steps To Reproduce||1. Open the IDE|
2. Help -> Welcome Page
3. Pull out Welcome Page to a new IDE window
4. Create a new Windows 10 desktop and move this IDE window to the new desktop
5. Navigate to the new desktop
6. See flicker and return to the current desktop
|Additional Information||Serious flashing warning on this one FYI|
|Tags||IDE, rendering, UI|
|2.x IDE Found In||18.104.22.168|
|2.x Runtime Found In||9.9.1.|
|2.x IDE Verified In|
|2.x Runtime Verified In|
probably related to DesktopManager.BringDesktopsToFront which is called when a desktop gets focus to try and bring all ide windows to the front of other non-ide windows.
On windows 10 if the other 'ide desktop' window isn't on the same 'windows os desktop' as the window that gained focus then we shouldn't try to bring it to the front
GetWindowDesktopId - https://msdn.microsoft.com/en-us/library/windows/desktop/mt186441(v=vs.85).aspx
IsWindowOnCurrentVirtualDesktop - https://msdn.microsoft.com/en-us/library/windows/desktop/mt186442(v=vs.85).aspx
This was actually "fixed" by Chris as he removed the offending code due to issues on Mac.
"Remove code that forces all other desktops to the front on a desktop gaining focus then re-focuses the desktop that was triggering the focus event as it:
a) Seems unnecessary.
b) Relies on a hack that doesn’t always work on Mac."
||That was April 2017, so this has been out in public releases for a long time (quite a bit before 2.2.0, but that's the oldest version I can pick now). Closing.|