Xpra: Ticket #262: disappearing tooltips

I've noticed an interesting problem with tooltips in filelight: When mouse is over the folders there is a semi-transparent rectangle tooltip with folder name, size and number of files.

If filelight is running within Xpra session there are number of problems with popup tooltips:

When those popups are displayed the following appears in server log:

not found transient_for=<gtk.gdk.Window object at 0x7ffca2bb2d70 (GdkWindow at 0x7ffca2ba46c0)>, xid=77594628
not found transient_for=<gtk.gdk.Window object at 0x7ffca2bb2d70 (GdkWindow at 0x7ffca2ba46c0)>, xid=77594628
not found transient_for=<gtk.gdk.Window object at 0x7ffca2bb2d70 (GdkWindow at 0x7ffca2ba46c0)>, xid=77594628
not found transient_for=<gtk.gdk.Window object at 0x7ffca2bb2d70 (GdkWindow at 0x7ffca2ba46c0)>, xid=77594628
not found transient_for=<gtk.gdk.Window object at 0x7ffca2bb2d70 (GdkWindow at 0x7ffca2ba46c0)>, xid=77594628

Just before those tooltips disappear completely the following appears in log (and the above log records are stop appearing):

the window <OverrideRedirectWindowModel object at 0x1acec30 (wimpiggy+window+OverrideRedirectWindowModel at 0x3bc4b40)> is not composited!?
the window <OverrideRedirectWindowModel object at 0x1acec30 (wimpiggy+window+OverrideRedirectWindowModel at 0x3bc4b40)> is not composited!?
the window <OverrideRedirectWindowModel object at 0x1acec30 (wimpiggy+window+OverrideRedirectWindowModel at 0x3bc4b40)> is not composited!?

I'm creating its own ticket for this issue as it is not related to #258.



Sun, 24 Feb 2013 15:16:31 GMT - Antoine Martin: status, description changed; owner set

Confirmed

The not found transient_for= messages should not occur, but they be harmless when they do. It only means that the tooltips will not have this "transient-for" property set. Here's what the docs say: The set_transient_for() method indicates to the window manager that the window is a transient dialog associated with the application window leader. This allows the window manager to do things like center the window on leader and keep the window above leader. See the gtk.Window.set_transient_for() method if you're using a gtk.Window or gtk.Dialog. Strange thing is that when I tried to find the parent window by using its xid with xlsclients -l, it wasn't there.

Another thing that is a little odd is that you can have more than one tooltip shown at a time, and it looks like the app does not really expect that. I think it's something to do with focus/raising other windows.

The other message, the the window ... is not composited!? can happen if the window got destroyed before we process damage for it. It's a little odd to see this when I'm pretty sure there wasn't any batching going on.


Tue, 16 Apr 2013 18:02:49 GMT - Antoine Martin:

See also #310


Fri, 19 Apr 2013 11:38:14 GMT - Antoine Martin:

Looks fixed to me? Can I close?

Moving the tooltip resize/move issue to #319

(transparency is scheduled for later: #279)


Sat, 20 Apr 2013 01:18:35 GMT - onlyjob:

As of r3118 tooltips no longer disappear so I believe this bug can be closed. Thanks.


Sat, 20 Apr 2013 03:27:59 GMT - Antoine Martin: status changed; resolution set


Sat, 23 Jan 2021 04:49:55 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/262