[producer-users] Mouse Scroll Event Problems

Don Burns don at andesengineering.com
Wed Jan 23 13:30:57 PST 2008


This is good info for finding the problem.  I suspect that there is
something particular about this event and flushing the queue.  I´ll have a
close look when I get back.

Thanks,

-don

On Jan 22, 2008 4:13 PM, Rogers, Shane <Shane_Rogers at mentor.com> wrote:

>  Don,
>
> Thanks for the response.  I took a look in the RenderSurface_Win32.cpp in
> the proc function that has a switch statement for events.  I put a break
> point on the WM_MOUSEWHEEL case and watched it from there.  I went into the
> dispatch function and the event was added to the queue with no problems.  I
> also had a break point set in the keyboardmouse.cpp in the update function
> in the event switch for the mousewheel.  I would get the event just fine and
> everything worked.  But when I took away the break point in the proc
> function in RenderSurface_Win32.cpp, I would still have the same problem.
> When I put the breakpoint back, I did not see the problem anymore.  So I am
> not sure what exactly is going wrong.  Also I am only seeing this issue on
> Windows.
>
> Thanks for your response,
>
> -Shane
>
>  ------------------------------
> *From:* producer-users-bounces at andesengineering.com [mailto:
> producer-users-bounces at andesengineering.com] *On Behalf Of *Don Burns
> *Sent:* Tuesday, January 22, 2008 1:42 PM
> *To:* Producer Users
> *Subject:* Re: [producer-users] Mouse Scroll Event Problems
>
> Hi Shane,
>
> I have not heard of this issue before, but it may well exist.  I'll be
> happy to take a look when I get back into my development environment.   I am
> currently on a two week sabbatical in Peru and have only occasionaly access
> to internet.    I can tell you where to look if you like, in the meantime.
> It will make a difference what OS you are running on.  If on windows, look
> in RenderSurface_Win32.cpp.  There is a dispatch routine in there in wh ich
> all events are filtered for the recipient and then dispatched over a
> blocking queue.  The other end of the blocking queue is in KeyboardMouse
> under the WIN32_IMPLEMENTATION section.  There may be an issue with either
> the way they are being dispatched, or recieved.  I'd suspect the latter
> first, in KeyboardMouseImplentation::update().  Check the functionality
> anywhere you see ROBERTS_EXPERIMENTAL_EVENT_QUEUE_
>  defined.
>
> Other than that, I'll be back at it after Feb4. If you haven't resolved it
> or havent' heard from me by then, please ping again and I'll take a look.
> Please submit any fixes.
>
> Thanks
>
> -don
> On 1/22/08, Rogers, Shane <Shane_Rogers at mentor.com> wrote:
> >
> >  Hello all,
> >
> > We are using osg0.9.9. I am having a problem with getting mouse scroll
> > events. We are using Producer Keyboard mouse. Basically the problem I am
> > having is, when I scroll the scroll wheel I am not getting a notifaction
> > that the scroll wheel was moved. But if I scroll the scroll wheel and then
> > move the mouse I get the notification after the mouse has moved. Any idea
> > why this is happening. I am looking at KeyboardMouse.cpp for osg0.9.9and trying to compare and see if there was a fix for
> > KeyboardMouse.cpp for osg1.2. Has anyone else seen this as an issue?
> >
> > Thanks,
> >
> > -Shane
> >
> > _______________________________________________
> > producer-users mailing list
> > producer-users at andesengineering.com
> > http://www.andesengineering.com/mailman/listinfo/producer-users
> > http://www.andesengineering.com/Producer/
> >
>
>
> _______________________________________________
> producer-users mailing list
> producer-users at andesengineering.com
> http://www.andesengineering.com/mailman/listinfo/producer-users
> http://www.andesengineering.com/Producer/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.andesengineering.com/pipermail/producer-users/attachments/20080123/8b9f42cd/attachment.htm 


More information about the producer-users mailing list