Closed ralf3u closed 2 years ago
Show the content in the Preview after rendering and after the content is fixed.
I don't have that level of control of the webview.
Does the document have any tags that look like <link rel="stylesheet" type="text/css" href="style.css">
? If so, that is the cause of the problem. Documents that refer to external CSS files "shake". (I don't know how to fix it besides avoiding using those tags.)
Does the document have any tags that look like
<link rel="stylesheet" type="text/css" href="style.css">
? If so, that is the cause of the problem. Documents that refer to external CSS files "shake". (I don't know how to fix it besides avoiding using those tags.)
In the html-document there are no internal or external stylesheets. As it is mentioned in the title of that issue, the issue occurs also for md and fountain.
It may be related to not having enough time to process the large file. Does changing the following values in preview.conf
help?
update_interval_fast=150
size_factor_fast=0.002
It may be related to not having enough time to process the large file. Does changing the following values in preview.conf help?
update_interval_fast=150 size_factor_fast=0.002
I made a test with fountain. The issue is still there.
It may be related to not having enough time to process the large file. Does changing the following values in preview.conf help?
The issue does not appear on your computer?
The issue does not appear on your computer?
It does, but increasing those values helped. Try higher values... (just to see if it improves).
update_interval_fast=300
size_factor_fast=0.004
It does, but increasing those values helped. Try higher values... (just to see if it improves).
I don't see a big difference.
I don't see a big difference.
If increasing processing time doesn't help, it may be the webview itself (may be out of my control).
Today, I can't reproduce the result of Test 3 of the report when snippet of html, md and fountain are false, neither with html, nor with md, nor with fountain. There's no text shaking at all. Those default settings are used:
update_interval_fast=25
size_factor_fast=0.001
Conditions:
Test 1
Result: There is no shaking.
Test 2
Result: There is no shaking.
Test 3 Do the same like Test 2, but before to type in the editor:
Result: The content of the Preview-tab is shaking. I think why it is shaking: Because for a part of a second, I can see the top of the webpage. So, it seems to be that it shows first the top of the webpage and then the actual part of the webpage with the change.
Possible solution Show the content in the Preview after rendering and after the content is fixed.