Re: [osg-users] X11 keyboard bug (+ ugly fix)

2008-02-05 Thread André Garneau
Hi Melchior, FWIW, a fix has already been submitted to get rid of this behaviour on the Win32 platform. The submission is still pending due to corresponding changes being required on the Linux & OSX platforms. If you're willing to submit your fix, we'd be one step closer to having this fixed for g

Re: [osg-users] Update scene while moving window

2008-02-13 Thread André Garneau
Hi J-W, I'm assuming you are running on the Windows platform right ? If so, this is the expected behaviour and is a consequence of the way Windows processes move & resize events. When a move event is processed, Windows will not return control to the message loop until the mouse button has been re

Re: [osg-users] Overriding the SwapBuffers call

2008-02-15 Thread André Garneau
Hi Jean-Sébastien, Looks like the constructor of the base class (GraphicsWindowWin32) is not being called by your derived class (_realized is false). André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-Sébastien Guay Sent: February-15-08 3:39 PM T

Re: [osg-users] Overriding the SwapBuffers call

2008-02-15 Thread André Garneau
Hi Jean-Sébastien, This looks fine. Try setting a breakpoint in GraphicsWindowWin32::swapBuffersImplementation() to see in what state the object is. Either _realized is false or the handle to the device context is invalid (and this is not trapped by the ::SwapBuffers call as an error). I assume yo

Re: [osg-users] Overriding the SwapBuffers call

2008-02-16 Thread André Garneau
Hi Jean-Sébastien, >> I'll try that on Monday. I already traced through the >> GraphicsWindowWin32::createWindow() method and all looked fine (after >> getting the window classes registered as I mentioned before). >> >> BTW, I don't know if you've seen the thread, but could you bring your >> in

Re: [osg-users] osg::DeleteHander - the good, the bad and ugly

2007-08-31 Thread André Garneau
Hi Robert, FYI you might want to check the Boost::intrusive_ptr implementation (similar in concept to OSG's ref_ptr) as it is using an underlying implementation that does atomic reference counting (using CPU native Interlocked test/increments). Note that I'm not suggesting to use Boost, just to ge

Re: [osg-users] OSG 2.1.10 windows refresh / performance

2007-09-27 Thread André Garneau
Hi Gert, FYI, I've just submitted a fix for the taskbar not being repainted when a full-screen graphics window is going to windowed mode. André -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gert van Maren Sent: September-16-07 3:30 AM To: osg-users@lis

Re: [osg-users] MODKEY_CTRL problem

2007-09-27 Thread André Garneau
Hi Leif & Robert, This is the same problem that was reported this summer on the Win32 platform. A fix for it was prepared and submitted, but it required equivalent changes on the X11 and OSX graphics windows class implementations since changes to the core OSG libraries were made. It would be great

Re: [osg-users] BUG?: mouse coordinate changes after window move

2007-09-27 Thread André Garneau
Hi Anders, FYI, I’ve submitted a fix for this issue. Once merged by Robert, let me know if you still have issues doing these operations. André From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anders Backman Sent: September-20-07 2:55 AM To: osg-users@lists.openscenegraph.o

Re: [osg-users] Problems with Overriding Tooltips on Windows

2007-10-03 Thread André Garneau
Hi Jason, When a graphics window (Win32) is created, it is set by default to be at the top of the windows Z-order. This is done at line 1629 of GraphicsWindowWin32.cpp, i.e. if (!::SetWindowPos(_hwnd, HWND_TOP, _windowOriginXToRealize,...)) You might want to check using other values for

Re: [osg-users] Mutex and ReentrantMutex

2007-11-30 Thread André Garneau
Hi Paul, >> 1. I always understood "reentrant" to refer to code or an object that could >> be executed safely by multiple threads or processes. However, the >> ReentrantMutex would only be used for code that is safe for the _same_ >> thread or process to execute concurrently, thus my confusion. Is

Re: [osg-users] Mutex and ReentrantMutex

2007-11-30 Thread André Garneau
Hi Paul, The difference is that ReentrantMutex will not block if the caller is already holding the mutex and is trying to lock() it again (there is a lock count maintained); you can therefore nest calls to routines using this type of mutex without fear of self-deadlocking the caller. With Mutex