From: Diederick C. N. <dc...@gm...> - 2012-07-23 10:54:56
|
Hi Manfred, Your email and discussion with Ioannis have sparked a bunch of changes to the windows side of things, menus are working much nicer there now. But that doesn't help you at all. So list, does anyone have an idea about the Linux side of things what happened to the menus? And maybe even a fix? Manfred, should you have foun out something by now, please do let us know. Best, Dee On Tue, Jun 19, 2012 at 1:24 AM, Manfred Spraul <ma...@co...>wrote: > Hi, > > I know that it is impolite to send personal mails, but it seems that I > can't post to the freeglut-developer list :-( > > Do you have any idea what could be causing the problem described below? > Feel free to forward the mail to the mailing list. > > -- > Manfred > > > -------- Original Message -------- Subject: incompatibility between > freeglut-2.6 and freeglut-2.8 with menus Date: Sun, 17 Jun 2012 14:12:33 > +0200 From: Manfred Spraul <ma...@co...><ma...@co...> To: > fre...@li... > > Hi, > > I've observed that the (popup) menu from cgx stopped working after > upgrading from freeglut-2.6 to freeglut-2.8. > The code works with glut-3.5, freeglut-2.4, freeglut-2.6. > With freeglut-2.8 it stopped working. > I've tested with freeglut-2.8.0 from Fedora FC17. > As far as I can see, it's based onfreeglut-2.8.0.tar.gz from Jan 2012 > without any changes. > (1 patch that affects the -L flags for the demos) > > Are there any known bugs? > Are any special initializations required? > > Attached is a test case: freeglut-2.6 shows a menu, freeglut-2.8 doesn't. > The full cgx source code is available from http://calculix-rpm.sourceforge.net/ > > -- > Manfred > > > > > > |
From: Diederick C. N. <dc...@gm...> - 2012-07-24 15:25:24
|
This issue comes up on the bug tracker as well, so its fair to assume there are a decent amount of users out there suffering from this problem. Could someone look into this? The "one" or the callback maker (first window) demos have menus. Best, Dee On Mon, Jul 23, 2012 at 6:54 PM, Diederick C. Niehorster <dc...@gm...>wrote: > Hi Manfred, > > Your email and discussion with Ioannis have sparked a bunch of changes to > the windows side of things, menus are working much nicer there now. But > that doesn't help you at all. > > So list, does anyone have an idea about the Linux side of things what > happened to the menus? And maybe even a fix? > > Manfred, should you have foun out something by now, please do let us know. > > Best, > Dee > On Tue, Jun 19, 2012 at 1:24 AM, Manfred Spraul <ma...@co...>wrote: > >> Hi, >> >> I know that it is impolite to send personal mails, but it seems that I >> can't post to the freeglut-developer list :-( >> >> Do you have any idea what could be causing the problem described below? >> Feel free to forward the mail to the mailing list. >> >> -- >> Manfred >> >> >> -------- Original Message -------- Subject: incompatibility between >> freeglut-2.6 and freeglut-2.8 with menus Date: Sun, 17 Jun 2012 >> 14:12:33 +0200 From: Manfred Spraul <ma...@co...><ma...@co...> To: >> fre...@li... >> >> Hi, >> >> I've observed that the (popup) menu from cgx stopped working after >> upgrading from freeglut-2.6 to freeglut-2.8. >> The code works with glut-3.5, freeglut-2.4, freeglut-2.6. >> With freeglut-2.8 it stopped working. >> I've tested with freeglut-2.8.0 from Fedora FC17. >> As far as I can see, it's based onfreeglut-2.8.0.tar.gz from Jan 2012 >> without any changes. >> (1 patch that affects the -L flags for the demos) >> >> Are there any known bugs? >> Are any special initializations required? >> >> Attached is a test case: freeglut-2.6 shows a menu, freeglut-2.8 doesn't. >> The full cgx source code is available from http://calculix-rpm.sourceforge.net/ >> >> -- >> Manfred >> >> >> >> >> >> > |
From: John T. <nu...@me...> - 2012-07-25 01:01:19
|
On Tue, Jul 24, 2012 at 11:25:12PM +0800, Diederick C. Niehorster wrote: > This issue comes up on the bug tracker as well, so its fair to assume there > are a decent amount of users out there suffering from this problem. Could > someone look into this? The "one" or the callback maker (first window) > demos have menus. I'll try to allocate time to look into it before the weekend, but I pretty much never used GLUT menus, and I never looked at the FreeGLUT implementation of menus before, so I can't promise anything. Also it doesn't help that I don't care about glut menus at all, my only incentive here is that I'd like freeglut to be a complete glut replacement :) If I don't say anything until the weekend, I must have forgotten it completely, in which case poke me with a stick or something :) -- John Tsiombikas http://nuclear.mutantstargoat.com/ |
From: Diederick C. N. <dc...@gm...> - 2012-07-25 04:42:30
|
Thanks John! I found that with putting a few tracer printfs in functions like fgCheckActiveMenu (in fg_menu.c) one can get pretty far. Thats the function that needs to be called, and execution of which needs to end up in its last few lines, for a menu to be opened. Thats a good starting point maybe. Thanks again! Dee On Wed, Jul 25, 2012 at 9:01 AM, John Tsiombikas <nu...@me...> wrote: > On Tue, Jul 24, 2012 at 11:25:12PM +0800, Diederick C. Niehorster wrote: >> This issue comes up on the bug tracker as well, so its fair to assume there >> are a decent amount of users out there suffering from this problem. Could >> someone look into this? The "one" or the callback maker (first window) >> demos have menus. > > I'll try to allocate time to look into it before the weekend, but I > pretty much never used GLUT menus, and I never looked at the FreeGLUT > implementation of menus before, so I can't promise anything. > Also it doesn't help that I don't care about glut menus at all, my > only incentive here is that I'd like freeglut to be a complete glut > replacement :) > > If I don't say anything until the weekend, I must have forgotten it > completely, in which case poke me with a stick or something :) > > -- > John Tsiombikas > http://nuclear.mutantstargoat.com/ > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Freeglut-developer mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freeglut-developer |
From: John T. <nu...@me...> - 2012-07-28 18:43:35
|
On Wed, Jul 25, 2012 at 12:42:23PM +0800, Diederick C. Niehorster wrote: > Thanks John! > > I found that with putting a few tracer printfs in functions like > fgCheckActiveMenu (in fg_menu.c) one can get pretty far. Thats the > function that needs to be called, and execution of which needs to end > up in its last few lines, for a menu to be opened. Thats a good > starting point maybe. The build is broken on UNIX at the moment, in revision 1368 you added some windows-specific code in src/fg_menu.c see svn blame, for instance: 1368 dcnieho POINT mouse_pos; 1368 dcnieho GetCursorPos(&mouse_pos); Could you factor that out into the mswin/ subdir? Until then I'll try to find the X11 menu problem working from the last good revision. -- John Tsiombikas http://nuclear.mutantstargoat.com/ |