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 <[email protected]>   Wed Nov 17 20:27:34 2021
committer       Chromium LUCI CQ 
<[email protected]>        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 Desktop
Packages, which is subscribed to chromium-browser in Ubuntu.
https://bugs.launchpad.net/bugs/1956838

Title:
  drag and drop broken chromium snap

Status in chromium-browser package in Ubuntu:
  Confirmed

Bug description:
  With the latest Chromium refresh on 2020-01-07 to version 97.0.4692.71
  Chromium will not drag and drop selected text onto any any application
  including Chromium.  In a virtual machine, I was able to revert the
  Chromium snap to version 96.0.4664.110 and drag and drop works.

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


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to