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

Tooltips are not shown when the scene tree is paused. #29362

Closed
ghost opened this issue Jun 1, 2019 · 4 comments · Fixed by #43693
Closed

Tooltips are not shown when the scene tree is paused. #29362

ghost opened this issue Jun 1, 2019 · 4 comments · Fixed by #43693

Comments

@ghost
Copy link

ghost commented Jun 1, 2019

Godot version: master (e9be875)

OS/device including version: Arch Linux

Issue description: Tooltips are not shown when the scene tree is paused.

This is possibly caused by tooltip_timers being managed in the root viewport's NOTIFICATION_INTERNAL_PROCESS. The root viewport likely has a PAUSE_MODE_INHERIT by default, so the notification in question won't be sent when the tree is paused.

Steps to reproduce:

  • Add a control with a tooltip.
  • Hover it while unpaused. The tooltip will show up normally.
  • Pause the scene tree.
  • Hover the control while paused. The tooltip won't show up, regardless of the control's own pause_mode.

Minimal reproduction project: pause-tooltip.zip

@KoBeWi
Copy link
Member

KoBeWi commented Dec 15, 2019

Likely related: #29101

@ktosox
Copy link

ktosox commented Jun 18, 2020

Any hope of this ever getting resolved? Just wondering as it's not an obvious behavior and it's not noted in the documentation. Took me over an hour of flipping my project upside down to figure out that it was the pause state of the tree that caused hints to sometimes not show up.

@KoBeWi
Copy link
Member

KoBeWi commented Jun 18, 2020

Just wondering as it's not an obvious behavior and it's not noted in the documentation.

Maybe this should just be mentioned in the docs...

@chucklepie
Copy link

@KoBeWi
A typical use-case is in almost every game the options/config window is made visible and the game behind paused. But doing this means tooltips won't work and a custom solution recreating all of tooltips is required by.

So I would imagine this could affect a lot of people and is more of a bug than an enhancement.

@akien-mga akien-mga added this to the 4.0 milestone Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants