On Wayland, the following is logged into console and no tooltip is visible or it is displayed at the top left:
Gdk-Message: 06:04:40.431: Window 0x252d550 is a temporary window without parent, application will not be able to position it on screen.
... | ... |
@@ -84,6 +84,7 @@ class NullAction(DragAction): |
84 | 84 |
if item is None: |
85 | 85 |
item = dot_widget.get_jump(x, y) |
86 | 86 |
if item is not None: |
87 |
+ NullAction._tooltip_window.set_transient_for(dot_widget.get_toplevel()) |
|
87 | 88 |
dot_widget.get_window().set_cursor(Gdk.Cursor(Gdk.CursorType.HAND2)) |
88 | 89 |
dot_widget.set_highlight(item.highlight) |
89 | 90 |
if item is not NullAction._tooltip_item: |