kiwibrowser / src.next

Source-code for Kiwi Next, a Kiwi Browser auto-rebased with latest Chromium
BSD 3-Clause "New" or "Revised" License
2.28k stars 292 forks source link

Longstanding Bug Involving Accessibility 'Zoom' Feature: Finally Fixed in Chromium but Still Present in Kiwi #712

Open gtusr opened 2 years ago

gtusr commented 2 years ago

Describe the bug

Kiwi continues to have trouble respecting any custom text scaling factor that the user sets under the Accessibility menu item, even for simple website layouts like Hacker News. This has been an issue for many years that has also affected other chromium-based browsers like Microsoft Edge and Chrome, although it appears to be fixed now in more recent versions of those browsers.

To Reproduce

To reproduce the error, simply load Hacker News with an accessibility text scaling factor set to something higher than 100%.

Keep tapping 'more' at the bottom of the page to load additional pages of headlines and you will observe that the text size starts to jump back and forth between 100% and the upscaled factor randomly from page to page. It may occasionally take loading up to a dozen additional pages in order reproduce this bug.

Smartphone (please complete the following information):

Additional context

Currently I am not aware of any fix for this problem when using native browser text re-scaling in Kiwi. The only other two options available at the moment are to switch back to Chrome or Microsoft Edge and lose access to extensions, but experience very smooth and consistent text rescaling performance, or continue to use the Kiwi Browser with an extension like Zoom Page WE, that does work reliably when checking the 'modify CSS' option to zoom the page (rather than the 'internal browser' method), but slows down page rendering noticeably and oddly modifies the page navigation history in a way that makes it inconvenient to use this extension on a regular basis.

gnadelwartz commented 2 years ago

An other option would be to use an extension instead of loosing acces to extension, e.g. zoom for google chrome

https://chrome.google.com/webstore/detail/zoom-for-google-chrome/lajondecmobodlejlcjllhojikagldgd

There you can set a default zoom factor and for individual websites

gtusr commented 2 years ago

Thanks for the suggestions ... as it turns out I have already settled on this extension because it works reliably to set a custom zoom level for a specific domain, but it does suffer from the same bizarre "rewriting of browser history" bug as the WE extension: when I open the extension to change the zoom level of the current page, and then tap the back button to return to the re-scaled page, it usually takes me to another (random?) open tab.

It worked so much better when the zoom option was still available from the omnibox by tapping the icon next to the URL as described in this feature announcement:

Per Site Zoom Comes to Mobile

Not sure why it was removed. Does anyone have any insight into this?