macdown icon indicating copy to clipboard operation
macdown copied to clipboard

Rendering pane flashing

Open dpmccabe opened this issue 5 years ago • 75 comments

Upgraded to 0.7.2 today and the rendering pane is flashing on almost every keypress: https://i.imgur.com/F7OTGhH.mp4

It seems to happen with every combination of themes and syntax highlighting I've tried.

dpmccabe avatar Nov 18 '19 18:11 dpmccabe

I have this same issue, somewhat renders the app unusable.

MiroFurtado avatar Nov 18 '19 19:11 MiroFurtado

Me too. macOS 10.15.1 on Mac Mini 2018. The precise build is 1008.

Happens regardless of macOS dark/light mode, or MacDown themes.

akauppi avatar Nov 19 '19 07:11 akauppi

When I tried 0.7.2 on macOS 10.14.6 I saw the same flashing, so I don't think this is Catalina-specific.

machale avatar Nov 20 '19 04:11 machale

This is not Catalina specific; I haven't installed yet and I see the same blinking. I re-installed the previous version for now.

homer0 avatar Nov 21 '19 08:11 homer0

Yes, same flickering issue with MacDown 0.7.2 on MacOS 10.14.6. I’m rolling back to the previous version 0.7.1 too.

@FranklinYu, any guesstimate as when this will be fixed?

jenstroeger avatar Dec 04 '19 19:12 jenstroeger

@jenstroeger I haven't found the cause so I cannot provide any estimate. Sorry.

FranklinYu avatar Dec 04 '19 23:12 FranklinYu

@FranklinYu no problem; the app is great as it is :D; I think there's no problem waiting a little bit more for all the new features.

homer0 avatar Dec 05 '19 02:12 homer0

Same here. The software became totally unusable. I updated from 0.7.1 to 0.7.2 and I'm really surprised and disappointed by all the UI changes and instability that came in a 0.0.X version.

titanix avatar Dec 13 '19 06:12 titanix

@titanix PR welcome 😄

FranklinYu avatar Dec 14 '19 05:12 FranklinYu

Same here. The software became totally unusable. I updated from 0.7.1 to 0.7.2 and I'm really surprised and disappointed by all the UI changes and instability that came in a 0.0.X version.

Not hard to just use the older binary. I'm sure that the developer who donates his time to make this app has more than enough stuff to deal with.

MiroFurtado avatar Dec 17 '19 00:12 MiroFurtado

Also have the same, MacDown 0.7.2 (1008) on macOS Mojave 10.14.6, with OS in dark mode. Also just rolling back the latest update for now, but plus one that it happens for me.

techdad avatar Dec 19 '19 11:12 techdad

This can easily be reproduced, but I’m still unable to find the cause of this issue. Will invest more time in it, but for the time being I plan to release a new version in stable channel addressing #1103. I guess it’s not bad to at least fix one issue.

FranklinYu avatar Jan 02 '20 06:01 FranklinYu

Updated from 0.7.1 to 0.7.3 (using Mojave 10.14.2), issue still exists (as predicted above). As a temporary measure, setting Update preview automatically as you type to off avoids the flicker.

anatmela avatar Jan 15 '20 15:01 anatmela

I'm trying to understand what is the cause that affects this. Any of you have Retina displays? which resolution? Just trying to understand a pattern :) I have a MacBook Pro 2019 and I have this problem every now and then, but not for every character that I type.

iJaack avatar Jan 26 '20 18:01 iJaack

Any of you have Retina displays? which resolution?

Yes: 15.4-inch (2880 x 1800), Intel Iris Pro 1536 MB graphics. That’s a 2015 MacBook Pro, and it flickers consistently with every keypress.

jenstroeger avatar Jan 26 '20 18:01 jenstroeger

Any of you have Retina displays? which resolution?

I have a 27" late-2015 iMac with a retina screen and see the flickering. I also have a non-retina monitor attached and the flickering happens there, too.

SSteve avatar Jan 26 '20 19:01 SSteve

I can also reproduce it on Retina iMac 2019 version. The flickering doesn’t happen every time, but only when I type fast. I suspect that when I type slowly the CPU processes it so fast that I didn’t notice it, which means that when we have a fix we need to test it on old hardware. I also have a Mac mini 2014 for this purpose.

I recommend everyone to use @anatmela’s workaround until we fix this bug.

FranklinYu avatar Jan 27 '20 01:01 FranklinYu

Having this problem on as well. Using the work around for the time being. Just wanted to add my laptop's specs to help with finding a pattern for debugging: Screen Shot 2020-01-27 at 11 57 44 AM

AHBruns avatar Jan 27 '20 17:01 AHBruns

I can give more if needed.

AHBruns avatar Jan 27 '20 17:01 AHBruns

Having the same issue on Mojave (10.14.6). Specs are below:

Screenshot 2020-01-28 at 09 30 12

Thanks @anatmela, that workaround works great!

jpweg1993 avatar Jan 28 '20 09:01 jpweg1993

Same issue, 2019 MBP 32GB Ram, 8-core i9 2.4GHz, AMD Radeon Pro 5300M 4 GB graphics card. Catalina 10.15.2

craigrouse avatar Jan 28 '20 10:01 craigrouse

@FranklinYu I remember seeing some OS X (those times) debugging tool for showing when GUI gets redrawn. Maybe that would be helpful - came to my mind since you mentioned:

I suspect that when I type slowly the CPU processes it so fast that I didn’t notice it.

Likely comes/came with Xcode. I don't have it on this machine, nor have seriously used.

akauppi avatar Feb 04 '20 14:02 akauppi

+1, because of this ongoing issue I have downgraded to 0.7.1, last stable version where this does not occur on my OS. Mohave 10.14.6, retina 5K imac, Radeon Pro 575 4GB graphics.

sjspielman avatar Feb 13 '20 14:02 sjspielman

Also seeing this issue on my machine, specs below. Downgraded to 0.7.1 for now.

Screenshot 2020-02-16 at 16 26 01

timwredwards avatar Feb 16 '20 15:02 timwredwards

A lot of people have reported this issue. Is there anybody not experiencing this issue? If so, that information might also be useful.

manngo avatar Mar 01 '20 07:03 manngo

Rather than rollback, until this issue is resolved, turning off "Update preview as you type" and then just using command-R to refresh the preview is a pretty workable alternative.

dissolved avatar Mar 02 '20 22:03 dissolved

Hi,

Just checking in to see the progress of this issue. Do we have a clue as to what is causing it? Is it the implementation of a bugfix that is taking the most time? If so, please let me know what I can do to help in terms of a PR. I really enjoy using this application 👍

Nexuist avatar Mar 19 '20 03:03 Nexuist

One potential 'fix' would be to render the updated content in a second web view, and then swap the web views out after the render is complete. this would prevent showing a blank web view at all, as the old one could be displayed while the new one renders the updated content.

adamwulf avatar Apr 01 '20 19:04 adamwulf

I don't know if this will be of much help, but I think it's worth mentioning that refreshing / rendering with ⌘R will still result in flickering even if no changes have been made.

Palisand avatar Apr 08 '20 14:04 Palisand

I'm trying to understand what is the cause that affects this. Any of you have Retina displays? which resolution? Just trying to understand a pattern :) I have a MacBook Pro 2019 and I have this problem every now and then, but not for every character that I type.

MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports) 3,5 GHz Intel Core i7 double cœur 16 Go 2133 MHz LPDDR3 Intel Iris Plus Graphics 650 1536 Mo

I am seeing this issue both on the integrated retina display and on my 24" 1080p iiyama auxiliary screen.

e-dervieux avatar Sep 08 '20 08:09 e-dervieux