I'm really unhappy with this, because it appears to paste text into the
window below it:

https://junk.devs.nu/2022/bugs/chromium_98.0.4758.9_snap_pastes_in_gedit.mp4
"""This is a video with two gedit windows side by side, and this bug report on 
top. When dragging and dropping text INSIDE the browser, it gets copied to a 
different windows BEHIND it."""

https://junk.devs.nu/2022/bugs/chromium_97.0.4692.71_snap_pastes_in_shell.mp4
"""This is a similar video, this time pasting text in a shell, back when I did 
not know that the mouse position of release was relevant. Unintentionally 
pasting text into a shell is not cool."""

Observed with chromium 97.0.4692.71 and 98.0.4758.9 on Ubuntu Focal.
I could not revert to the older version 1854 because snap had already removed 
it.

Walter Doekes
OSSO B.V.


P.S. This commit looks related:

commit  0d6d861a1f39380238f4163f1325f5802792d4d5        
author  Joel Hockey <joelhoc...@chromium.org>   Wed Nov 17 20:27:34 2021
committer       Chromium LUCI CQ 
<chromium-sco...@luci-project-accounts.iam.gserviceaccount.com>        Wed Nov 
17 20:27:34 2021

[Merge to M97] Ignore X DragWidget when doing drag-drop image
Chrome has only recently supported image drag-drop between tabs,
and this has revealed a bug in the X drag-drop code.
When doing the drop drop, a DragWidget (semi-transparent version of
image being dragged) is created.  Since this image is under the cursor,
it was incorrectly chosen when XDragDropClient::ProcessMouseMove()
calls XTopmostWindowFinder::FindWindowAt().
The fix is to allow finder to take a set of windows to ignore, similar
to what is already done for FindLocalProcessWindowAt(). The
X11TopmostWindowFinder constructor now takes the ignore-set which
applies to both Find* functions.

Because, if it ignores its own window, then the dropped text may land in
a window below it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1956838

Title:
  drag and drop broken chromium snap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1956838/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to