Bug 116920 - History messages pop up dialog preventing close
Summary: History messages pop up dialog preventing close
Status: CONFIRMED
Alias: None
Product: kopete
Classification: Applications
Component: Chat Window (show other bugs)
Version: 0.11
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-23 01:01 UTC by Eyal Lotem
Modified: 2021-03-09 22:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Lotem 2005-11-23 01:01:29 UTC
Version:           0.11 (using KDE 3.4.3, Kubuntu Package 4:3.4.3-0ubuntu1 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.12-9-k7

When:
A) The history plugin is enabled
B) The history of a chat with a user contains an incoming message as the last message
C) The user opens up a chat session
D) The user attempts to close the chat session less than 1 second after opening it

These events cause the chat view to consider the history message as a message received in the last second and prompts "You have received a message from <name> in the last second. Are you sure you want to close this chat?".

The problem is that the history plugin calls appendMessages on the KopeteView object, which calls multiple appendMessage on the ChatView object, which marks these messages as "unread" with a 1-second timer to mark them read.  This is obviously false, as they are already-read (they are in the history!)
Comment 1 Josh Berry 2008-07-07 06:01:17 UTC
Confirmed in trunk r828808.
Comment 2 disabled account 2010-01-16 23:30:57 UTC
Confirmed in KDE SC 4.3.90.
Comment 3 Justin Zobel 2021-03-09 22:41:07 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.