Opened 17 years ago
Closed 17 years ago
#1690 closed bug (fixed)
StyledEdit cost 100% CPU when open files
Reported by: | anthonylee | Owned by: | jackburton |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Interface Kit | Version: | R1/pre-alpha1 |
Keywords: | Cc: | andreasf | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
When I just open one file in StyledEdit, it worked fine.
Then I double click another file in Tracker in order to be opened by StyledEdit, in the mean time, StyledEdit cost 100% CPU and seemed through into dead-lock state or dead cycle.
Attachments (1)
Change History (9)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
I can't reproduce again because updated to SVN version lately, so I guess it's not a bug of StyledEdit.
Just don't know what's the problem before, sorry.
Thanks.
comment:5 by , 17 years ago
Owner: | changed from | to
---|
comment:6 by , 17 years ago
Component: | Applications/StyledEdit → Kits/Interface Kit |
---|---|
Status: | new → assigned |
Looks like the culprit is BTextView::_RecalculateLineBreaks().
comment:7 by , 17 years ago
Also when testing with Dano StyledEdit, I noticed it kept the document at its position (somehow) when activating/deactivating word wrapping, whereas Haiku StyledEdit reset the position at the beginning.
I can't reproduce. Could you elaborate ?