Ticket #219 (new defect)

Opened 4 years ago

Last modified 3 years ago

Closing the SB when a DC file transfer is running, causes wrong UI updates.

Reported by: valerio Owned by: diederik
Priority: major Milestone: kmess-3.0
Component: Protocol - P2P/DC Version: 2.0-alpha
Keywords: Cc:

Description

When a Direct Connection is going on, WLM can still close the chat's switchboard at random.

KMess receives the BYE command and notifies the user interface that the transfer has failed: both the Transfer Window and the chat are updated with "Transfer Failed" messages.

But the DC is still running in background, and when it eventually finishes or fails, the UI is updated again with the appropriate message. But only the chat window receives the update: the Transfer Window still says "transfer failed" even if the transfer had succeeded.

Change History

Changed 3 years ago by diederik

hmm.. the TransferEntry class has some kind of isDone_ state. After that it will not update it's status again. This was to prevent unwanted status changes be async behavior (a MSNFTP and SB connection being not completely in sync, or the user cancels and the connection cancels afterwards).

Guess this will have to change, to carefully allow some status changes to occur after all.

Changed 3 years ago by valerio

  • milestone changed from kmess-2.0 to kmess-2.1
Note: See TracTickets for help on using tickets.