Opened 5 years ago
Last modified 5 years ago
#16282 new bug
StyledEdit regression
Reported by: | iam-alex | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Applications/StyledEdit | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | x86 |
Attachments (3)
Change History (8)
by , 5 years ago
Attachment: | readme.txt added |
---|
comment:1 by , 5 years ago
comment:2 by , 5 years ago
By "broken text file", do you mean something like #10765 ? BFS disk corruption ""triggered"" by StyledEdit is very uncommon, but me and user Kev have experienced it a couple times some years ago, before beta1.
What do you mean by "won't open attached file", does the StyledEdit window open but is empty? Or it won't open at all ? Does the file open correctly with another editor, like Pe ?
If you have a reproducible test case for #10765 that would be very interesting!
Plus, what humdinger said re. checkfs, obviously!
by , 5 years ago
Attachment: | styledEdit_case1_cropped.png added |
---|
by , 5 years ago
Attachment: | StyledEdit_case2.zip added |
---|
follow-up: 4 comment:3 by , 5 years ago
Well, in latest hrev54352+2 I can reproduce nothing.
In first case I see incorrect atribute, prevented StyledEdit to open file. Pe opens OK. I can not reproduce that atrubute brokening.
In second case I see question marks in file while they shouldn't be. It looks like one small piece of text (truly black) had been not so corretly pasted. Pe shows questions only in that place (but, again, it was everything OK when I saved the file). I took StyledEdit as "nothing can go wrong" editor. Before.
BTW, even I've run checkfs, I do not see fs issue here.
comment:4 by , 5 years ago
Replying to iam-alex:
Seems possible you are not victim of a BFS problem at all, but of a system regression that was introduced after 54026, and was fixed before 54352.
In first case I see incorrect atribute, prevented StyledEdit to open file. Pe opens OK. I can not reproduce that atrubute brokening.
In second case I see question marks in file while they shouldn't be. It looks like one small piece of text (truly black) had been not so corretly pasted. Pe shows questions only in that place (but, again, it was everything OK when I saved the file). I took StyledEdit as "nothing can go wrong" editor. Before.
BTW, even I've run checkfs, I do not see fs issue here.
If I follow correctly, there are still remaining issues with the file in new hrev. I would try to recreate the text file "from scratch" (no attributes), i.e. create a blank new file, copy-paste the old text into it, and save -- then see if the problem is gone for good in the new file.
BTW there's lots of good information about the implementation of StyledEdit and dependancies in #14674 though I can't discern a link between both tickets. Not familiar with the code though.
comment:5 by , 5 years ago
What I said about Haiku revisions should be carefully taken. Because initially I thought there was just fresh Unicode related regression in StyledEdit and checked the same file, namely readme.txt, on different laptops, but I didn't realize they had different atributes also.
Now, in latest Haiku, I can not reproduce when and why file attributes get corrupted, but I didn't even try it in previous hrev - because I thought problem was somewhere else.
FWIW it opens in StyledEdit with Beta2 (hrev54154+112), 32bit. Did you try a "checkfs -c" to exclude possible file system corruption?