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

bug in compiz and frame extents #1279

Closed
totaam opened this issue Aug 6, 2016 · 6 comments
Closed

bug in compiz and frame extents #1279

totaam opened this issue Aug 6, 2016 · 6 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 6, 2016

Issue migrated from trac ticket # 1279

component: client | priority: major | resolution: upstream | keywords: x11 ubuntu compiz frame extents

2016-08-06 15:50:19: antoine created the issue


This is just a tracker ticket for redirecting users to compiz where the bug belongs. Other window managers may have similar bugs.
Their bug tracker [http://bugs.compiz.org/] seems to be broken, so we'll just have to live with the ugly warning until someone fixes the compiz code.

As of r13253, the warning we print looks like this:

Warning: invalid frame extents value '[0, 0, 0, 0, 0, 0, 28, 0]'
 this is probably a bug in 'Compiz'
 using '[0, 0, 28, 0]' instead

What happens: for frame extents synchronization (#919), we send a _NET_REQUEST_FRAME_EXTENTS on the window we create for this purpose. The window is realized but not yet visible. (this is what seems to confuse compiz)
When we query the value of _NET_FRAME_EXTENTS, we get 8 32-bit values rather than 4.

This can easily be tested using this GTK test application: [/browser/xpra/trunk/src/tests/xpra/x11/get_frame_extents.py].
It prints the window's XID, so you can also use xprop to verify that the bug is not in the xpra X11 glue code.

@totaam
Copy link
Collaborator Author

totaam commented Aug 6, 2016

2016-08-06 15:51:26: antoine changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 6, 2016

2016-08-06 15:51:26: antoine set resolution to upstream

@totaam
Copy link
Collaborator Author

totaam commented Aug 6, 2016

2016-08-06 15:51:26: antoine commented


this is not a bug in xpra.

@totaam totaam closed this as completed Aug 6, 2016
@totaam
Copy link
Collaborator Author

totaam commented Aug 9, 2016

2016-08-09 15:43:26: antoine commented


FWIW: had a look at the compiz code and it looks fine, yet even xprop reports the wrong values..

@totaam
Copy link
Collaborator Author

totaam commented Oct 30, 2016

2016-10-30 05:07:11: antoine commented


Try harder to avoid errors when we get the wrong values: r14331. (backport in r14332)

@totaam
Copy link
Collaborator Author

totaam commented Sep 26, 2018

2018-09-26 13:08:03: antoine commented


Warning message fix: r20535.

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