From: Fay J. F C. AAC/W. <joh...@eg...> - 2004-02-27 23:42:15
|
The GLUT "walker" demo uses two windows with menus and submenus. GLUT's "glutmech" uses one window with multiple levels of menu. John F. Fay joh...@eg... -----Original Message----- From: fre...@li... [mailto:fre...@li...]On Behalf Of Richard Rauch Sent: Friday, February 27, 2004 5:30 PM To: fre...@li... Subject: Re: Display before reshape bug on SGI/Sun (was: Re: [Freeglut-developer] glutDisplayFunc(), window->State.Redisplay, and GLUT_OFFSCREEN.) <snip> I think that the gamemode demo ("One") uses two or more windows with menus, doesn't it? -- "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |
From: Fay J. F C. AAC/W. <joh...@eg...> - 2004-03-22 15:21:40
|
Did these menu issues ever get settled? Can the bugs still be reproduced? John F. Fay joh...@eg... -----Original Message----- From: fre...@li... [mailto:fre...@li...]On Behalf Of Richard Rauch Sent: Friday, February 27, 2004 5:30 PM To: fre...@li... Subject: Re: Display before reshape bug on SGI/Sun (was: Re: [Freeglut-developer] glutDisplayFunc(), window->State.Redisplay, and GLUT_OFFSCREEN.) On Fri, Feb 27, 2004 at 04:54:14PM +0100, wave++ wrote: [...] > > > Menus are still broken here however. I occasionally receive fatal > > > badmatch errors from GLX. > > > > That's not good. I've never seen that happen with menus, but the > > menus certainly need some work. > > > > Can you reliably produce it? Can you do this on an XFree86 system > > with a local X server? (I ask the latter because that's the easiest > > thing for me to test. A remote X server would be doable. Non-XFree86 > > servers would be a bit of a problem for me right now.) > > It's quite reproducible. The problem seems to be related with submenus. > The example program "One" crashes consistently if you move into a > submenu (it displays fine though). Hum. I have some old programs that use GLUT menus. With them, I noticed: 1 For some programs, menus do *not* ever go away. 2 If you have two windows with menus, it is possible to get both windws up at once. (Possibly this is what is confusing freeglut for the first problem?) 3 It is possible to crash my *X* server (screen goes black and I'm dropped back to the text console that I logged in on). This may or may not be menu-related. But it's very nasty. It feels menu-related, based on the interaction, but I can't be sure at this time. I think that the gamemode demo ("One") uses two or more windows with menus, doesn't it? -- "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |
From: Richard R. <sf...@ol...> - 2004-03-22 16:41:17
|
On Mon, Mar 22, 2004 at 09:19:55AM -0600, Fay John F Contr AAC/WMG wrote: > Did these menu issues ever get settled? Can the bugs still be reproduced? "One" has me nervous to even try to run it anymore. XFree86 has had a bad history with resolution changes for me, and the last time I tried it on WIN32, it actually died and left WIN32 stuck in the horribly low resolution that "One" asked for---with the WIN32 task bar/menu bar offscree so I couldn't even fix it! However, I was able to bring up two menus simultaneously in the "One" demo recently, so you might start with that. Nigel and I kicked around some options for this. One is to simply throw out menus. (I'd rather keep them around.) Another is to punt and do what old GLUT did. I outlined a third approach on the freeglut lists around in October which basically involves simplifying the state machine used to track menu status. While it wouldn't automatically fix all problems, it would make it easier to debug and *some* problems should go away. But you'd wind up with different menu behavior at the user level, which may go against freeglut's grain. (Certainly no one showed any interest in my proposal back then. (^&) --=20 "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |
From: Richard R. <sf...@ol...> - 2004-02-28 10:16:35
|
On Fri, Feb 27, 2004 at 05:39:28PM -0600, Fay John F Contr AAC/WMG wrote: > The GLUT "walker" demo uses two windows with menus and submenus. GLUT's > "glutmech" uses one window with multiple levels of menu. Sorry for not being clear. I didn't mean submenus when I said more than one menu. (I tend to assume that if you're doing menus, you almost always have submenus, so I treat that as "one menu".) Yes, the Walker demo seems to work okay. I'll keep an eye out for whatever may be causing these problems. --=20 "I probably don't know what I'm talking about." http://www.olib.org/~rkr/ |