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

server-side warning: CompositeHelper::shm-handle after class was initialised #667

Closed
totaam opened this issue Aug 30, 2014 · 10 comments
Closed

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 30, 2014

Issue migrated from trac ticket # 667

component: server | priority: major | resolution: invalid

2014-08-30 08:49:38: onlyjob created the issue


On 0.14.4 and I've noticed that mouse cursor is not changing shape when hovered on text fields, borders etc. I've tried re-attaching several times and only on fifth attempt cursor forwarding worked. I've checked server log and found the following errors that appear on every xpra upgrade:

/usr/lib/python2.7/dist-packages/gobject/__init__.py:115: Warning: \
    Attempt to add property xpra+x11+gtk_x11+composite+CompositeHelper::shm-handle after class was initialised
  type_register(cls, namespace.get('__gtype_name__'))
@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 08:59:30: totaam edited the issue description

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 08:59:30: totaam commented


The mouse cursor not changing shape sounds like it could be related to the recently fixed bug which was causing full server crashes on Ubuntu 12.04: r7457. (I fixed the crash - noting that I did not really understand why the cursor call failed...)

More information should be available in the log with -d cursor.

As for the CompositeHelper warning, this class has not changed (at least not substantially, or anything related to gobject) in years. Why is this only showing up now is good question.
More than likely, this is a completely different issue.

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 09:47:53: onlyjob commented


This is very confusing but I can't reproduce problem with cursor shape any more. Nothing seems to change which is quite strange...

As for CompositeHelper warning I am not sure when it started to happen. I had no reason to check server log for a while...

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 10:30:58: totaam changed owner from antoine to onlyjob

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 10:30:58: totaam commented


A good way to test cursor issues (apart from including -d cursor output):

  • [/browser/xpra/trunk/src/tests/xpra/test_apps/test_all_cursors.py test_all_cursors.py] allows you to choose a cursor from a list to verify it gets forwarded correctly
  • [/browser/xpra/trunk/src/tests/xpra/test_apps/test_custom_cursor.py test_custom_cursor.py] paints a custom cursor with flashy colors, to verify colors are also forwarded correctly

Both work fine here with 0.14.x and trunk.


As for the server gobject warning, I am unable to reproduce it on Debian Wheezy with the xpra.org deb package of 0.14.4 or with a clean source install from trunk.

xpra start --no-daemon --start-child=xterm :10

I attach:

xpra attach --no-mmap

Then upgrade it:

xpra upgrade --no-daemon

The warning is nowhere to be seen in any of those sessions.

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 16:49:46: onlyjob commented


I see... After countless session restarts I did not see any cursor issues any more. Perhaps it could be a temporary unresponsive application due to heavy IO?
Anyway please feel free to close this ticket unless you want to keep it open to track warning. I have a mix of packages from "wheezy" and from "testing" so something from "jessie" might have caused this. I'll report if I manage to find more details. Thanks.

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 16:55:59: totaam changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 16:55:59: totaam changed resolution from ** to invalid

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 16:55:59: totaam changed title from server-side errors to server-side warning: CompositeHelper::shm-handle after class was initialised

@totaam
Copy link
Collaborator Author

totaam commented Aug 30, 2014

2014-08-30 16:55:59: totaam commented


OK, closing. If anyone ever hits this warning anywhere, please re-open.

@totaam totaam closed this as completed Aug 30, 2014
@totaam totaam added the v0.14.x label Jan 22, 2021
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