Double paste when click "Paste" menu with left click and right click at the same time
Categories
(Core :: XUL, defect, P5)
Tracking
()
People
(Reporter: roberto.gigli98, Unassigned)
Details
(Keywords: reproducible)
Attachments
(1 file)
1.93 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
- Copy some text
- Paste it with the right click context menu
- Click "Paste" with left and right click at the same time
Actual results:
The text a copied got pasted 2 times
Expected results:
I don't know, should the text only get pasted once? Or is it the correct behavior?
I can reproduce it in Fx7.0 & Fx71.0b3 on Win10 1903, not a new behavior.
Comment 2•5 years ago
|
||
This is just a simple <menuitem>
with a single command
attribute and (AFAICT) no other event listeners. If the command is being invoked twice, something is wrong in XUL land.
Comment 3•5 years ago
|
||
The priority flag is not set for this bug.
:bgrins, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 4•5 years ago
|
||
(In reply to :Gijs (he/him) from comment #2)
This is just a simple
<menuitem>
with a singlecommand
attribute and (AFAICT) no other event listeners. If the command is being invoked twice, something is wrong in XUL land.
Yeah, just watching the screenshot this seems to be happening from both the in-content context menu and the url bar menu. Both of them are just using a plain menuitem+command, nothing extra that I can tell:
- in context should be this element, which is shown via nsContextMenu.js: https://searchfox.org/mozilla-central/rev/e7c61f4a68b974d5fecd216dc7407b631a24eb8f/browser/base/content/browser-context.inc#304-307.
- urlbar should be this element, from the child <moz-input-box>: https://searchfox.org/mozilla-central/rev/e7c61f4a68b974d5fecd216dc7407b631a24eb8f/toolkit/content/widgets/textbox.js#20.
FWIW I can't reproduce it on OSX, so this might be Windows specific.
Updated•2 years ago
|
Description
•