Changes between Version 2 and Version 3 of Ticket #10765, comment 8
- Timestamp:
- Sep 17, 2014, 5:25:33 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #10765, comment 8
v2 v3 3 3 Edit -- for the record, whenever I see that bug it's on my Intel Core2 duo laptop, never on the AMD tower. 4 4 5 Edit2 -- come to think of it, I remember using the `Font > Color > Red` menu to highlight a word in the StyledEdit file before saving it.. Now that's an interesting candidate for the "bug trigger", because it would explain why StyledEdit is set apart from other apps: other text editors do save attributes with the textual body, but there probably ain't too many that save "style run arrays".. So maybe it's the activation of `BTextView::FlattenRunArray()` and the buffer being saved with BNode::WriteAttr() that triggers the BFS oddity.. If Haiku Inc. had a computer lab full of "torture tests machines" like Be had I'd recommend adding that to the test battery :-)5 Edit2 -- come to think of it, I remember using the `Font > Color > Blue` menu to highlight a word in the StyledEdit file before saving it.. Now that's an interesting candidate for the "bug trigger", because it would explain why StyledEdit is set apart from other apps: other text editors do save attributes with the textual body, but there probably ain't too many that save "style run arrays".. So maybe it's the activation of `BTextView::FlattenRunArray()` and the buffer being saved with BNode::WriteAttr() that triggers the BFS oddity.. If Haiku Inc. had a computer lab full of "torture tests machines" like Be had I'd recommend adding that to the test battery :-) 6 6 If somebody (Kev ?) does observe correlation with usage of the Font>Color menu that'll be interesting..