Closed
Bug 1035036
Opened 11 years ago
Closed 11 years ago
Ctrl+clicking, shift-clicking, alt-clicking, meta-clicking a link selects a lot of things
Categories
(Core :: DOM: Selection, defect)
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: guijoselito, Assigned: ke5trel)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
45.21 KB,
image/png
|
Details |
Ctrl+clicking a link gives the same result as ctrl+clicking outside the link - selecting a lot of things around.
I suspect it's a regression from bug 378775.
Nightly regressed that day - version Firefox/33.0 ID:20140704030208 CSet: e8df6826a571
I'm on a notebook - don't know if makes any difference - don't have a mouse to test with.
I'm filling this bug under Untriaged hoping someone else can reproduce and confirm that bug 378775 is the culprit.
Updated•11 years ago
|
Blocks: 378775
Status: UNCONFIRMED → NEW
status-firefox33:
--- → affected
tracking-firefox33:
--- → ?
Component: Untriaged → Selection
Ever confirmed: true
Product: Firefox → Core
Version: Trunk → 33 Branch
Updated•11 years ago
|
Keywords: regression
Comment 1•11 years ago
|
||
Ctrl-clicking does <table> cell selection - after bug 378775 it happens for links in <table>s in addition to opening the link. The open-link-in-new-tab code should prevent the event from leaking.
Comment 2•11 years ago
|
||
Similarly, Shift+clicking a link selects a range of text in addition to opening the link in a new window.
Comment 4•11 years ago
|
||
It's worth noting that this doesn't just affect literal <table>
elements, as it also happens for pages using CSS 'display: table-cell;'
for styling.
Comment 5•11 years ago
|
||
Seeing this in OS X as well. [Cmd + click]
Updated•11 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Updated•11 years ago
|
Summary: Ctrl+clicking a link selects a lot of things → Ctrl+clicking, shift-clicking, alt-clicking, meta-clicking a link selects a lot of things
Comment 9•11 years ago
|
||
Kestrel, can you take this bug since your patch caused it?
Flags: needinfo?(kestrel)
| Assignee | ||
Comment 10•11 years ago
|
||
Added exception for ctrl and shift modifiers so that opening links gets priority over selecting text.
Attachment #8458141 -
Flags: review?(enndeakin)
Flags: needinfo?(kestrel)
Comment 11•11 years ago
|
||
It would be nice if we got a test for this as well, so that we don't regress it in the future.
Comment 12•11 years ago
|
||
You might want to check Cmd too, since on Mac it acts like Ctrl for the purposes of selection and link-dispatching.
Comment 13•11 years ago
|
||
Neil, any chance you could review this soon please? This bug is making using Nightly really painful for me... :(
Comment 14•11 years ago
|
||
Nevermind, it looks like the patch was backed out!
Comment 15•11 years ago
|
||
Comment on attachment 8458141 [details] [diff] [review]
bug1035036.patch
You will also want to check for IsMeta() as well.
Attachment #8458141 -
Flags: review?(enndeakin) → review-
Attachment #8458141 -
Attachment is obsolete: true
| Assignee | ||
Comment 17•11 years ago
|
||
Solution was posted in bug 378775 using a different approach that delays selection.
Flags: needinfo?(kestrel)
Comment 18•11 years ago
|
||
Neil, could you point me where the backout has been done (Ehsan mentioned it in comment #14)? I would like to request the same for 33 (if this bug still occurs).
I don't see the bug 378775 landing in 33.
Thanks
Flags: needinfo?(enndeakin)
Comment 19•11 years ago
|
||
This is a regression from bug 378775, of which I am only the reviewer.
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(enndeakin)
Resolution: --- → FIXED
Comment 20•11 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #18)
> Neil, could you point me where the backout has been done (Ehsan mentioned it
> in comment #14)? I would like to request the same for 33 (if this bug still
> occurs).
> I don't see the bug 378775 landing in 33.
>
> Thanks
It landed (and was backed out) prior to the previous uplift.
https://bugzilla.mozilla.org/show_bug.cgi?id=378775#c49
You need to log in
before you can comment on or make changes to this bug.
Description
•