Bug #1921

Content of chat pane is sometimes that of another user.

Added by Anonymous over 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:09/23/2013
Priority:UrgentDue date:
Assignee:devrandom% Done:

0%

Category:-
Target version:v12 - March Mantra
Component:

Description

If I'm chatting with one user and then receive a message from another user, then both chat panes are identical, despite the fact that those are two different users. The chat messages from a user, that started the chat later are replaced by chat messages from a user that started the chat earlier. After closing either chat, both chats close. On reopening the conversations, everything works as it should (chat panes are different, chat messages are placed correctly).

Associated revisions

Revision d748284c
Added by devrandom over 4 years ago

fix ViewPager update on incoming chat

fixes #1921

History

#1 Updated by n8fr8 over 4 years ago

  • Target version set to v12 - March Mantra

#2 Updated by n8fr8 over 4 years ago

  • Assignee set to devrandom
  • Priority changed from Normal to Urgent

#3 Updated by devrandom over 4 years ago

Working on this now. The ChatViewPagerAdapter is not listening to cursor updates.

It's actually not that simple to implement, will probably be a few hours of work.

#4 Updated by devrandom over 4 years ago

  • Status changed from New to In Progress

#5 Updated by devrandom over 4 years ago

The source of the issue was tricky but the fix was simple.... Needs a bit more work due to loss of focus for text field.

#6 Updated by devrandom over 4 years ago

There's still an issue with new chats.

FragmentStatePagerAdapter doesn't handle inserts...

#7 Updated by devrandom over 4 years ago

Pull request submitted.

#8 Updated by devrandom over 4 years ago

  • Status changed from In Progress to Resolved

There were a few more related fixes and this is ready for testing after next build.

#9 Updated by n8fr8 about 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF