Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 859637 Details for
Bug 1061690
RFE: Do not keep aspect ratio when Auto resize VM with window is enabled
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed enhancement
0001-manager-fix-guestresize.patch (text/plain), 1.84 KB, created by
Kristof Marussy
on 2014-02-05 12:47:28 UTC
(
hide
)
Description:
proposed enhancement
Filename:
MIME Type:
Creator:
Kristof Marussy
Created:
2014-02-05 12:47:28 UTC
Size:
1.84 KB
patch
obsolete
>From 51bc03a64c9c31e4f27ae1c6a1eb2a6684bb68e0 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Krist=C3=B3f=20Marussy?= <kris7topher@gmail.com> >Date: Wed, 5 Feb 2014 13:09:53 +0100 >Subject: [PATCH] manager: fix guestresize > >--- > virtManager/console.py | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > >diff --git a/virtManager/console.py b/virtManager/console.py >index 823089d..6fdc83f 100644 >--- a/virtManager/console.py >+++ b/virtManager/console.py >@@ -375,6 +375,8 @@ class Viewer(vmmGObject): > return False > def set_resizeguest(self, val): > ignore = val >+ def get_resizeguest(self): >+ return False > > > class VNCViewer(Viewer): >@@ -770,6 +772,12 @@ class SpiceViewer(Viewer): > if self.display: > self.display.set_property("resize-guest", val) > >+ def get_resizeguest(self): >+ if self.display: >+ return self.display.get_property("resize-guest") >+ else: >+ return False >+ > def _usbdev_redirect_error(self, > spice_usbdev_widget, spice_usb_device, > errstr): >@@ -1496,6 +1504,7 @@ class vmmConsolePages(vmmGObjectUI): > > scroll = self.widget("console-gfx-scroll") > is_scale = self.viewer.get_scaling() >+ is_resizeguest = self.viewer.get_resizeguest() > > dx = 0 > dy = 0 >@@ -1513,6 +1522,10 @@ class vmmConsolePages(vmmGObjectUI): > scroll.set_policy(Gtk.PolicyType.AUTOMATIC, > Gtk.PolicyType.AUTOMATIC) > >+ if not self.force_resize and is_resizeguest: >+ self.viewer.display.set_size_request(req.width, req.height) >+ return >+ > if not is_scale or self.force_resize: > # Scaling disabled is easy, just force the VNC widget size. Since > # we are inside a scrollwindow, it shouldn't cause issues. >-- >1.8.5.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1061690
: 859637