click and drag does not select

RESOLVED WORKSFORME

Status

()

RESOLVED WORKSFORME
8 years ago
4 years ago

People

(Reporter: kdevel, Unassigned)

Tracking

4.0 Branch
x86_64
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment, 1 obsolete attachment)

(Reporter)

Description

8 years ago
User-Agent:       
Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b13pre) Gecko/20110228 Firefox/4.0b13pre

FF produces an invisible selection upon a single mouse click into empty space between paragraphs. This selection prevents an intended click-hold-move selection.

Reproducible: Always

Steps to Reproduce:
1. open url, double left click at the first "unfehlbare"
2. single left click right above the selection
3. left click and hold button, move mouse into paragraph
Actual Results:  
· A document icon appears which moves with the mouse pointer.
· "<span class="topo_col main_col" id="hauptspalte" role="main"><p></p></span>"
  appears in the clipboard.

Expected Results:  
· Paragraph becomes selected upto the current mouse pointer position.
· No markup appears in the clipboard.
(Reporter)

Comment 1

8 years ago
3.5 and 3.6 work OK. Additionally both do not display an empty line after the bold (H6) headlines and the successive paragraph (P).
(Reporter)

Updated

8 years ago
Summary: selecting text with mouse prevented by invisible selection upon a single mouseclick into empty paragraph → click and drag does not select

Updated

8 years ago
Version: unspecified → 4.0 Branch
(Reporter)

Comment 2

7 years ago
Created attachment 556780 [details]
Testcase showing the different beahvior depending on whether a <P> is empty.
(Reporter)

Updated

7 years ago
Attachment #556780 - Attachment mime type: text/plain → text/html
(Reporter)

Comment 3

7 years ago
STR (unexpected case):

0. Open testcase.
1. Double left click at red word "sanctus".     (word is selected)
2. Single left click at first grey <P>-bar.     (word is unselected)
3. Left click and hold at first grey <P> bar
   and while holding drag into second "Lorem"-paragraph.

Actual Result: The grey bar moves.

STR (expected case, Fx 3.6 bahavior)

1. Double left click at green word "sanctus".    (word is selected)
2. Single left click at second grey <P>-bar.     (word is unselected)
3. Left click and hold at first grey <P> bar
   and while holding drag into third "Lorem"-paragraph.

Actual Result: The beginning of the third "Lorem"-paragraph is selected.
(Reporter)

Comment 4

7 years ago
Created attachment 556783 [details]
Testcase showing the different beahvior depending on whether a <P> is empty.
Attachment #556780 - Attachment is obsolete: true
(Reporter)

Updated

7 years ago
Attachment #556783 - Attachment mime type: text/plain → text/html
(Reporter)

Comment 5

7 years ago
good Fx 3.0.19
good Fx 3.5.19
bad  Fx 3.6.20
(Reporter)

Comment 6

7 years ago
(In reply to Stefan from comment #3)
> Actual Result: The grey bar moves.

This is no longer the case with rev. 6f998cc964be. Actually, selected objects seem no longer to move.
(Reporter)

Comment 7

7 years ago
After a restart reproduction of Comment 6 fails. The bar moves.
(Reporter)

Comment 8

4 years ago
ESR 17.0.7: fail
Firefox 28 works as expected.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.