[upstream] regression: drag'n'drop broken

Bug #1956888 reported by Saroumane
36
This bug affects 8 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Ubuntu 21.10
Chromium is installed via snap.
chromium 97.0.4692.71 1864 latest/stable

Since a few days (weeks ?) I can't anymore drag and drop my bookmarks in the bookmarks view (control + shift + O) nor directly in the bookmarks bar.
Bookmarks folders have the same problem.

Revision history for this message
Chris Guiver (guiverc) wrote (last edit ):

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1956888

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

(the bug title also mentions SORT, however you description instead talks about drag & drop? Which is your issue? or why the difference? Please clarify).

Revision history for this message
Saroumane (saroumane) wrote (last edit ):

Thank you for taking the time to study this bug report.

"Drag and drop" is indeed the way I usually sort out my bookmarks. I know there is a "sort by name" option (I won't try it).

I'm very sorry but I won't use any apport command, for classic privacy reasons. (But I can provide any logs, if it's "human-readable" and I can sanitize it by myself)

Revision history for this message
Saroumane (saroumane) wrote (last edit ):

If it may help : I created a new user on my system, and I reproduced the problem. I'll try to reproduce it from Ubuntu 21.10 "live USB" : right after the boot (if chromium is available) and with the latest chromium.

Revision history for this message
Chris Guiver (guiverc) wrote :

FYI: I've seen other user(s) reporting same or similar on support type issue(s); eg. https://askubuntu.com/questions/1386257/drag-and-drop-disabled so you may not be alone, but this is hearsay only.

tags: added: impish snap
Revision history for this message
Saroumane (saroumane) wrote (last edit ):

Problem reproduced with a fresh Ubuntu 21.10 Live USB (booted with X, whereas I use wayland on a daily basis) :
with both 2 snap versions of chromium available in Ubuntu store :
97.0.4692.71 (latest/stable)
98.0.4758.9 (latest/edge)

My hardware is quite classic, so yes I'm probably not alone to suffer of this broken drag'n'drop :
Ryzen 3600X
Radeon RX 5700 XT
4K monitor (I tried to put it in 1080p, with no scaling : nothing changed)

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in chromium-browser (Ubuntu):
status: New → Confirmed
Revision history for this message
Allan J Kelly (2-ak) wrote :

I have this problem.
Chromium Version 97.0.4692.71 (Official Build) snap (64-bit)
Ubuntu 20.04.3 LTS

Revision history for this message
Saroumane (saroumane) wrote (last edit ):

As a workaround, it's too bad we can't restore a bugfree version of chromium.
Not for web browsing, just to sort out bookmarks. (And then we restore the latest one)

The choice of versions available is *very* limited :

$ snap info chromium

channels:
  latest/stable: 97.0.4692.71 2022-01-07 (1864) 154MB -
  latest/candidate: 97.0.4692.71 2022-01-07 (1864) 154MB -
  latest/beta: 97.0.4692.71 2022-01-07 (1864) 154MB -
  latest/edge: 98.0.4758.9 2021-12-17 (1860) 154MB -
installed: 97.0.4692.71 (1864) 154MB -

Revision history for this message
Walter (wdoekes) wrote :

Is this related to https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1956838/comments/4 perhaps?

That bug reared its head for me when I was using a drag-drop widget in a website.

If it is, it is even uglier than you think.

> As a workaround, it's too bad we can't restore a bugfree version of chromium.

I've been pulling my hair out trying to find/download a working 1854 version, but that one got dropped when I tried beta/edge. Not a happy camper.

Revision history for this message
Walter (wdoekes) wrote :

I think the relevant bug report is:
https://bugs.chromium.org/p/chromium/issues/detail?id=1279532

It causes havoc with Tab moving, and broken sortable lists (like the bookmarks), and with pasting stuff to the wrong (X11) window. (See my previous comment.)

Downgrading to a previous version (1854) should be a matter of:

# snap list chromium --all

# snap revert chromium --revision 1854

Maybe allow more historic snap packages than 2 in the future:

# snap set system refresh.retain=4

And if you've lost the 1854 snap for amd64, I have it here:
https://junk.devs.nu/2022/bugs/chromium_96.0.4664.110_snap_1854_amd64.snap

sha512sum c636cd18798f0bb98138ec6aafa85b1ae460f415dfca5973d38cc3a70f0eb2b02629eaedf2b10acb561267bcdf73eb7f575c431d0ef56b5f350da855956c50b1

# snap install ./chromium_96.0.4664.110_snap_1854_amd64.snap --dangerous

(I think --dangerous is needed, but possibly not if you already had 1854 running before.)

Revision history for this message
Saroumane (saroumane) wrote (last edit ):

I found a workaround : in Chromium, go to Settings / Appearance and disable "Use system title bar and borders"

Revision history for this message
Olivier Tilloy (osomon) wrote :

I can confirm the original issue with dragging and dropping bookmarks to re-order them, and I can confirm that the workaround suggested in comment #11 (disable "Use system title bar and borders") works.

Changed in chromium-browser (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Olivier Tilloy (osomon) wrote :

chrome installed as a deb appears to be similarly affected, so it's not a chromium-specific problem.

Revision history for this message
Olivier Tilloy (osomon) wrote :

This appears to be fixed in chrome 99.0.4818.0 (currently in the dev channel), as advertised in https://bugs.chromium.org/p/chromium/issues/detail?id=1279532.

summary: - can't manually sort bookmarks anymore
+ [upstream] can't manually sort bookmarks anymore
tags: removed: snap
Olivier Tilloy (osomon)
summary: - [upstream] can't manually sort bookmarks anymore
+ [upstream] regression: drag'n'drop broken
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

This appears to be fixed for Ubuntu in Chromium snap version 98.0.4758.54, which is now available in the "latest/beta" channel for the "chromium" snap:

$ snap info chromium

To update to that:

$ snap refresh
$ snap switch chromium --channel beta
$ snap update chromium

Revision history for this message
Walter (wdoekes) wrote :

Confirmed with 98.0.4758.54:

- the pasting of content in an unrelated X window is _fixed_;

- the sorting is _fixed_;

- the moving of Tabs is _fixed_.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.