https://bugs.kde.org/show_bug.cgi?id=520533

            Bug ID: 520533
           Summary: Uneven scrolling in VM guests using virt-manager
    Classification: Plasma
           Product: kwin
      Version First unspecified
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

I have also filed a bug report against virt-manager for this issue, which I
link here. I will edit that bug report with the address of this bug report as
well. I've filed against kwin and virt-manager because I am not certain as to
which project is "responsible" for the bug; this issue does not happen using
Gnome/mutter, but it does under KDE/kwin (or Sway fwiw). The issue also doesn't
happen when running KDE/kwin as a host and using Gnome Boxes for virtual
machines.

https://github.com/virt-manager/virt-manager/issues/1095

What follows is what I posted for the virt-manager bug report:

**Describe the bug**
When you scroll (either up or down), the number of lines scrolled alternates
depending on the scroll sensitivity setting within the desktop environment. As
an example in most default settings if I were to scroll down 4 times in a
Firefox window running in the guest: 3 lines --> 6 lines --> 3 lines --> 6
lines. This applies to every application where scrolling can use used. This is
especially irritating within small input boxes. This bug does not occur under
Gnome; though it may seem a compositor problem (both KDE's kwin and Sway have
this behavior, while Gnome does not), Gnome Boxes does not exhibit this
behavior under Gnome, KDE or Sway. I have even tried to handle this using
various tweaks to libinput, but have been unsuccessful. 

I would have filed this solely against KDE and Sway, but Gnome Boxes working
correctly suggests this might be on virt-manager. I plan to file against kwin
shortly. I will keep an eye out on the report in case you need any additional
information.

**To Reproduce**
Steps to reproduce the behavior:
1. Run a VM in virt-manager's viewer.
2. Go to window that requires scrolling i.e. a web browser, file manager in the
/etc directory, etc.
3. Scroll multiple times in the same direction.
4. Note that each click of the scroll wheel does not scroll the same amount; in
effect, it seems as if its processing 1 scroll event, then 2 scroll events,
then 1 again, etc.
5. Try the same VM under Gnome Boxes and note the problem does not exist.
6. Use Gnome on the host, and notice the problem doesn't exist at all. 

**Expected behavior**
Line scrolling should be consistent e.g. 3 lines --> 3 lines --> 3 lines --> 3
lines.

**System (please complete the following information):**
 - Distribution: Fedora 44 KDE (Secureblue)
 - virt-manager version: virt-manager-5.1.0-4.fc44.noarch
 - libvirt version: libvirt-12.0.0-3.fc44.x86_64

I will also keep tabs on this bug report so that I can provide you any
additional information you need.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to