Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bottom bar cannot be clicked on upon popping out the tool window #366

Closed
butterfli3s opened this issue Jun 26, 2022 · 2 comments · Fixed by #349
Closed

Bottom bar cannot be clicked on upon popping out the tool window #366

butterfli3s opened this issue Jun 26, 2022 · 2 comments · Fixed by #349

Comments

@butterfli3s
Copy link

OS: Windows 11 22H2
RCSG version: Git a3ccdb6
Unity version: Reproduced on 2021.3.4f1, 2021.3.5f1, 2022.1.6f1

Issue: When the edit modes window is popped out into dockable window, the bottom bar in the scene cannot be clicked on. Upon bringing it back into the scene view the bottom bar becomes clickable again.

Example (showcased on Unity 2022.1.6f1)
Unity_792Dx3mg0V

@butterfli3s butterfli3s changed the title Bottom bar cannot be clicked on upon popping out the window Bottom bar cannot be clicked on upon popping out the tool window Jun 26, 2022
@nukeandbeans
Copy link
Collaborator

nukeandbeans commented Jun 26, 2022

Changing line 81 of RealtimeCSG/Plugins/Editor/Scripts/Control/Managers/SceneViewEventHandler.cs from

SceneViewBottomBarGUI.ShowGUI( sceneView );

to

SceneViewBottomBarGUI.ShowGUI( sceneView, false );

fixes this bug. I'm curious as to when this change was reverted, as the fix existed previously.

Misread the issue, and I now see what you mean.

The correct fix is to comment out

if( Event.current.type == EventType.Repaint )

at line 79, under TooltipUtility.InitTooltip( sceneView );

@butterfli3s
Copy link
Author

Been discussing this issue with Kerfuffles on Discord and I already implemented said fix in my RCSG build; that fixes it for me.

FriskTheFallenHuman pushed a commit to FriskTheFallenHuman/RealtimeCSG that referenced this issue Jan 30, 2023
Co-authored-by: Zallist <Zallist@gmail.com>
Co-authored-by: Gawi <95928592+Gawidev@users.noreply.github.com>

* Update Window.mat and Window.png to support proper transparency and specularity.
* Fixes LogicalError#323
* Fixes LogicalError#355
* Fixes LogicalError#350
* Fixes LogicalError#319
* Fixes LogicalError#320
* Fixes LogicalError#354
* Fixes LogicalError#356
* Fixes LogicalError#365
* Fixes LogicalError#366
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants