unstable images and preview flicker
Problem
The size of inserted images are unstable freaquently. At that time, the preview shows with a flicker lite an attached video.
Reproduction
- launch typora
- write some sentences
- insert some images
- repeat above writing and inserting
- image size and preview change to unstable
It looks like this flicker occurs at the time when images exist on the top of the preview area.
Environment
- macOS Monterey, version 12.3.1
- MacBook Air (M1, 2020)
- 16GB memory
- 2TB SSD
- typora 1.2.4 (6304)
https://user-images.githubusercontent.com/15891018/171991986-b0f88117-f289-4e4a-9a73-877f93ca3426.mp4
Possible to send us the sample md file? And what about 1.3.3-dev?
Thanks!! This is the sample file: preview-flicker.zip
Now I tested this sample file on 1.3.3-dev, but same problem was occured...
I tested this sample file on 1.3.7, then it looks like that works stably!! Thanks!!
HOWEVER, Typora works too much slowly. This is a new problem and this occurs on 1.3.3-dev, 1.3.6 and 1.3.7. 1.2.4 is no problem.
These following videos are the differeces about this new problem. And, it occurs when I open another markdown files including lots of images and videos with Typora. (These other markdown files are different from the above sample file [preview-flicker.zip])
- (OK) 1.2.4
https://user-images.githubusercontent.com/15891018/176470300-4882c3b2-474c-4748-b924-30c1cc36a908.mp4
- (NG) 1.3.7
https://user-images.githubusercontent.com/15891018/176470443-b1b84b9a-a645-4c47-ae09-9e9bff9850e1.mp4
If you think I should make a new issue page, I'll do it.
Thanks,
Possible to provide the sample file for the new issue?
Thanks so much!! The file size is so large (115MB), so I put my dropbox link here. https://www.dropbox.com/s/u6268zipuxukgd6/sample.zip?dl=0
@keitasumiya Hi, which theme do you use? How about built-in themes? I tested with Github theme, all seems ok so far...
@abnerlee I usually use my special theme that I made from a built-in github theme. I also tested all built-in themes but all themes had been slow... Therefore I think this problem doesn't depend on theme.
You can preview the fix on https://typora.io/releases/dev
fixed in 1.4.4