From: Sven P. <Sve...@ae...> - 2005-07-09 11:50:15
|
Hi, I'd really like to understand this bug report a bit more, but I didn't get any feedback yet. Is anybody able to reproduce the problems mentioned and if yes, how? Cheers, S. ---------- Weitergeleitete Nachricht ---------- Subject: [ freeglut-Bugs-1007994 ] Reshape function not called upon window creation on Linux Date: Sonntag, 3. Juli 2005 14:07 From: "SourceForge.net" <no...@so...> To: no...@so... Bugs item #1007994, was opened at 2004-08-12 16:59 Message generated for change (Comment added) made by spanne You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101032&aid=1007994&group_id =1032 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: moderate Group: None Status: Closed Resolution: Works For Me Priority: 5 Submitted By: Laurent Pinchart (peter_pan78) Assigned to: Nobody/Anonymous (nobody) Summary: Reshape function not called upon window creation on Linux Initial Comment: FreeGlut 2.2.0, on Linux (XFree86 4.3.0, Debian unstable), does not trigger the Reshape callback upon window creation. ---------------------------------------------------------------------- >Comment By: Sven Panne (spanne) Date: 2005-07-03 14:07 Message: Logged In: YES user_id=50298 Could you please give fool-proof recipes including example programs to reproduce the problems you metion (reshape not called, reshaped called twice, reshape called with wrong size). If I can reproduce them, I'll happily reopen the bug(s). Just 2 notes: What is the use case of having X11 without a WM? It sounds a bit like using a car without wheels... :-) Furthermore, GLUT itself does *not* handle MapNotify events, so I am not yet convinced freeglut should. ---------------------------------------------------------------------- Comment By: Takeshi Nishimura (takeshi2) Date: 2005-07-03 08:13 Message: Logged In: YES user_id=1121281 > The reshape callback *is* called with the CVS HEAD, NO. An additional comment says: > This only happens when there are no window manager loaded. Please reopen this bug. freeglut should catch MapNotify with invoking the reshape callback and should not invoke it in fghReshapeWindow() on X11. This fix does not affect the behavior in glutEnterGameMode() and it solves the following bugs in addition: * The reshape callback is invoked twice. First invoked with glutReshapeWindow(), second invoked in ConfigureNotify. * The reshape callback is invoked with wrong (not actual) size in special case. Some window managers prohibit very small window size. ---------------------------------------------------------------------- Comment By: Sven Panne (spanne) Date: 2005-07-02 16:07 Message: Logged In: YES user_id=50298 The reshape callback *is* called with the CVS HEAD, the only question is the order of visibility/reshape callbacks, but that's a different story (see bug #858587). ---------------------------------------------------------------------- Comment By: Takeshi Nishimura (takeshi2) Date: 2005-05-29 11:38 Message: Logged In: YES user_id=1121281 rkrolib, Your change must be as follows. http://cvs.sourceforge.net/viewcvs.py/openglut/openglut/lib/src/og_main.c?r1= 1.70&r2=1.71 I'm glad if you can create a patch for freeglut or if you don't mind I'll do that. ---------------------------------------------------------------------- Comment By: Richard Rauch (rkrolib) Date: 2004-10-08 23:28 Message: Logged In: YES user_id=854844 OpenGLUT 0.6.3 includes a fix for this. The fix was available almost 2 months ago, but not in a release. I cannot remember that you followed up on this re. OpenGLUT, but it appears to be fixed there, and I will mark that bug report "closed" now that there is an official release with the fix. Just FYI. ---------------------------------------------------------------------- Comment By: Richard Rauch (rkrolib) Date: 2004-08-26 20:29 Message: Logged In: YES user_id=854844 Since only OpenGLUT developers seem to actively follow up on freeglut bugs, I have cross-posted several bugs from freeglut to OpenGLUT. One such bug is this one. I believe it to be fixed on OpenGLUT and have marked it "Pending" over there (so it is no longer on the list of "Open" bugs). If you can check against OpenGLUT's "current" code (from CVS) to verify that it is fixed, I would appreciate it, as I could then move the bug to "Closed" status. I was hoping to have a 0.6.3 OpenGLUT out today or tomorrow, but another OpenGLUT developer is fixing some deeper bugs that we inherited from freeglut, so we are holding off on a new OpenGLUT release while he tackles those. But the fix should be in CVS. The "Pending" OpenGLUT bug number is 1010635. ---------------------------------------------------------------------- Comment By: Richard Rauch (rkrolib) Date: 2004-08-19 05:13 Message: Logged In: YES user_id=854844 I fixed this over on OpenGLUT a few days ago. See http://www.OpenGLUT.org/ or http://OpenGLUT.SourceForge.net/ for more information about OpenGLUT. The fix is *not* in a released version of OpenGLUT, but should be in the next release. (The current release is 0.6.2 from earlier this month.) If you can grab the in-development sources of OpenGLUT and test your application with it, I would appreciate it, even if you may not at this time be able to commit your project to OpenGLUT. (OpenGLUT installs as "libopenglut" on UNIX systems, etc., so it does *not* interfere with an existing GLUT or freeglut installation. You can install both. Right now, it is fairly trivial to build against either one, though you generally need to *recompile* (not just relink) with OpenGLUT in order to use OpenGLUT.) ---------------------------------------------------------------------- Comment By: Laurent Pinchart (peter_pan78) Date: 2004-08-12 17:04 Message: Logged In: YES user_id=116973 This only happens when there are no window manager loaded. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101032&aid=1007994&group_id =1032 ------------------------------------------------------- |