| Summary: | Associate .vv file extension with Virt-Viewer rather then as a plain text file that gedit attempts to open. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jason <jbryant> |
| Component: | glib2 | Assignee: | Colin Walters <walters> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | cfergeau, dblechte, elima, jbryant, tpelka, walters |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-08-06 13:56:08 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1420851 | ||
|
Description
Jason
2016-10-18 17:57:26 UTC
Not sure if this is a virt-viewer bug, shouldn't this be handled by the desktop environment, in this case GNOME? I double checked the virt-viewer.spec file and it does install it's own MIME type and runs update-mime-database in post install stage. This could also be an issue on the RHEVM side, it would be necessary to check what is the Content-Type the server sends when user clicks "Console". Even though the extension of the file is .vv, if server says its Content-type is "text/plain" I think the browser will follow up on the default application for text files. (In reply to Jason from comment #0) > Steps to Reproduce: > 1. In RHVM environment open the Manager GUI > 2. Go to the VM's tab, right click on a vm and click "Console" > 3. System will attempt to open the file and hang as gedit tries to launch > the file instead of Virt-Viewer or Remote-Viewer. The expected result is: 3. A dialog open asking me what to open the file with 4. remote-viewer can be chosen from that dialog, with a checkbox to skip the dialog from now on This works in the (somewhat old) RHEL6 VM I tested with. I have just tested with a fresh install of RHEL 7.2 and the report is correct. The default application is indeed gedit and remote-viewer is not presented as an option in Firefox. This has been identified as a bug in glib (https://bugzilla.gnome.org/show_bug.cgi?id=744282), which has already been fixed in recent versions. RHEL 7.2 does not have the fix for the problem, but luckily, RHEL 7.3 does ship it. Since 7.3 should not have this bug, shall we close this as CURRENTRELEASE? Any update to this bug? Just tested with a newly installed rhel7.4, and I'm getting the behaviour described in comment #5, not what is described in comment #0. I don't know if this behaviour is acceptable, or if there is more to improve. |