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 do not display on hover on multi-monitor setups #94189

Closed
ShawnHardern opened this issue Jul 10, 2024 · 12 comments · Fixed by #95846
Closed

Tooltips do not display on hover on multi-monitor setups #94189

ShawnHardern opened this issue Jul 10, 2024 · 12 comments · Fixed by #95846

Comments

@ShawnHardern
Copy link

ShawnHardern commented Jul 10, 2024

Tested versions

Reproducible in: v4.3.beta3.mono, v4.2.2.stable.mono, Godot v4.2.1.stable.mono, Godot v4.2.stable.mono

System information

Godot v4.2.2.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 (NVIDIA; 32.0.15.5599) - AMD Ryzen 7 7700X 8-Core Processor (16 Threads)

Issue description

Tooltips fails to appear in the editor interface when hovering over editor buttons.

I have examined the Signals tab, Scene tab, and Movement Controls tab, but tooltips do not display in any of these areas.

Tooltips function correctly on a Linux laptop, suggesting the problem may be specific to Windows or related to my multi-monitor configuration

Steps to reproduce

  • Run Godot
  • Hover mouse over an editor tile where tooltip is expected to show

Minimal reproduction project (MRP)

N/A

@Calinou
Copy link
Member

Calinou commented Jul 10, 2024

Can you reproduce this after enabling Single Window Mode in the Editor Settings then restarting the editor?

Also, can you reproduce this after disabling that setting, but switching to the Compatibility rendering method in the top-right corner of the editor?

@ShawnHardern
Copy link
Author

Can you reproduce this after enabling Single Window Mode in the Editor Settings then restarting the editor?

Also, can you reproduce this after disabling that setting, but switching to the Compatibility rendering method in the top-right corner of the editor?

Yeah unfortunately able to reproduce in both cases

@ShawnHardern
Copy link
Author

ShawnHardern commented Jul 10, 2024

Yeah unfortunately able to reproduce in both cases

Update:

After some further experimentation completely restarting the application after applying Single Window Mode brings the tooltips back

Also once they have returned, disabling Single Window Mode and restarting the application tooltips seem to be back permanently

@Calinou
Copy link
Member

Calinou commented Jul 10, 2024

Also once they have returned, disabling Single Window Mode and restarting the application tooltips seem to be back permanently

Are you sure single-window mode is effective after restarting? You should notice the Editor Settings dialog having a different appearance when it's enabled (OS-native window borders are not used when it's active).

@ShawnHardern
Copy link
Author

ShawnHardern commented Jul 11, 2024

Are you sure single-window mode is effective after restarting? You should notice the Editor Settings dialog having a different appearance when it's enabled (OS-native window borders are not used when it's active).

Yes, I have observed the different appearance of the Editor Settings dialog when Single Window Mode is enabled, as you described.

Update:
Disabling and re-enabling Single Window Mode, followed by restarting the application, temporarily restored the tooltips.

Initially, I believed this solution was permanent, as the tooltips remained functional through multiple restarts and extensive use of the editor.

However, the tooltips continue to stop working intermittently, and repeating the aforementioned steps have not restored them.

@Caffeinix
Copy link

I can reproduce this in Godot 4.2.2 stable on Windows 11. This appears to be a problem with multiple displays. If I disable my secondary display, the editor tooltips come back. I have no better workaround than that, however.

@ShawnHardern
Copy link
Author

As @Caffeinix has pointed out, when I disable my additional monitors in the Windows display settings, leaving only one active, the tooltips function as expected

@Calinou Calinou changed the title Tooltips do not display on hover Tooltips do not display on hover on multi-monitor setups Aug 15, 2024
@jadoc
Copy link
Contributor

jadoc commented Aug 20, 2024

I'm not sure if this is related, but I also had problems with tooltips on multi-monitor displays. In my case, however, I found that the underlying problem was actually how Godot suppresses tooltips when WM_MOUSEMOVE events are firing, even if the mouse isn't actually moving. I filed #95845 to document that particular cause and proposed #95846 as the fix. The people on this thread might want to test if that change improves their observed symptoms.

@akien-mga
Copy link
Member

Reopening for now as the closing keyword in #95846 was a "maybe", so we should get it confirmed first.

@akien-mga akien-mga reopened this Aug 26, 2024
@akien-mga akien-mga added this to the 4.4 milestone Aug 26, 2024
@ShawnHardern
Copy link
Author

@jadoc @akien-mga, I will try give this a test as soon as I can 👍🏻

@ShawnHardern
Copy link
Author

ShawnHardern commented Aug 27, 2024

@akien-mga @jadoc did a build from master that includes this fix and this definitely seems to have done the trick

Screenshot 2024-08-27 234411

I tested dragging between different screens as I would usually, as well as open and closing external code editor, editing nodes etc and the tooltips remained

Screenshot 2024-08-27 234141

Screenshot 2024-08-27 233950

Screenshot 2024-08-27 234207

@akien-mga
Copy link
Member

Great, thanks for confirming!

Fixed by #95846.

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.

5 participants