Shift + middle mouse click selects text
Categories
(Core :: DOM: Events, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox89 | --- | wontfix |
firefox90 | --- | wontfix |
firefox91 | --- | affected |
People
(Reporter: tomorrowcheck, Unassigned)
References
(Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
- Select any text on a webpage or visit any link
- Press shift + middle mouse click on a link to open it in a new tab and switch to it immediately
- Return to the original page
Actual results:
Firefox has selected the text from where the user first clicked to where the user used shift + middle mouse click.
Expected results:
Text should not be selected when using shift in combination with a middle mouse click.
Note: The change was introduced in the current version. It is particularly noticeable when a user has enabled "When you open a link in a new tab, switch to it immediately" and shift + middle mouse is used to occasionally open links in the background. It results in text being selected while opening links in the background, which hinders the readability of the original page.
![]() |
||
Comment 1•2 years ago
|
||
I can reproduce the issue on Nightly91.0a1 Windows10.
Simple steps to reproduce:
- Enabled "When you open a link in a new tab, switch to it immediately" in settings
- Open web page in [Tab A] (e.g. https://ftp.mozilla.org/pub/firefox/nightly/)
- Middle-click on a link(e.g. 2004) so that the link opens in a new foreground tab
- Back to previous tab[Tab A]
- Shift + Middle-click on the other link(e.g. 2010) so that the link opens in a new background tab
Actual Results:
Text is unexpectedly selected.
Expected Results:
Text should not be selected.
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=2032f2b926ddf13702d5720983d226273a4290a6&tochange=889132330748b03914570e29abbb56950816da30
I believe this issue is a duplicate of Bug 1715603
Updated•2 years ago
|
Description
•