Closed Bug 437262 Opened 17 years ago Closed 13 years ago

Wrong positioning of mouse over the widgets when the containing box has a vertical scrollbar in RTL

Categories

(Core :: Web Painting, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: akoub, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; Google Toolbar 5.0.1704.110-big; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; he-IL; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 A box contains style="overflow: auto" and has some UI widgets in it (e.g. radio buttons). In RTL languages the scrollbar is placed to the left of the box. When hovering mouse over the radio button you can see that the coordinates are calculated wrong. In particular you cannot select the radio button clicking on the right side of the button (but OK with clicking on the label or the left side of the button). Reproducible: Always Steps to Reproduce: 1. Install an extension that contains a described combination of widgets and boxes on Arabic or Hebrew Firefox 2.0. 2. Hover mouse over the radio buttons. 3. Observe the selection. Actual Results: Button is not selected when mouse is positioned on the right. Expected Results: Button should be selected when mouse is over the button. Issue is not observed in FF 3.0rc1, but the scrollbar is placed on the right there. I wonder if it is correct? I have a short extension that can easily demonstrate the problem.
Doesn't sound like a form control issue, but a mouse event targeting one. In any case, this sort of thing isn't going to be changed in the stable release.
Component: Layout: Form Controls → Layout: View Rendering
QA Contact: layout.form-controls → layout.view-rendering
The extension should be installed on Firefox 2.0, RTL language (e.g. ARABIC or HEBREW). It exposes a XUL box with a scrollbar and 2 radio buttons in it. Try to check a button with mouse click. It is possible only when mouse is over the left edge of the button icon or above the label.
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: