Open
Bug 1945434
Opened 10 days ago
Updated 8 days ago
gemini.google.com - Copy does not work from the text input box when editing a prompt
Categories
(Web Compatibility :: Site Reports, defect, P2)
Tracking
(Webcompat Priority:P2, Webcompat Score:7, firefox134 affected, firefox136 affected)
NEW
People
(Reporter: rbucata, Unassigned)
References
(Depends on 1 open bug, )
Details
(Keywords: webcompat:platform-bug, webcompat:site-report, Whiteboard: [webcompat-source:web-bugs][webcompat:sightline])
User Story
platform:windows,mac,linux,android impact:feature-broken configuration:general affects:all branch:release diagnosis-team:dom user-impact-score:600
Attachments
(1 file)
488.05 KB,
video/mp4
|
Details |
Environment:
Operating system: Mac OS X 10.15
Firefox version: Firefox 134.0
Steps to reproduce:
- Enter a prompt
- Hover over the text and click on the "Edit" button
- Copy the text
- Paste and observe
Expected Behavior:
Text is pasted
Actual Behavior:
Copy does not work from the text input box when editing a prompt
Notes:
- Reproduces regardless of the status of ETP
- Reproduces in firefox-nightly, and firefox-release
- Does not reproduce in chrome
- "Cut" works as expected
Created from https://github.com/webcompat/web-bugs/issues/147850
Reporter | ||
Updated•10 days ago
|
status-firefox134:
--- → affected
status-firefox136:
--- → affected
Reporter | ||
Comment 1•10 days ago
|
||
Updated•9 days ago
|
Severity: -- → S2
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 7
Keywords: webcompat:needs-diagnosis
Priority: -- → P2
![]() |
||
Comment 3•9 days ago
|
||
FWIW,
Copy
works as expected if set dom.event.clipboardevents.enabled
to false
.
Comment 4•9 days ago
|
||
Apparently this site does the same thing as https://bugzilla.mozilla.org/show_bug.cgi?id=1902004
It has code like
_.Sy(this.document, 'copy').pipe(_.dD(this.nb)).subscribe(
function (c) {
var d = a.Qb,
e = d.document.getSelection(),
f,
g = (f = e == null ? void 0 : e.getRangeAt(0)) == null ? void 0 : f.cloneContents();
if (e && g) {
d = d.document.createElement('div');
d.appendChild(g);
var h;
(h = c.clipboardData) == null ||
h.setData('text/html', d.innerHTML);
var l;
(l = c.clipboardData) == null ||
l.setData('text/plain', e.toString())
}
c.preventDefault()
}
where it listens for "copy" event, get the current selection, and execute selection.toString()
to get the content. If it works, l.setData('text/plain', e.toString())
is supposed to set the content to the clipboard.
Depends on: 85686
Keywords: webcompat:needs-diagnosis → webcompat:platform-bug
Updated•8 days ago
|
Whiteboard: [webcompat-source:web-bugs] → [webcompat-source:web-bugs][webcompat:sightline]
You need to log in
before you can comment on or make changes to this bug.
Description
•