Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Copy to qube" etc context menu options missing in File Manager for MTP devices when mounted with Thunar #8830

Open
UndeadDevel opened this issue Jan 5, 2024 · 1 comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. affects-4.2 This issue affects Qubes OS 4.2. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@UndeadDevel
Copy link

UndeadDevel commented Jan 5, 2024

Qubes OS release

4.2
(also 4.1 IIRC)

Brief summary

The File Manager context menu options are missing when right clicking on files of MTP mounted devices, such as Android smartphones; combined with #6330 this makes for pretty bad UX, as the only workaround I've found to not have to first copy files to sys-usb local storage in its normal file system, before copying them again to another qube, is to install jmtpfs and mount the MTP device manually, because in recent linux distros mounted MTP devices don't show up under /run/user/$UID/gvfs/ anymore.

If this is intended / known, please change to Enhancement Request. It looks like this issue might be related to #1726, though that particular mount point does not exist anymore.

Edit: I should note that I've since discovered that if I manually mount the phone with jmtpfs, then the context menu items do show up, but performance in that case is terrible.

Steps to reproduce

  1. Connect MTP device, e.g. Android phone, and mount it via File Manager (not manually)
  2. Navigate to some files there and right click on a file

Expected behavior

"Copy to qube" etc. QubesOS-specific context menu options present

Actual behavior

Those options are missing.

@UndeadDevel UndeadDevel added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Jan 5, 2024
@andrewdavidwong andrewdavidwong added C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. affects-4.2 This issue affects Qubes OS 4.2. affects-4.1 This issue affects Qubes OS 4.1. labels Jan 5, 2024
@UndeadDevel
Copy link
Author

UndeadDevel commented Jan 5, 2024

This was posted by user ranchester2 who has since deleted his post:

Installing gvfs-fuse seems to have fixed this issue for me.

Just tried that, didn't work; though I should clarify that I do get the Qubes-specific context menu items in Thunar if I manually mount the device with jmtpfs, just not when using the "quick way" of just plugging in the USB cable and opening Thunar right away (i.e. mounting with Thunar) and using jmtpfs usually has terrible performance, see this comment...so I suppose this could even be regarded a Thunar bug perhaps? But then the qvm-copy etc. context menu options are not standard Thunar options, but added by QubesOS.

Thinking more about it, also with regard to #1726, might it be that it has to do with no mount point being available anymore with recent linux versions when doing the File Manager MTP mount? At least that's my understanding from reading some stuff on stackexchange, which may not have been accurate. The thing is, when I mount manually with jmtpfs I specify a mount point on the file system, but I can't find where the phone is mounted if I let Thunar do it.

@UndeadDevel UndeadDevel changed the title "Copy to qube" etc context menu options missing in File Manager for MTP devices "Copy to qube" etc context menu options missing in File Manager for MTP devices when mounted with Thunar Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. affects-4.2 This issue affects Qubes OS 4.2. C: core needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants