- Home /
BUG REPORT: Editor Docked windows do not change focus properly.
Hello community.
I've been working with EditorWindows, and i've ran into a very annoying problem that seems more like a visual bug on the Unity Editor.
How to recreate: 1- Create 2 editor windows 2- Add a textfield to each one of them, like this: "objName = EditorGUILayout.TextField ("Name", objName);" 3- Dock them in the same group. 4- Type something on a textfield 5- Change the tab, and watch the value propagate to the other window.
If you type enter before changing, or change without focus on the textbox, nothing wrong happens. But the weirdest part is that if you check the focusedwindow variable, it shows properly which windows has the focus, but you don't get "OnLostFocus" events, and does not lose focus if the docked window is not visible.
Any workarounds?
Use the bug reporter app to submit bug reports. Posting them here won't do any good.
Just did it. $$anonymous$$aybe it's not a bug and i'm doing something wrong, so i figure i should ask here.
Your answer
Follow this Question
Related Questions
Is there an EditorWindow is docked value? 2 Answers
Editor menus are invisible 1 Answer
Unity3D Serialization Bug 0 Answers