Search Issue Tracker
Won't Fix
Votes
0
Found in
5.3.2p1
Issue ID
807615
Regression
No
OnApplicationFocus not called when returning to game with Win+D
Steps to reproduce:
1. Open attached project ("focus.zip")
2. Add "scene" scene to build settings
3. Build and run for Windows
4. Run in fullscreen mode("fullscreen.gif" attached):
5. Notice label showing OnApplicationFocus = true
6. Press Win+D
7. Press Win+D again and notice how game isn't brought back up to foreground
8. Notice that if you press Game application on taskbar it is brought back up and shows OnApplicationFocus correctly
Expected behavior in fullscreen mode: Second time you press Win+D the game application is brought back to foreground
9. Run in windowed mode("windowed.gif" attached):
10. Notice label showing OnApplicationFocus = true
11. Press Win+D twice
12. Notice how OnApplicationFocus(true) is not called and game shows that application is not being focused
13. Try to press on Game Application window
14. Notice that OnApplicationFocus isn't called
15. Notice that if you focus another application and then close it, Game application gets focused
Expected behavior in windowed mode: Second time you press Win+D OnApplicationFocus is called returning true
Reproduced with: 5.3.2f1, 5.3.5p5, 5.4.0b22
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Add comment