Open Bug 1577009 Opened 5 years ago Updated 2 years ago

I can't select multiple text with ctrl on some sites

Categories

(Core :: DOM: Selection, defect, P3)

60 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: johnsmith098096, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0

Steps to reproduce:

Go to site https://www.creationkit.com/index.php?title=Category:Papyrus
Try to select two parts of text with holding Ctrl

Actual results:

It selects absolutely irrelevant part of page, not what I attempted

Expected results:

Select two parts of text like on https://docs.python.org/3/

The same is on Wikipedia

Hi @johnsmith098096, I've checked the issue on Ubuntu 18.04 on latest nightly 70.0a1, 60.7.2 esr, release 68.0.2 -cannot reproduce. Please re-try in the latest nightly build from here: https://nightly.mozilla.org/ and let me know the result. I will set a component for, if isn't the right one please fell free to change it.
Regards,
Liviu

Component: Untriaged → Selection
Product: Firefox → Core
Flags: needinfo?(johnsmith098096)

Thank you, Liviu, for the review. Here's how the bug looks on Firefox Nightly(on the Firefox ESR the same): https://www.youtube.com/watch?v=QUnUPbihows

Flags: needinfo?(johnsmith098096)

Hi @johnsmith098096, Re-test the issue on latest nightly 71.0a1, 70.0b3, release 69.0 - and I get the same results as in video provided. Also, I verified in Chrome(there, holding CTRL key it selects a text then attempting to select another one (to have two different texts selected), it jumps to next one losing selection from the previous one - this is intended ). So, in my opinion this issue is more an enhancement rather than an issue.
Additionally, in a section below named "Subcategories" presented on your link, if I select using CTRL key two parts of text - it works -> same scenario can be applied in Wikipedia for ex. and it works too.
In this matter I guess someone from dev team could give us a hand.
Regards,
Liviu

Priority: -- → P3

The problem seems to be that the multiple texts to be selected are within the same table cell.

Reproducible with a minimal example:

data:text/html,<table><tr><td><p>asdf1</p><p>asdf2</p><p>asdf3</p></td></tr></table>

I am designing an extension and having a problem with how firefox uses ctrl key to select words, in chrome, when we select another word, selection jump right away to that word losing the previous word context, whereas in firefox it does not loses previous word context. I want to grab the word which was selected on second attempt, how can I get that, or it would be better if there was any way to clear the previous selection (like chrome does) through javascript as soon as person ctrl click another word and then just select that another word. (In reply to Liviu Seplecan from comment #2)

Hi @johnsmith098096, I've checked the issue on Ubuntu 18.04 on latest nightly 70.0a1, 60.7.2 esr, release 68.0.2 -cannot reproduce. Please re-try in the latest nightly build from here: https://nightly.mozilla.org/ and let me know the result. I will set a component for, if isn't the right one please fell free to change it.
Regards,
Liviu

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.