Bug 1481957
| Summary: | Recent connections is empty | ||
|---|---|---|---|
| Product: | [Community] Virtualization Tools | Reporter: | admin |
| Component: | virt-viewer | Assignee: | Daniel Berrangé <berrange> |
| Status: | NEW --- | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | unspecified | CC: | aaronzyy, cswanson, dave, fedora, kelvin.middleton, ken20001, marcandre.lureau, rduda, xen-maint |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Windows | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2025-10-17 00:10:36 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: | |
| Embargoed: | |||
|
Description
admin
2017-08-16 07:09:25 UTC
*** Bug 1610564 has been marked as a duplicate of this bug. *** I can see that this works on Linux, but has stopped working on Windows. AFAIK this is supposed to be handled automatically for us by GtkRecentChooser so presumably something in GTK has broken this. *** Bug 1253915 has been marked as a duplicate of this bug. *** The original Windows MSI installer for virt-viewer 5.0 *does* remember connections, but if I build a new MSI installer for the 5.0 release it does *NOT* remember connections. This strongly suggests the problem is not in virt-viewer, but instead most likely a regression in GTK It was broken somewhere between GTK 3.22.2 and 3.22.17 AFAIK. A likely candidate is the refactoring work done to support GContentType on non-Linux: https://bugzilla.gnome.org/show_bug.cgi?id=734946 This included changes to filter the recent files list in: commit e387f807e4a6da663bca3f8d0b75f1cdbd66465d Author: TingPing <tingping> Date: Wed Mar 8 22:52:58 2017 -0500 Improve GContentType usage Convert to content type where needed. Should fix various issues on Windows and OS X. https://bugzilla.gnome.org/show_bug.cgi?id=734946 I'm guessing our saved URIs get filtered out as there is no content type match for the vnc:// and spice:// URI schemes. Added Marc-Andre who recent the original "recent connections" code in case he has any ideas on fixing this. (In reply to Daniel Berrange from comment #6) > Added Marc-Andre who recent the original "recent connections" code in case > he has any ideas on fixing this. Yep, after some investigations: https://gitlab.gnome.org/GNOME/gtk/issues/1769 I wonder if the suggestion in this bug for registering the URI schemes would avoid us triggering the GTK bug https://bugzilla.redhat.com/show_bug.cgi?id=1434368 this stupid bug last so looooooog years Yep, five years without a fix. What's the justification for a MIME type lookup anyway? GTK blames applications that do this for the failed behavior. Just noting that this still impacts me using virt-viewer v11.0-256 and the workaround in https://gitlab.com/virt-viewer/virt-viewer/-/issues/52 (via the GTK bug) does not solve it. This product has been discontinued or is no longer tracked in Red Hat Bugzilla. Reopening because Virtualization Tools has not been discontinued. |