Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2018.1.9f1
Issue ID
1080560
Regression
No
Application.isFocused is true when starting the build application and while in Unity intro screen unfocusing the window
How to reproduce:
1. Open attached project "ApplicationFocusTest.zip"
2. Build the 'ApplicationFocusTest' application by going to File -> Build & Run
3. Minimize every program except the 'ApplicationFocusTest Configuration'
4. In 'ApplicationFocusTest Configuration' set screen resolution to '1024x600', enable 'Windowed' mode and press 'Play!'
5. Immediately after pressing 'Play!' click on the desktop to unfocus the 'ApplicationFocusTest' application
6. Observe 'ApplicationFocusTest' application content
Expected result: the application displays 'Out of Focus'
Actual result: the application displays 'On Focus'
Reproducible with: 2017.1.5f1, 2017.4.11f1, 2018.1.9f2, 2018.3.0b2, 2019.1.0a1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Alloc
Dec 04, 2019 19:32
This is still an issue in 2019.1.0f2, it's definitely *not* fixed.
Even more so you don't get any OnApplicationFocused events until after you focused the windows the first time, i.e. the first focus event is not given.