-
Notifications
You must be signed in to change notification settings - Fork 46
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
sd-devices should not need to open in disposables #1238
Comments
Given that USB devices with source material are attached to sd-devices, if someone clicks on a file on a USB, what do we want to happen? It seems reasonable to me that source material is always opened in sd-viewer and not something else. |
I had not considered that use-case. Is viewing files on sd-devices something we want to encourage / support? I generally see sd-devices more as an outflow. But maybe there is the case that someone wants to check if they really exported the right file. I guess at this point this is a UX question more than anything else. If this is something we do not intend (and generally don't expect users to be taking advantage of this "feature"), my suggestion would be to just not open the files anywhere instead of opening in |
I personally don't think of it as a genuine use case, but more like, given that users have the technical ability to open source material in this VM, if they do so accidentally or purposefully, would we rather have it open in sd-devices or sd-viewer? |
I get your point 🙂. But if we have the possibility to simply make it not open at all with the same mechanism we use to open in a disposable (via a .desktop file that simply runs |
Description
Even though
sd-devices
hasdefault_dispvm
set toNone
, it can still open files in disposables due to qrexec policy:From what I can see, this behavior was originally introduced here without much explanation. It should not have many negative consequences other than extra resource consumption potential. But if it does not fit a purpose, it should not exist.
Steps to Reproduce
SDW 1.0.0
Open terminal in
sd-devices
and open a file in disposableqvm-open-in-dvm
Expected Behavior
Not allowed.
Actual Behavior
Disposable opened.
The text was updated successfully, but these errors were encountered: