[Piglit] [PATCH] util: Warn and report SKIP when we get a window resize during an auto run.

Eric Anholt eric at anholt.net
Thu Jul 19 13:38:23 PDT 2012


Brian Paul <brianp at vmware.com> writes:

> On 07/18/2012 06:20 PM, Eric Anholt wrote:
>> We've got a bunch of instances of this happening intermittently during
>> runs with gnome-shell.  Because our tests are not generally able to
>> handle resizes, they would show up as spurious failures that are hard
>> to reproduce.  Instead, provide a diagnostic message and just report
>> SKIP.
>
> If/when we someday move away from using GLUT and were to use Xlib 
> directly, we could try using XSetWMSizeHints() to set the min and max 
> window size equal to the initial size.  Hopefully that would solve the 
> issue.

There are error messages coming out of gnome-shell that sound like it's
race conditions triggering its window tracking getting totally screwed.
owen said he didn't think they had done anything that would
intentionally disrespect the apps choices differently from metacity.  So
I'm assuming this is just a WM bug and not something we need to change
behavior for, other than saving ourselves some debugging time while it
continues to exist.

https://bugzilla.gnome.org/show_bug.cgi?id=680214
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20120719/61a6ff6b/attachment.pgp>


More information about the Piglit mailing list