Ticket #226 (new defect)

Opened 7 years ago

Last modified 5 years ago

Difficult to add a new paragraph without disturbing someone typing the previous paragraph

Reported by: Matthew Paul Thomas <mpt@…> Owned by: armin
Priority: normal Milestone:
Component: libobby Version:
Severity: minor Keywords:
Cc: Launchpad Bug:

Description

Gobby 0.4.1, Ubuntu 6.10

If someone else is typing at the end of a document, as they often are, it is very difficult to start a new paragraph after the one they are entering. Gobby often (always?) assumes that what you are entering should go before what the other person is entering, not after. So the result is often a word or sentence with one or two unwanted linebreaks in the middle of it, and two unhappy participants.

To fix this, if any two participants are at the end of a line and one of them enters a line break, the other participant's insertion point should stay at the end of the previous line.

Change History

Changed 7 years ago by armin

  • component changed from Gobby to libobby
  • milestone set to libobby 0.5.0

It is not that easy. If someone inserts something at the same position where your insertion point currently is, the insertion point is not moved forward. So, basically, if you insert a line break at the end of a line another one is currently typing, its insertion point stays at the same line.

However, if he receives the newline after he typed some more chars, the newline could be inserted in the front of the new stuff he typed (and because his insertion point is some chars behind it is actually moved to the new line, along with those new chars). However, changing this would break protocol compatibility and a newer gobby could not interoperate with an older one properly. So this is definitely something for post-0.4.

Changed 6 years ago by kardan

a virtual last line that always keeps empty could solve the problem. it is possible to scroll to the end under the last paragraph. if one starts typing the line gets real and the end is moved down again.

Changed 5 years ago by anonymous

  • milestone libobby 0.5.0 deleted

Milestone libobby 0.5.0 deleted

Note: See TracTickets for help on using tickets.