Commit af0916a6 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Disable hardware acceleration like in Epiphany: Fix imgur.com

parent 9db8aebe
Pipeline #78742 passed with stage
in 13 minutes and 37 seconds
......@@ -489,6 +489,8 @@ class WebView(WebKit2.WebView):
App().settings.get_value(
"font-serif").get_string())
settings.set_property("auto-load-images", True)
settings.set_hardware_acceleration_policy(
WebKit2.HardwareAccelerationPolicy.NEVER)
settings.set_property("enable-site-specific-quirks", True)
settings.set_property("allow-universal-access-from-file-urls",
False)
......
  • FYI: many GNOME apps are doing this too (at least: Epiphany, Evolution, Geary, and gnome-online-accounts). Gotta do what you gotta do....

Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment