Bug 155820 - Chat windows don't refresh/repaint properly when unfocused on arrival of new messages
Summary: Chat windows don't refresh/repaint properly when unfocused on arrival of new ...
Alias: None
Product: kopete
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
Depends on:
Reported: 2008-01-15 12:08 UTC by Manuel Nickschas
Modified: 2008-02-05 14:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Nickschas 2008-01-15 12:08:14 UTC
Version:           0.50.0 (using KDE 4.00.80 (KDE 4.0.80 >= 20080104), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.23-kamikaze3

On arrival of a new message in an unfocused standalone chat window or tab, the window's contents are not updated correctly. This affects both the painting (new content is not drawn correctly or at all) and the scrollbar (it's not updated, and the window does not scroll down). Also, switching tabs in a tabbed chat widget often does not draw the new tab properly, leaving parts or all of the old tab's content intact or even showing an empty widget.

This error occurs even when the chat window is fully visible, but has no input focus (i.e. another app is active).

The chat window is redrawn correctly as soon as one sends a message oneself, or scrolls manually.
Comment 1 Charles Connell 2008-01-25 20:57:35 UTC
Scrolling issue is fixed already.
Drawing issue is KHTML's fault. We're going to have the chance to use another rendering engine soon, so maybe that will fix it.
Comment 2 Roman Jarosz 2008-02-03 14:58:20 UTC
I have sent a patch to kde-core-devel that fixes KHTML redrawing bugs.
I'll commit it later if nobody objects.
Comment 3 Roman Jarosz 2008-02-05 14:42:51 UTC
SVN commit 771204 by rjarosz:

Backport commit 771201.

Make sure that static widget is always at position 0,0.

CCBUG: 155820

 M  +13 -0     khtmlview.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=771204