Closed Bug 1105871 Opened 10 years ago Closed 10 years ago

"Typing" status panel not cleared if a different tab is selected

Categories

(Instantbird Graveyard :: Conversation, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: nhnt11, Assigned: aleth)

References

Details

Attachments

(1 file, 2 obsolete files)

STR:
1) Open a conversation with someone.
2) Get them to start typing.
3) While they are still typing, switch to a different tab.
4) After they send the message, switch back.
The "<name> is typing..." message is never cleared.

The panel is cleared even if Instantbird doesn't have focus as long as the tab is selected.
I did not test to see what happens when the other party stops typing but doesn't send the message.
Attached patch clearstatuspanel.diff (obsolete) — Splinter Review
Assignee: nobody → aleth
Status: NEW → ASSIGNED
Attachment #8530252 - Flags: review?(nhnt11)
Comment on attachment 8530252 [details] [diff] [review]
clearstatuspanel.diff

Review of attachment 8530252 [details] [diff] [review]:
-----------------------------------------------------------------

This doesn't work: the panel is cleared when switching away from the tab even if the other party is still typing.
For example: if the other guy is typing, and I switch away and switch back before he's done typing, the panel is cleared but it shouldn't be.
Attachment #8530252 - Flags: review?(nhnt11) → review-
Depends on: 1096590
Attached patch clearstatuspanel.diff v2 (obsolete) — Splinter Review
Hopefully this should be better. The main issue was that updateTyping did not update the status panel as as far as it was concerned the typing state of the conversation didn't change merely because the tab was now selected ;)

Please apply the bug blocking this one first to ensure your testing covers the full changed behaviour.
Attachment #8530252 - Attachment is obsolete: true
Attachment #8530412 - Flags: review?(nhnt11)
Use aForceUpdate parameter instead of variable reset, as discussed over IRC.
Attachment #8530412 - Attachment is obsolete: true
Attachment #8530412 - Flags: review?(nhnt11)
Attachment #8530573 - Flags: review?(nhnt11)
Comment on attachment 8530573 [details] [diff] [review]
clearstatuspanel.diff v3

Review of attachment 8530573 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks!
Attachment #8530573 - Flags: review?(nhnt11) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: