godot icon indicating copy to clipboard operation
godot copied to clipboard

Tooltips do not display on hover on multi-monitor setups

Open sighpher opened this issue 1 year ago • 10 comments

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

sighpher avatar Jul 10 '24 23:07 sighpher

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?

Calinou avatar Jul 10 '24 23:07 Calinou

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

sighpher avatar Jul 10 '24 23:07 sighpher

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

sighpher avatar Jul 10 '24 23:07 sighpher

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).

Calinou avatar Jul 10 '24 23:07 Calinou

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.

sighpher avatar Jul 11 '24 00:07 sighpher

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.

Caffeinix avatar Aug 14 '24 14:08 Caffeinix

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

sighpher avatar Aug 14 '24 17:08 sighpher

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.

jadoc avatar Aug 20 '24 05:08 jadoc

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

akien-mga avatar Aug 26 '24 20:08 akien-mga

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

sighpher avatar Aug 26 '24 21:08 sighpher

@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

sighpher avatar Aug 27 '24 22:08 sighpher

Great, thanks for confirming!

Fixed by #95846.

akien-mga avatar Aug 28 '24 06:08 akien-mga