Bug 81252 - [Widgets] [ControlExample] MouseWheel event in TabFolder alternate with MouseExit
Summary: [Widgets] [ControlExample] MouseWheel event in TabFolder alternate with Mouse...
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact: Felipe Heidrich CLA
URL:
Whiteboard: stalebug
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2004-12-15 12:35 EST by Steve Northover CLA
Modified: 2019-09-17 13:43 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Northover CLA 2004-12-15 12:35:17 EST
1) Select events
2) Click in the a tab item (make sure focus is in the item)
3) Move the mouse into the client area (do not press a mouse button)
4) Use the mouse wheel to scroll either up or down
5) MouseWheel alternates with MouseExit even though the mouse didn't exit

Here is some sample output:

MouseWheel [37]: MouseEvent{TabFolder {} time=89216140 data=null button=0 
stateMask=0 x=59 y=64}
MouseExit [7]: MouseEvent{TabFolder {} time=89216156 data=null button=0 
stateMask=0 x=59 y=64}
MouseWheel [37]: MouseEvent{TabFolder {} time=89216156 data=null button=0 
stateMask=0 x=59 y=64}
MouseExit [7]: MouseEvent{TabFolder {} time=89216171 data=null button=0 
stateMask=0 x=59 y=64}
MouseWheel [37]: MouseEvent{TabFolder {} time=89216187 data=null button=0 
stateMask=0 x=59 y=64}
MouseExit [7]: MouseEvent{TabFolder {} time=89216187 data=null button=0 
stateMask=0 x=59 y=64}
MouseWheel [37]: MouseEvent{TabFolder {} time=89216187 data=null button=0 
stateMask=0 x=59 y=64}
MouseExit [7]: MouseEvent{TabFolder {} time=89216203 data=null button=0 
stateMask=0 x=59 y=64}
MouseWheel [37]: MouseEvent{TabFolder {} time=89216203 data=null button=0 
stateMask=0 x=59 y=64}
Comment 1 Felipe Heidrich CLA 2005-01-17 13:33:42 EST
Bug in Windows, I was able to generate the same output using windows "Date and 
Time Properties" dialog and Microsoft Spy++.
Comment 2 Steve Northover CLA 2005-01-17 15:28:11 EST
Any work around?
Comment 3 Felipe Heidrich CLA 2005-01-17 17:00:32 EST
It is hard: I don't know how to tell when a WM_MOUSELEAVE is legitime or not.

What we can do is not forward the WM_MOUSEWHEEL to the default wndproc for the 
tabfolder, I suppose it doesn't do anything but forward it up to the parent 
window.
Comment 4 Steve Northover CLA 2005-01-17 18:06:44 EST
I remember this one from Smalltalk.  If I remember correctly, it can be worked 
around by playing with WM_NCHITTEST but this breaks something else that is 
subtle.  I believe it is possible to ultimately fix all the places but 
probably not worth it right now.  Low priority.
Comment 5 Felipe Heidrich CLA 2005-06-30 14:06:02 EDT
I don't understand how to WM_NCHITTEST to fix this.
Can we relie that a LEAVE event is *always* preceded by a ENTER event ?
Comment 6 Felipe Heidrich CLA 2009-08-18 12:02:29 EDT
Your bug has been moved to triage, visit http://www.eclipse.org/swt/triage.php for more info.
Comment 7 Leo Ufimtsev CLA 2017-08-03 12:31:29 EDT
This is a one-off bulk update. (The last one in the triage migration).

Moving bugs from swt-triaged@eclipse to platform-swt-inbox@eclipse.org and adding "triaged" keyword as per new triage process:
https://wiki.eclipse.org/SWT/Devel/Triage

See Bug 518478 for details.

Tag for notification/mail filters:
@TriageBulkUpdate
Comment 8 Eclipse Genie CLA 2019-09-17 13:43:25 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.