Open Bug 345312 Opened 18 years ago Updated 2 years ago

Dragging scrollbar on fixed size DIV doesn't work after Ctrl-click on table cell

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: niek, Unassigned)

References

()

Details

(Keywords: testcase, Whiteboard: [testday-20110902])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4

I have a single-cell table, which has a fixed size DIV (200px square), with overflow: auto, and some text (or anything else) resulting into scrollbars.
When I press Ctrl and click on the text, and thus select the table cell (getting a big gray border), it is impossible to drag the horizontal and vertical scrollbars to any direction. It works for about 3 pixels, but then fails.

Reproducible: Always

Steps to Reproduce:
1. Place a scrolling div in a table cell
2. Ctrl-click the table cell
3. Try to drag the horizontal scroll bar to the left or right (or vertical scrollbar up or down)

Actual Results:  
The scrollbar does not move, and the mouse cursor changes to not-allowed (/). But if you drag real slowly, the scrollbar initialy moves a bit, but then also fails.

Expected Results:  
The scrollbar moves along with the mouse.

Clicking the scrollbar area or the arrows does work, as does the scrollwheel, so only the dragging part is buggy
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is a case where table selection code interferes with other mouse events.
Assignee: nobody → events
Component: General → Event Handling
Keywords: testcase
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
First thing to tell you that it's not a Bug. When you select  table cell (ctrl+click) and trying to move Horizontal or vertical sidebar , you are actually dragging that whole Table not the scroll bar and that's creates that problem.

You can own check it :

ctrl+click  the table cell.
Move vertical or Horizontal bar slowly ( not faster as we do in case of browser sidebar )
you will find that you can move Horizontal or vertical sidebar without any problem.

Actually when you select total object and drag mouse cursor over it , the total object will try to move , not only sidebars but the total table.
Assignee: events → nobody
QA Contact: ian → events
Some open bugs about scrollbars not working properly because they are a part of a selection:
bug 442378, bug 491079, bug 572504, bug 649684;
where the selection is because they are a part of an <a>: bug 367028.
Possibly also bug 464655.
Whiteboard: [testday-20110902]
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: