virt-manager/virtManager
Cole Robinson 87e0ed5de0 Revert "details: console: drop hardcoding background color as black"
This reverts commit aaabb44ac7.

I figured out how to trigger this: it's when scaling is enabled.
To maintain VM aspect ratio, we have to constrain the size of the
viewer widget. When the widget is smaller than the VM window, the
viewport widget is visible. This change made the viewport the default
theme color, rather than black.

Problem is, in the non-scaling case, we don't shrink the viewer
widget but let it expand to fill the whole area. This is necessary
to get the 'Autoresize VM with window' option to work, but is also
simpler in the cdoe. The viewport widget is not visible, and gtk-vnc
and spice-gtk paint the non VM owned areas as black. AFAICT that's not
configurable in any way.

So after this change we have differing behavior for scaled and
non-scaled cases, which is confusing and visually kinda comes off as
a bug.

So this reverts back to the old behavior and explains all this in
a comment.
2022-01-27 11:07:31 -05:00
..
details Revert "details: console: drop hardcoding background color as black" 2022-01-27 11:07:31 -05:00
device netlist: Revive portgroup UI 2022-01-25 16:01:17 -05:00
lib uitests: top off test coverage 2022-01-17 17:11:18 -05:00
object details: Add os.firmware=efi in the firmware selector UI 2022-01-26 13:23:27 -05:00
__init__.py Fix copyright header to specify GPLv2 or later, not GPLv2 only. 2018-04-04 16:51:37 -04:00
about.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
addhardware.py virtManager: change MDEV display names 2022-01-19 14:24:14 -05:00
asyncjob.py progress: Drop tqdm and revert back to local urlgrabber copy 2021-06-09 16:52:11 -04:00
baseclass.py vmwindow: Cleanup the interaction with vmmConsolePages 2020-09-09 19:37:11 -04:00
clone.py device: disk: Rename path property to get/set_source_path 2020-11-11 19:06:32 -05:00
config.py uitests: More work to drop sleeping and hacks 2020-09-20 14:32:55 -04:00
connection.py connection: Unconditionally report connection leak 2020-11-10 17:41:20 -05:00
connmanager.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
createconn.py uitests: Finish createconn.py coverage 2020-08-26 15:20:05 -04:00
createnet.py createnet: Add full uitest coverage 2020-08-26 15:20:05 -04:00
createpool.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
createvm.py guest: Rework set/get_uefi entry points 2022-01-26 11:59:42 -05:00
createvol.py createvol: Drop Allocation field in favor of checkbox 2020-09-20 17:08:39 -04:00
delete.py progress: Some internal API cleanup 2021-05-22 14:56:10 -04:00
engine.py virt-manager: Stop suppressing all warnings 2020-09-19 14:28:05 -04:00
error.py uitests: Finish error.py coverage 2020-08-26 15:20:05 -04:00
host.py i18n: improve title of connection dialog 2020-09-17 15:38:42 -04:00
hostnets.py host: Use libvirtobject.run_status 2021-05-22 16:17:02 -04:00
hoststorage.py host: Use libvirtobject.run_status 2021-05-22 16:17:02 -04:00
manager.py uitests: Use drag() method again for window cleanup tests 2020-09-22 11:28:21 -04:00
migrate.py migrate: Add XML editor support 2020-09-05 17:50:48 -04:00
oslist.py virtManager: add coverage annotations and remove dead code 2020-08-26 15:20:05 -04:00
preferences.py details: Add host-passthrough as an explicit CPU UI choice 2020-09-20 18:21:43 -04:00
storagebrowse.py objects: Erase the notion of connkey 2020-09-01 14:27:11 -04:00
systray.py systray: Appindicator tweaks 2020-11-16 11:11:19 -05:00
virtmanager.py Remove shebangs from library paths 2021-06-22 19:54:37 -04:00
vmmenu.py codespell: Whitelist 'cloneable' 2020-09-05 15:49:55 -04:00
vmwindow.py vmwindow: vm state-changed update flow changes 2020-09-21 09:06:18 -04:00
xmleditor.py virtManager: misc reference leak fixes 2020-09-08 17:32:00 -04:00