can't move file/directory by drag and drop by using touch monitor

Bug #1966635 reported by Yuan-Chen Cheng
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mutter
New
Unknown
OEM Priority Project
Triaged
Critical
Unassigned
mutter (Ubuntu)
New
Undecided
Unassigned
nautilus (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Can't move file/directory by drag and drop by using a touch monitor

OS: 22.04, up to date @ Mar 28, 2022.
nautilus: 1:42~rc-1-ubuntu1
mode: wayland

tags: added: 2-in-1 jammy
Changed in oem-priority:
importance: Undecided → Wishlist
tags: added: oem-priority
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.

At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected.
3. The behavior you actually encountered (in as much detail as possible).

Please also ensure that you include the release and flavour of Ubuntu that you are using.

Thank you!

Changed in nautilus (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote (last edit ):

video captured as running jammy, updated @ 2022/03/29, x11 mode. (It works on x11 mode, but it's not on Wayland mode)

To move a file by drag and drop in x11 mode, need to move fast. If you check the video, if the finger moves too slow, it will show the context menu, and no longer be able to move the file around.

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

The output of "dpkg -l" as capture video in #2.

Revision history for this message
Sebastien Bacher (seb128) wrote :

sorry but the description is unclear, you mention that it doesn't work in wayland, is that the issue you report? then you mention that hold the press opens the context menu, is that the issue or another one?

Revision history for this message
Yuan-Chen Cheng (ycheng-twn) wrote :

Yes, it's not working in Wayland mode, and that's the issue.

I don't know if gnome/nautilus have this feature (dnd file to move it by using touch monitor)

Maybe it's not and just happened to partially work on x11 mode (if you check the video I upload, which is x11 mode)

If gnome/nautilus does not have this feature, I think this is a good feature to have. (May need to think the proper way to)

For the context menu in Wayland mode for the directory, I create lp:1964091.

Revision history for this message
Sebastien Bacher (seb128) wrote :

https://gitlab.gnome.org/GNOME/gtk/-/issues/2649 seems to describe a similar issue

Andy Chi (andch)
tags: added: originate-from-1981676 somerville
Andy Chi (andch)
tags: added: originate-from-1982904 stella
jeremyszu (os369510)
Changed in oem-priority:
assignee: nobody → jeremyszu (os369510)
status: New → Confirmed
jeremyszu (os369510)
no longer affects: gnome-shell-extension-desktop-icons-ng
jeremyszu (os369510)
no longer affects: gnome-shell-extension-desktop-icons-ng (Ubuntu)
Revision history for this message
jeremyszu (os369510) wrote (last edit ):

After some checks, it seems because data_device_start_drag() doesn't support MetaWaylandTouch.

The fix will impact the mutter architecture and it's more likely a feature request in mutter so far.
It can be workaround by either sync MetaWaylandPointer motion and MetaWaylandTouch when meta_wayland_seat_update() or meta_wayland_seat_handle_event() with some tweaks. or some changes in meta_wayland_data_device_start_drag().

As maintainer mentions[1] the drag feature is refactoring

part.1: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2068
part.2: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2099
part.3: https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2100

and this issue might be fixed in part.5...

For both workaround look not suitable with the maintainer's design.
I prefer to wait until the refactoring completed by maintainer.

[1] https://gitlab.gnome.org/GNOME/mutter/-/issues/2393#note_1532698

Changed in oem-priority:
assignee: jeremyszu (os369510) → nobody
tags: added: originate-from-1993110
Revision history for this message
Jay Chen (jay-ch) wrote :

Understand this refactoring work is handled by the maintainer and no release date committed at this point.

Still want to add this in a wish list since this issue is really causing bad user experience in Wayland mode.

I am asking a fix could land by November '22 for PC OEM platforms with touch screen in production, if at all possible.

Changed in mutter:
status: Unknown → New
Yao Wei (medicalwei)
tags: added: originate-from-1997210
Dirk Su (dirksu)
tags: added: originate-from-1996495
tags: added: touch touchscreen
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 1813441 but that suggests it should have been working since the release of desktop-icons-ng.

Yao Wei (medicalwei)
tags: added: originate-from-1996036
Dirk Su (dirksu)
tags: added: originate-from-1996155
Andy Chi (andch)
tags: added: originate-from-2000750
sheldonwang (shelw)
tags: added: originate-from-2002265
jeremyszu (os369510)
tags: added: originate-from-2003169
Andy Chi (andch)
tags: added: originate-from-2006441
tags: added: originate-from-2006547
Bin Li (binli)
tags: added: originate-from-2006685 sutton
Andy Chi (andch)
tags: added: originate-from-2007815
Revision history for this message
Rex Tsai (chihchun) wrote :

Changed the bug importance of oem-priority to Critical, since it impacts the user experience on Wayland and failed on Ubuntu Desktop certification requirement.

Changed in oem-priority:
importance: Wishlist → Critical
Rex Tsai (chihchun)
Changed in oem-priority:
status: Confirmed → Triaged
Andy Chi (andch)
tags: added: originate-from-2019935
tags: added: originate-from-2021934
Max Lee (max-lee)
tags: added: originate-from-2022991
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

That's a lot of private proprietary bugs. Are you sure you can't close most of them as duplicates of each other?

Revision history for this message
jeremyszu (os369510) wrote :

They are used for different platform of different OEM. The OEM platform owner tracks specific platform bugs by platform tag in the private bug and we are not able to share the platform information cross OEM.

Revision history for this message
Daniel van Vugt (vanvugt) wrote (last edit ):
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See also bug 2029416.

tags: added: originate-from-2033591
Revision history for this message
Kent Lin (kent-jclin) wrote :

Still fail on Ubuntu 23.10.01
nautilus: 45-rc

tags: added: mantic
tags: added: originate-from-2045839
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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