Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459602 - media-libs/freeglut-2.8.0 popup menus broken
Summary: media-libs/freeglut-2.8.0 popup menus broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-02-27 21:10 UTC by splite
Modified: 2013-04-20 20:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch based on upstream code to fix popup menus in freeglut-2.8.0 (2.8.0-popups.patch,4.43 KB, patch)
2013-02-27 21:12 UTC, splite
Details | Diff
simple GLUT popup menu program (popup-test.c,474 bytes, text/plain)
2013-03-01 17:05 UTC, splite
Details

Note You need to log in before you can comment on or make changes to this bug.
Description splite 2013-02-27 21:10:39 UTC
GLUT popup menus stopped working between 2.6.0 and 2.8.0.  They no longer appear when the button to which they're bound is pressed.  Patch attached based on current upstream source.

Reproducible: Always

Steps to Reproduce:
1.Write a program that uses GLUT popup menus
2.Run program
3.Click mouse button bound to menu
Actual Results:  
Menu button press registers as a regular button press

Expected Results:  
A popup menu appears
Comment 1 splite 2013-02-27 21:12:04 UTC
Created attachment 340416 [details, diff]
Patch based on upstream code to fix popup menus in freeglut-2.8.0
Comment 2 splite 2013-03-01 17:05:33 UTC
Created attachment 340662 [details]
simple GLUT popup menu program

Here's a test program that demonstrates the bug.  It displays a small white window and waits for a left-click to show a one-item ("Exit") popup menu.  Without the patch, left-clicking will not show the menu.

Compile like so:

gcc -o popup-test popup-test.c -lglut
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-20 20:49:01 UTC
Fixed in 2.8.1