Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#16485 closed bug (fixed)

TextView reacting weird on ENTER, DEL, BS

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev54502.

TextViews have recently started to react strangely on adding new lines or removing stuff with DEL and BACKSPACE. Easily reproduced in Mail and StyledEdit.

Open StyledEdit and number the lines 1-5 so it looks like this:

1
2
3
4
5

Now set your cursor after "3" and press ENTER.
-> Instead of a new empty line, line 4 is removed

Go back to the original, lines numbered 1-5, set the cursor again after "3" and press DEL.
-> The "4" does move one line up, so line 3 says "34", but the lines 4 and 5 are still in place.

Similar issue when using BACKSPACE.

Change History (5)

comment:1 by jscipione, 4 years ago

Unfortunately this is most likely caused by hrev54496. We may have to revert if I can’t figure out what is causing the problem.

comment:2 by humdinger, 4 years ago

This works with hrev54590. I missed whoch commit (revert?) fixed this. Close ticket?

comment:3 by jscipione, 4 years ago

Was fixed in revert commit hrev54513 then hrev54549 was re-applied without this regression.

comment:4 by humdinger, 4 years ago

Resolution: fixed
Status: newclosed

Great. Closing then. But as you've probably seen, there's still some issue -> #16544 ,

comment:5 by jscipione, 4 years ago

I saw that yes and verified it. StyledEdit is a good test of BTextView bugs and unfortunately there is a game of wack-a-mole to get them all, squash one, another pops up!

Note: See TracTickets for help on using tickets.