Search Issue Tracker

Fixed in 2020.2

Votes

0

Found in

2020.1.0a23

2020.1.1f1

2020.2

Issue ID

1269177

Regression

Yes

[Mac] Tooltip and certain buttons in the Editor cause loss of focus on top level windows when VS or VS Code debugger is attached

IMGUI

-

How to reproduce:
1. Open the attached "1269177_repro.zip" project
2. Open the "Example.cs" script with Visual Studio
3. Make sure "Attach to Unity" is selected in the Visual Studio's toolbar
4. Press Run in the Visual Studio
5. Go back to the Unity Editor
6. Select any GameObject in the Hierarchy window
7. Open another application, so Unity Editor would be out of focus
8. Hover on one of the selected GameObject's properties in the Inspector window (See attached "1269177_Macrepro.mp4")

Expected result: No tooltip is shown since Unity Editor is not in focus
Actual result: Tooltip appears, the opened application loses focus and now the Unity Editor is in focus

Reproducible with: 2020.1.0a23, 2020.1.3f1, 2020.2.0a21
Not reproducible with: 2018.4.26f1, 2019.4.9f1, 2020.1.0a22

Notes:
- The issue is also reproducible when the opened application is on top of some of the buttons in the Editor (Play, Pause, Account, Layers, Layout, and on the Scene view navigation tools). Clicking left mouse button in the opened application, still opens the Unity Editor (See attached "1269177_Macrepro.mp4")
- The issue is reproducible when debugging with Visual Studio and Visual Studio Code
- The issue is only reproducible on Mac OS
- The issue is not reproducible when debugging with Rider

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in: 2021.1.0a1

    MacOS: Fixed Unity tooltips from stealing focus when attached to a debugger.

Comments (1)

  1. 664601fbaf7a582dbbc497ca49c48a56?d=mm

    gfafa456

    Aug 27, 2020 03:34

    There are a lot of problems that occur on the computer. There is a loss of top-level windows due to tooltip and certain buttons in the editors. To overcome this problem you have to access this article and visit the site https://www.bestwritingservicecanada.com/affordable-papers-review/. Here all information is given about this type of loss.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.