Description of problem: Under Wayland, using virt-manager to access the console of a Windows 10 VM, the View -> Resize to VM option resizes the window too large and creates a black border around the window. This does not happen under Xorg. I have experienced this on 2 separate Fedora 25 systems upgraded to F25 from F24 today. Version-Release number of selected component (if applicable): How reproducible: Constant. Steps to Reproduce: Log into Wayland, start virt-manager, start a Windows 10 VM, open the console, View -> Resize to VM, observe border. Actual results: Black border around Windows console. Expected results: No border around Windows console. Additional info: Will attach screenshots.
Created attachment 1222898 [details] Wayland Example
Created attachment 1222899 [details] Xorg Example
*** Bug 1397636 has been marked as a duplicate of this bug. ***
Thanks for the report, fixed upstream now: commit 88bfdf4926e1223e75468e138d28a1f3756e3cc6 Author: Cole Robinson <crobinso> Date: Tue Dec 13 13:31:17 2016 -0500 console: Fix resize to VM on wayland (bug 1397598)
virt-manager-1.4.0-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3f704d241
virt-manager-1.4.0-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-f3f704d241
virt-manager-1.4.0-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
Created attachment 1232951 [details] virt-manager-1.4.0-5 windows still too big with black borders
I just updated to virt-manager from 1.4.0-4 to 1.4.0-5, and the VM window, when resize to VM, is still too big with black borders. The borders are thinner than before, but still the size calculation is obvious wrong.
The Windows 7 VM resize correctly. But Fedora 25 VM does not.