Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Brackets becomes unresponsive when scrolling brackets.min.css #10879

Closed
marcelgerber opened this issue Apr 10, 2015 · 4 comments
Closed

Brackets becomes unresponsive when scrolling brackets.min.css #10879

marcelgerber opened this issue Apr 10, 2015 · 4 comments

Comments

@marcelgerber
Copy link
Contributor

  1. In the Brackets repo, run grunt build to generate a new src/styles/brackets.min.css (I created mine based on a5a2cd5)
  2. Ensure View > Word Wrap is enabled
  3. Open the aforementioned file in Brackets
  4. Scroll all the way to the end

Result:
Sooner or later, Brackets freezes with the renderer process (not the main process) utilizing around 17-20% of CPU usage.

Windows 8.1, Brackets 1.2 Shell (official), a5a2cd5.
I reproduced this with a vanilla version of Brackets, without any extensions and with all preferences set to their default (aka first launch).

@marcelgerber
Copy link
Contributor Author

It's literally an issue with f3644f7. (I git bisected 3 times to find that, and double-checked the actual culprit, so yeah, it is).

@le717
Copy link
Contributor

le717 commented Apr 11, 2015

If this is confirmed to be caused by that commit, I think you just won the weirdest bug origin award.

@marcelgerber
Copy link
Contributor Author

There are others that qualify, like brackets-userland/brackets-git#436, but thanks :D

I guess there's something wrong with the way CM measures fonts, and then it's not too obscure.

@marcelgerber
Copy link
Contributor Author

Interesting. Looking further into this issue, it does not repro when I disable the QuickView default extension.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@marcelgerber @le717 and others