Description of problem: calculix cgx does not work properly with freeglut-2.8.0 with freeglut-2.6.0, everything works. Version-Release number of selected component (if applicable): freeglut-2.8.0 How reproducible: 100% reproducible: the menu does not show up Steps to Reproduce: 1. Download & install cgx-2.4.1, cgx-examples-2.4.1, libSNL-0.2-2 from http://calculix-rpm.sourceforge.net/ 2. run $ cgx /usr/share/cgx-examples-2.4/result.frd 3. Perform a left mouse click on the left side of the main window (left side from the 3D image of the part) Actual results: No menu is shown Expected results: A menu is shown Additional info: After manually downgrading to freeglut-2.6.0-6.fc15.x86_64, everything works. The menu appears to be created with the following commands: <<< from cgx.c, function createNewMainMenu() glutAddMenuEntry( " -QUIT- ", 5); glutAttachMenu(GLUT_LEFT_BUTTON); glutSetWindow( activWindow); >>>
Created attachment 592422 [details] Test app that shows the problem I've created a shorter test to show the problem: Just compile it and compare freeglut-2.6 and freeglut-2.8: With freeglut-2.6, a left mouse click shows a menu. With freeglut-2.8, no menu is shown. Test done with FC17, manually downgraded to freeglut-2.6 from fc15. Steps to build: $ gcc -lglut -lGL glutnomenu.c
Hello Manfred, thank you for the report. I'm not sure I will have time to look into it this week but will definitely try to.
Hi Tomas, Could you try the "one" sample app from freeglut? BUILD/freeglut-2.8.0/progs/demos/One/One.c On my computer, it doesn't work with freeglut-2.8.0. (first, press ESC to leave game mode. Then there should be menus) I've contacted the freeglut-developer mailing list: http://sourceforge.net/mailarchive/forum.php?thread_name=CABcAi1jNkz31ztQn%2Bn4QwbHNhH5gmGSjtB4rntXqSzMOPNu1TA%40mail.gmail.com&forum_name=freeglut-developer
Thank you! I'm subscribed to the list... I can see there is some progress reported in the thread.
Created attachment 604516 [details] backported patch from upstream Derived from Patch writen by John Tsiombika: http://freeglut.svn.sourceforge.net/viewvc/freeglut?view=revision&revision=1375 > > Fixed broken X11 menus. The MPX patch would naively just > call the standard (non-multi) callbacks directly, > overriding all the menu-handling logic in the standard > X event processing loop. >
Created attachment 604519 [details] Patch against ~/rpmbuild Proposed fix (change spec file, add new patch file)
Thanks for the patches. I have finally gotten to test them myself and they seem to be working OK.
freeglut-2.8.0-6.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/freeglut-2.8.0-6.fc18
freeglut-2.8.0-6.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/freeglut-2.8.0-6.fc17
freeglut-2.8.0-6.fc17 fixes the bug.
Package freeglut-2.8.0-6.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeglut-2.8.0-6.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-11924/freeglut-2.8.0-6.fc17 then log in and leave karma (feedback).
Unfortunatelly there is a regression reported in Bodhi: https://admin.fedoraproject.org/updates/FEDORA-2012-11924/freeglut-2.8.0-6.fc17 There were more changes made to freeglut in F-17 between the releases 3 and 6, but the other changes are unlikely to be at fault here. I can't push the update any further.
(In reply to comment #12) > Unfortunatelly there is a regression reported in Bodhi: > > https://admin.fedoraproject.org/updates/FEDORA-2012-11924/freeglut-2.8.0-6.fc17 > It was me. Just wanted to mention that the regression with Atlas doesn't exist with the current svn trunk of freeglut. Tested with r1388.
(In reply to comment #13) > It was me. Just wanted to mention that the regression with Atlas doesn't > exist with the current svn trunk of freeglut. Tested with r1388. Thanks for the update. It might have been this one: http://freeglut.svn.sourceforge.net/viewvc/freeglut?view=revision&sortby=log&sortdir=down&revision=1386 I will create a combined patch and build another testing release.
freeglut-2.8.0-7.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/freeglut-2.8.0-7.fc18
freeglut-2.8.0-7.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/freeglut-2.8.0-7.fc17
Package freeglut-2.8.0-7.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing freeglut-2.8.0-7.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-12891/freeglut-2.8.0-7.fc17 then log in and leave karma (feedback).
freeglut-2.8.0-7.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
freeglut-2.8.0-7.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.