sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

Tooltip location with wrong y-offset on multi-monitor setup

Open jnns opened this issue 3 years ago • 2 comments
trafficstars

Description of the bug

When hovering over a button (for example the switches in the search form), a tooltip is shown with a huge distance to the respective button. Depending on the location and size of the Sublime Text window the tooltip is outside the display area and cannot be seen at all. This only happens in a multi-monitor setup.

Steps to reproduce

  1. Set your desktop environment to use a multi-monitor setup.
  2. Start Sublime Text in safe-mode.
  3. Open up search dialog.
  4. Hover over Regular Expression switch.
  5. Notice that the tooltip is not visible (in fullscreen) or positioned way below the respective button when the Sublime Text window is small and there's a good amount of space between the lower edge of the window and the lower edge of the screen.

Single-monitor mode Bildschirmfoto vom 2022-07-27 09-31-42

Multi-monitor mode Bildschirmfoto vom 2022-07-27 09-32-23

Expected behavior

The tooltip should always be shown in the same location.

Actual behavior

The y-offset is too high and the tooltip is not discoverable or sometimes not visible at all.

Sublime Text build number

4134

Operating system & version

Fedora 36

(Linux) Desktop environment and/or window manager

Gnome 42 + Wayland

Additional information

  • mutter 42.3-1.fc36
  • gnome-shell 42.3.1-1.fc36

OpenGL context information

OpenGL Context Information:
  GL API Version: 4.6 (Core Profile) Mesa 22.1.4
  GLSL Version: 4.60
  Vendor: Intel
  Renderer: Mesa Intel(R) UHD Graphics 620 (KBL GT2)

jnns avatar Jul 27 '22 07:07 jnns

I can't reproduce this under Gnome 42 Wayland. Does it happen in other apps?

Screencast from 24-08-22 16:38:43 (copy).webm

BenjaminSchaaf avatar Aug 24 '22 06:08 BenjaminSchaaf

Can't say for sure if only Sublime is effected. I only noticed it in Sublime but will check more thoroughly when I'm back from vacation.

Thanks for looking into it.

jnns avatar Aug 24 '22 06:08 jnns

Closing due to inactivity.

BenjaminSchaaf avatar Mar 19 '24 06:03 BenjaminSchaaf