Closed Bug 7898 Opened 26 years ago Closed 25 years ago

[PP] Combo boxes on linux don't grab the mouse

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cpratt, Assigned: pavlov)

References

Details

(Keywords: platform-parity, Whiteboard: [PDT+] Have patch. waiting for review.)

build id: 1999060908 platform: RH Linux 5.2 to reproduce: go to a page that has drop-down menus on it (eg bugzilla). on the page, click on a disclosure triangle to drop down a menu. release the mouse button. now, move the cursor up and down the list. result: nothing happens visually. expected result: as the cursor passes over menu items, the menu items should be highlighted to indicate that clicking there will select that value.
Is this just drop-downs in HTML forms? If so, that would be karnaze, cc'ing him
Summary: [PP] Linux - must depress button to change focus in menus → [PP] Linux - must depress button to focus form menu options
Whoops, I meant to say drop-downs in HTML forms only.
Assignee: trudelle → karnaze
okay, reassigning to karnaze@netscape.com
Assignee: karnaze → ramiro
Reassigning to Ramiro.
Assignee: ramiro → pavlov
pavlov, this is a grab problem. if the grabs were setup properly, like the native gtk combo box does, for instance, it would work. reassign to pavlov.
Assignee: pavlov → rods
Severity: minor → major
QA Contact: phillip → claudius
Summary: [PP] Linux - must depress button to focus form menu options → [PP] Combo boxes on linux don't grab the mouse
Rod, Combo boxes need to call CaptureRollupEvents after the popup window is shown. Can you move this call to some place after that window is shown so that this will work?
Just a comment: some combo boxes do capture the mouse, generally when they are within an HTML document. However, no combo boxes in the "Preferences" dialog nor any "wizard" dialog (like the mail account setup) seem to grab it. Particularly, the Bugzilla query page mentioned works just fine (Nov 8th build under Debian, GTK+ 1.2.6).
changed to M14
moving to M15
Is this really hard to do? It seems like this should just take a few minutes to do. This is a usability problem on UNIX for all combo boxes, the same as if the menus didn't go away when you clicked somewhere else on the screen. I really think this should be fixed for beta.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
I no longer experience this problem. Marking WORKSFORME.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
this has not been fixed.
Keywords: pp
This bug blocks beta1 bug 26273.
Blocks: 26273
Keywords: beta1
Marking PDT+
Whiteboard: [PDT+]
Status: REOPENED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → WORKSFORME
As described in the very top comment, I can click, release on the button and when I move the mouse over items in the dropdown they highlight properly. Clicking and holding down the mouse works also. Pav, if you think this still doesn't work, please describe exactly what you think doesn't work.
click in a combo box. then click completly outside mozilla's window. the combo box should go away. the reason the call to CaptureRollupEvents() fails to do the right thing on linux is because the window is not visiable when it is called.
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
waqar, could you look at this PDT+ bug?
Assignee: rods → waqar
Status: REOPENED → NEW
Ok this only happens if you click outside the Mozilla App. I am not sure at this point that the mozilla is getting the mouse events?
Status: NEW → ASSIGNED
yes. it is because the call to CaptureRollupEvents gets made before the popup window is made visible. All that needs to be done is the call to CaptureRollupEvents needs to be moved to right after the Show occurs.
reassigning to me.
Assignee: waqar → pavlov
Status: ASSIGNED → NEW
Whiteboard: [PDT+] → [PDT+] Have patch. waiting for review.
checked in fix
Status: NEW → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → FIXED
VERIFIED fixed with 2000021416
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.