diff options
-rw-r--r-- | doc/changelog.asciidoc | 4 | ||||
-rw-r--r-- | qutebrowser/utils/qtutils.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 43888903e..a771f4821 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -32,6 +32,10 @@ Fixed - (TODO) Compatibility with PDF.js v4 - Added an elaborate workaround for a bug in QtWebEngine 6.6.0 causing crashes on Google Mail/Meet/Chat. +- Graphical glitches in Google sheets and PDF.js, again. Removed the version + restriction for the default application of + `qt.workarounds.disable_accelerated_2d_canvas` as the issue was still + evident on Qt 6.6.0. (#7489) [[v3.0.2]] diff --git a/qutebrowser/utils/qtutils.py b/qutebrowser/utils/qtutils.py index 363d5607a..89175ca4e 100644 --- a/qutebrowser/utils/qtutils.py +++ b/qutebrowser/utils/qtutils.py @@ -250,9 +250,9 @@ def savefile_open( @contextlib.contextmanager def savefile_open( filename: str, - binary: Literal[True] = ..., + binary: Literal[True], encoding: str = 'utf-8' -) -> Iterator[IO[str]]: +) -> Iterator[IO[bytes]]: ... |