Hi,

Steps to reproduce the Jumpy Windows Menu (as seen on Law and Order):

#1 Fire up GSTest.app
#2 Tear off the windows menu, stick it somewhere you can see it.
#3 start opening up windows from the Tests window.

The "Windows" menu is resized in a funny way: first, the contentsize changes so
the window expands upwards with the origin holding steady; and second, the
frame origin is modified and shifts the larger window down.

Possible solution:

In NSMenu.m, sizeToFit: make this modification (I'd send a patch, but the
blasted CVS server is not responding.)

  windowFrame = [_aWindow frame];
  [_aWindow setFrame: NSMakeRect(NSMinX(windowFrame),
                                 (NSMaxY(windowFrame) - size.height),
                                 size.width,
                                 size.height)
             display: NO];

  windowFrame = [_bWindow frame];
  [_bWindow setFrame: NSMakeRect(NSMinX(windowFrame),
                                 (NSMaxY(windowFrame) - size.height),
                                 size.width,
                                 size.height)
             display: NO];

Oh, heads up, this is against Willem's changes.

Cheers,

Michael


_______________________________________________
Bug-gnustep mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to