Running the test plan on stonking:

1. Launch the VM and open its screen:

```
$ lxc launch images:ubuntu/stonking/desktop evince-sru --vm -c limits.cpu=2 -c 
limits.memory=4GiB
Launching evince-sru
$ lxc console evince-sru --type=vga
```

2. In another terminal on the host, get a root shell in the VM. In that
shell, install evince, check its version and download a multi-page PDF:

```
$ lxc shell evince-sru
root@evince-sru:~# apt update
root@evince-sru:~# apt install -y evince
root@evince-sru:~# apt policy libevview-4.0-5
libevview-4.0-5:
  Installed: 49~alpha-2ubuntu3
  Candidate: 49~alpha-2ubuntu3
  Version table:
 *** 49~alpha-2ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu stonking/universe amd64 Packages
        100 /var/lib/dpkg/status

root@evince-sru:~# wget -O /tmp/test.pdf 
https://www.rfc-editor.org/rfc/rfc9110.pdf
--2026-11-11 14:12:28--  https://www.rfc-editor.org/rfc/rfc9110.pdf
Resolving www.rfc-editor.org (www.rfc-editor.org)... 104.18.21.81, 
104.18.20.81, 2606:4700::6812:1451, ...
Connecting to www.rfc-editor.org (www.rfc-editor.org)|104.18.21.81|:443... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/pdf]
Saving to: ‘/tmp/test.pdf’

/tmp/test.pdf                  [  <=>                                  ]
2.73M  8.29MB/s    in 0.3s

2026-11-11 14:12:29 (8.29 MB/s) - ‘/tmp/test.pdf’ saved [2858365]
```

The installed version is 49~alpha-2ubuntu3.

3. In the VM desktop, open a terminal and run:

```
$ evince /tmp/test.pdf
```

4. Move the pointer over the document, hold Ctrl and scroll the mouse
wheel up, then down.

As expected, the document scrolls and the zoom level in the header bar
stays the same.

5. In the root shell from step 2, enable -proposed and install the fixed
packages (the fix is in libevview-4.0-5):

```
root@evince-sru:~# add-apt-repository -y --pocket proposed
root@evince-sru:~# apt install -y -t stonking-proposed evince evince-common 
libevview-4.0-5 libevdocument-4.0-6
root@evince-sru:~# apt policy evince libevview-4.0-5
evince:
  Installed: 49~alpha-2ubuntu3.1
  Candidate: 49~alpha-2ubuntu3.1
  Version table:
 *** 49~alpha-2ubuntu3.1 100
        100 http://archive.ubuntu.com/ubuntu stonking-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status
     49~alpha-2ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu stonking/universe amd64 Packages
libevview-4.0-5:
  Installed: 49~alpha-2ubuntu3.1
  Candidate: 49~alpha-2ubuntu3.1
  Version table:
 *** 49~alpha-2ubuntu3.1 100
        100 http://archive.ubuntu.com/ubuntu stonking-proposed/universe amd64 
Packages
        100 /var/lib/dpkg/status
     49~alpha-2ubuntu3 500
        500 http://archive.ubuntu.com/ubuntu stonking/universe amd64 Packages
```

Both packages are installed from stonking-proposed with version
49~alpha-2ubuntu3.1.

6. Repeat steps 3 and 4.

As expected, Ctrl+wheel up zooms in, Ctrl+wheel down zooms out, and the
zoom level in the header bar changes.

7. Release Ctrl and scroll the mouse wheel

As expected, the document scrolls and the zoom level doesn't change.


** Tags removed: verification-needed-stonking
** Tags added: verification-done-stonking

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/2153540

Title:
  Evince does not zoom PDF on CTRL+scroll wheel

To manage notifications about this bug go to:
https://bugs.launchpad.net/evince/+bug/2153540/+subscriptions


-- 
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to