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

disappearing tooltips #262

Closed
totaam opened this issue Feb 16, 2013 · 9 comments
Closed

disappearing tooltips #262

totaam opened this issue Feb 16, 2013 · 9 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Feb 16, 2013

Issue migrated from trac ticket # 262

component: core | priority: minor | resolution: fixed

2013-02-16 23:32:39: onlyjob created the issue


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.

@totaam
Copy link
Collaborator Author

totaam commented Feb 24, 2013

2013-02-24 15:16:32: antoine changed status from new to assigned

@totaam
Copy link
Collaborator Author

totaam commented Feb 24, 2013

2013-02-24 15:16:32: antoine changed owner from ** to antoine

@totaam
Copy link
Collaborator Author

totaam commented Feb 24, 2013

2013-02-24 15:16:32: antoine edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Feb 24, 2013

2013-02-24 15:16:32: antoine commented


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.

@totaam
Copy link
Collaborator Author

totaam commented Apr 16, 2013

2013-04-16 19:02:50: totaam commented


See also #310

@totaam
Copy link
Collaborator Author

totaam commented Apr 19, 2013

2013-04-19 12:38:14: totaam commented


Looks fixed to me? Can I close?

Moving the tooltip resize/move issue to #319

(transparency is scheduled for later: #279)

@totaam
Copy link
Collaborator Author

totaam commented Apr 20, 2013

2013-04-20 02:18:35: onlyjob commented


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

@totaam
Copy link
Collaborator Author

totaam commented Apr 20, 2013

2013-04-20 04:27:59: totaam changed status from assigned to closed

@totaam
Copy link
Collaborator Author

totaam commented Apr 20, 2013

2013-04-20 04:27:59: totaam changed resolution from ** to fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant