fanglingsu / vimb

Vimb - the vim like browser is a webkit based web browser that behaves like the vimperator plugin for the firefox and usage paradigms from the great editor vim. The goal of vimb is to build a completely keyboard-driven, efficient and pleasurable browsing-experience.
https://fanglingsu.github.io/vimb/
GNU General Public License v3.0
1.36k stars 100 forks source link

Weird zoom level behaviour #776

Closed FancyEnigma closed 4 weeks ago

FancyEnigma commented 1 month ago

Version: 3.7.0-13-g2e48d0f WebKit compile: 2.44.2 WebKit run: 2.44.2 GTK compile: 3.24.38 GTK run: 3.24.38 libsoup compile: 3.2.2 libsoup run: 3.2.2 Extension dir: /usr/local/lib/vimb

Steps to reproduce

Open a new vimb instance. The page text will be zoomed in five times. Press "zz", nothing happens, page stays zoomed in. Press "zo" or "zi" and then "zz", the page returns to normal zoom level. After that, press either "zi" or "zo" and the page will be zoomed in six or four times respectively. After that, pressing "zi" or "zo" will zoom in or out the page as expected and "zz" returns to a normal zoom level.

Expected behaviour

The page should open with 100% zoom and "zi" or "zo" should zoom in or out one step at a time.

Actual behaviour

The behaviour of the zoom keys is completely unexpected as described above.

Expected behaviour when opening vimb: 2024-10-02-14:39:06-1727872746

Actual behaviour when opening vimb: 2024-10-02-14:38:54-1727872734

FancyEnigma commented 4 weeks ago

This issue is fixed after updating to WebKit 2.46.1!