anki/qt
Damien Elmes 46b85d508a fix flicker when external CSS used
When we updated to flask 2.0, the default caching time changed to
0. When setting the HTML of a new card side in the DOM, the browser
first removes the existing content (including styling), then sends a
HTTP request to us to check whether the file has changed or not. By the
time the answer has arrived, the browser has repainted without the
styling, and thus we get a flicker.

A side-effect of reverting to flask 1.x behaviour is that external changes
to media files will not be reflected in Anki for an hour, unless Anki
is restarted, or the caches are cleared manually with an add-on. An
alternative approach would be to pre-fetch the css files like we do with
images, but there are other things like fonts to think about as well.

Closes #1455
2021-12-14 12:06:16 +10:00
..
aqt fix flicker when external CSS used 2021-12-14 12:06:16 +10:00
icons move remaining Filter button items into sidebar 2021-02-05 18:58:22 +10:00
mac implement a basic native macOS audio recorder 2021-12-07 18:48:24 +10:00
package don't bundle Qt into ARM Linux package 2021-12-09 15:56:00 +10:00
tests experiment with mypy cache 2021-12-10 10:46:38 +10:00
tools Add py3.9 to hooks (#1542) 2021-12-09 09:11:22 +10:00
.isort.cfg initial Bazel conversion 2020-11-01 14:26:58 +10:00
.pylintrc switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
bazelfixes.py updated package scripts 2021-10-28 18:46:45 +10:00
BUILD.bazel improve PyQt install 2021-10-23 10:56:17 +10:00
dmypy.py fix scripts/mypy* 2021-10-30 09:14:43 +10:00
mypy.ini switch to new-style PyQt scoped enums and Qt6 2021-10-15 12:57:19 +10:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
runanki.py get PyQt working directly with ./run on macOS 2021-10-16 18:07:29 +10:00

Python's Qt GUI is in aqt/