Closed Bug 364518 Opened 18 years ago Closed 18 years ago

mouse scroll wheel stopped working since Fx 2.0.0.1

Categories

(Core :: Widget: Win32, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: garou1401, Assigned: masayuki)

References

Details

(Keywords: regression, verified1.8.1.2)

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1

i have installed the update and i have now the version 2.0.0.1 but now i can't use the wheel of my mouse anymore ! ! ! have an explanation for this problem because the wheel of my mouse is already operationnal when i use internet explorer or avant browser ? ? ?

Reproducible: Always
*** Bug 364630 has been marked as a duplicate of this bug. ***
*** Bug 364658 has been marked as a duplicate of this bug. ***
I believe this is a regression from bug 347875.
Blocks: 347875
Keywords: regression
Status: UNCONFIRMED → NEW
Component: General → Widget: Win32
Ever confirmed: true
Product: Firefox → Core
Summary: mouse wheel → mouse wheel stopped working since Fx 2.0.0.1
Version: unspecified → Trunk
What mouse driver has this bug?
And can you test with trunk build?
taking. I'll attach the patch. The problem may happen only with legacy message.
Assignee: nobody → masayuki
URL: all URL
Version: Trunk → 1.8 Branch
Attached patch Patch rv1.0 (obsolete) — Splinter Review
I think that this patch fixes this bug. But I don't have the moues.

And trunk build has dropped the support of the legacy message, should we recover the support on trunk too?
Attachment #249504 - Flags: review?(emaijala)
Status: NEW → ASSIGNED
QA Contact: general → win32
Kimura-san said in bugzilla-jp:

"Probably, if we don't process the legacy message, the mouse drivers use WM_MOUSEWHEEL intead of it. Therefore, we don't have the regression reports on trunk build."

I agree to this.
Flags: blocking1.8.1.2?
This bug is also on Windows 98 SE.
Flags: blocking1.8.1.2? → blocking1.8.1.2+
Comment on attachment 249504 [details] [diff] [review]
Patch rv1.0

Can someone verify this patch works?

What legacy message do you mean and where in the patch for bug 347875 was it dropped?
(In reply to comment #10)
> (From update of attachment 249504 [details] [diff] [review])
> Can someone verify this patch works?

I don't have the mouse :-(

> What legacy message do you mean and where in the patch for bug 347875 was it
> dropped? 

No, it has dropped at bug 330276.
attachment 216511 [details] [diff] [review]:
> -#if !defined (__MINGW32__) && !defined(WINCE) 
> -  if (!nsWindow::uMSH_MOUSEWHEEL)
> -    nsWindow::uMSH_MOUSEWHEEL = RegisterWindowMessage(MSH_MOUSEWHEEL);
> -#endif
> -  
Ok, nasty side-effects of a seemingly valid change. Could you try to find someone who could verify the change, please? I can't test it either.
I uploaded the patched build in my server. Can you test the build, dominique Carturan or anybody?
http://www.d-toybox.com/mozilla/testbuilds/bug364518.zip
Comment on attachment 249504 [details] [diff] [review]
Patch rv1.0

Ok, good. r=emaijala
Attachment #249504 - Flags: review?(emaijala) → review+
Comment on attachment 249504 [details] [diff] [review]
Patch rv1.0

Thank you, Ere.

Roc, would you check for sr?
Attachment #249504 - Flags: superreview?(roc)
Could you slightly simplify this by setting

int verticalAmount = msg == WM_MOUSEWHEEL ? (short) HIWORD (wParam) : (int) wParam;

above "if (ulScrollLines == WHEEL_PAGESCROLL)", and then using it in both cases?
Attached patch Patch rv1.1Splinter Review
Attachment #249504 - Attachment is obsolete: true
Attachment #250583 - Flags: superreview?(roc)
Attachment #250583 - Flags: review+
Attachment #249504 - Flags: superreview?(roc)
Roc:

Would you continue to sr?
Attachment #250583 - Flags: superreview?(roc) → superreview+
Comment on attachment 250583 [details] [diff] [review]
Patch rv1.1

This patch is only needed by 1.8 branch.
Attachment #250583 - Flags: approval1.8.1.2?
Comment on attachment 250583 [details] [diff] [review]
Patch rv1.1

Approved for 1.8 branch, a=jay for drivers.
Attachment #250583 - Flags: approval1.8.1.2? → approval1.8.1.2+
checked-in.

Would somebody verify in nightly builds?
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1.2
Resolution: --- → FIXED
Now, available the nightly builds:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla1.8/

# after 10, Jan.

Would you verify the fix?
Dont have the mouse driver for the mouse listed here.  But i installed the build from the link above and verified my kensington wireless mouse scrollwheel works fine.  
Status: RESOLVED → VERIFIED
I get the feedback from Japanese tester.

-> v1.8.1.2.
Summary: mouse wheel stopped working since Fx 2.0.0.1 → mouse scroll wheel stopped working since Fx 2.0.0.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: