CodingFriends / Tincta

Tincta is a one-window text editor for macOS with focus on speed, stability and ease of use.
https://codingfriends.github.io/Tincta/
MIT License
149 stars 21 forks source link

Not responding anymore on windows resize #64

Open JulienRobberechts opened 2 years ago

JulienRobberechts commented 2 years ago

When I resize the windows and I have a file opened, sometimes the app freeze and never respond anymore. I have to kill the app and I loose my work since the last save.

Tincta 4.2.1 (4212) MacOS version 12.2 Processor Intel Core i7

oddmagne commented 2 years ago

Same. My Tincta freezes often, even after upgrading to Monterey.

Here is a system report. Hope it can help debug this. Today I had only 2-3 files open. Simple plain text files. I noticed the cpu fans started going fast, and Activity Monitor told Tincta was the reason for eating cpu. I had to force quit Tincta. https://zerobin.net/?95e1d626f8895eae#ZGOQsryf7aRYxt6crpFeh9X5bHwuYf1U3HPGkh3DreA=

I posted a similar system report earlier: https://github.com/CodingFriends/Tincta/issues/46

nickw1996 commented 2 years ago

I also, have this problem.

greimers commented 2 years ago

I found a way to reliably reproduce this:

  1. Open a file with syntax coloring like a Markdown file
  2. Scroll to the very end of the file
  3. Resize the window or sidebar

This leads to some kind of infinite loop in the view update methods. However, I could not find what's causing it...