Closed Bug 339705 Opened 18 years ago Closed 18 years ago

Using the scroll wheel over autocomplete popup closes it

Categories

(Core Graveyard :: Widget: Mac, defect)

1.8 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mark, Assigned: mark)

References

Details

(Keywords: fixed1.8.1, regression)

Attachments

(1 file)

This bug is Mac-only and occurs on the trunk and 1.8 branch. When the scroll wheel is moved, an open autocomplete popup closes. Contextual menu popups are not affected. Steps to reproduce: 1. Begin typing in the location bar or search bar, causing an autocomplete popup to appear. 2. Move the mouse pointer so that it is positioned somewhere over some Mozilla window. (It does not need to be over the popup.) 3. Move the mouse wheel. Expected behavior: Whatever was under the cursor should have scrolled, if appropriate. (This behavior is debatable, but it's the traditional behavior.) The autocomplete popup should have remained open. Actual behavior: The autocomplete popup disappears.
This bug is not present on the 1.8.0 branch. We should be able to scroll in autocopmlete popups with the scroll wheel.
Flags: blocking1.8.1?
Related/Caused by bug 187772 ?
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060530 Minefield/3.0a1 Not sure if we mean the same but when I scroll with the cursor somewhere in the page and not in the dropdown popup, the popup in branch and trunk disappear but in 1.5.0.3 it stays. Not sure what the best behaviour would be.
Ria: I mean the same thing. I don't mind the popup disappearing if you scroll with the pointer outside of the popup, but if you scroll with the pointer inside the popup, the popup should scroll and should not be dismissed. This works on gtk2 but not on Mac. I'll change my steps from comment 0 so that step 2 is to put the cursor over the popup.
Summary: Using the scroll wheel closes an autocomplete popup → Using the scroll wheel over autocomplete popup closes it
Caused by bug 330999 (which was done to support bug 187772). It's not enough to check whether the widget that the scroll is targeted at is the rollup widget. Rollup should also not occur if the scroll is targeted at one of the rollup widget's descendants.
Assignee: joshmoz → mark
Blocks: 330999
Attachment #224617 - Flags: review?(joshmoz)
Attachment #224617 - Flags: review?(joshmoz) → review+
Attachment #224617 - Flags: approval-branch-1.8.1+
Checked in on trunk and MOZILLA_1_8_BRANCH before 1.8.1b1.
Status: NEW → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Flags: blocking1.8.1?
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: