slack.com cursor disappears when pasting sharing images
Categories
(Web Compatibility :: Site Reports, defect, P3)
Tracking
(Webcompat Priority:P3, Webcompat Score:3, firefox150 wontfix, firefox151 wontfix, firefox152 fixed)
People
(Reporter: mbalfanz, Assigned: ltenenbaum)
References
()
Details
(Keywords: webcompat:platform-bug, webcompat:site-report)
User Story
platform:windows,mac impact:annoyance configuration:general affects:some branch:release diagnosis-team:dom user-impact-score:40.5
Attachments
(2 files)
When sharing an image in slack, the cursor disappears. It comes back when switching channels or reloading the page.
(running Nightly on MacOS 15.7.4)
STR:
- open a slack channel. (this doesn't seem to reproduce in 1:1 conversations)
- drag an image into the input to share it
- try typing
ER:
- the cursor/caret should be visible
AR:
- there's no caret
| Assignee | ||
Comment 1•19 days ago
|
||
Can reproduce on Windows but not Ubuntu (probably some difference in how drag+drop works?)
Doesn't seem to be a regression from bug 2032191, at least. It still happens in release for me.
Comment 2•19 days ago
|
||
Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.
| Assignee | ||
Comment 3•19 days ago
|
||
Ah it looks like this is a problem with EditorEventListener::CleanupDragDropCaret. Specifically, if you have a situation like:
- caret is disabled
- user drags something over an editor
- editor is focused (by a script, for example)
- user drops thing
Then the caret state from step 1 is restored, so it ends up being disabled...
| Assignee | ||
Comment 4•19 days ago
|
||
Oh, the reason it's not reproducible on Linux is that the window is defocused during the drag (so step 3 can't happen). I'll take a look at this - I think it should be an easy fix (famous last words...)
| Assignee | ||
Comment 5•19 days ago
|
||
Updated•15 days ago
|
Updated•13 days ago
|
Updated•13 days ago
|
Comment 8•12 days ago
•
|
||
Backed out for causing failures at test_drag_drop_caret.html.
Backout link: https://hg.mozilla.org/integration/autoland/rev/965061556b3a
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=566747737&repo=autoland&task=VRw2We5-TmWAaxaoDsHa1g.0&lineNumber=1908
https://treeherder.mozilla.org/logviewer?job_id=566749234&repo=autoland&task=DGz76HPKS3SI6BZwDuoxwQ.0&lineNumber=5472
| Assignee | ||
Comment 9•11 days ago
|
||
Hmm I'm not sure why synthesizePlainDragAndDrop is failing on Android here… I've had success with it in the past… I think it's fine to just disable this test on Android though.
Comment 10•11 days ago
|
||
Comment 11•11 days ago
|
||
| bugherder | ||
Updated•6 days ago
|
Description
•