Bug 63494 - newsticker flickers when scrolling news
Summary: newsticker flickers when scrolling news
Status: RESOLVED FIXED
Alias: None
Product: knewsticker
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Frerich Raabe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-30 23:08 UTC by Janis Blechert
Modified: 2006-07-25 14:34 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janis Blechert 2003-08-30 23:08:18 UTC
Version:           v0.2 (using KDE 3.1.9)
Compiler:          gcc version 3.3.1
OS:          Linux (i686) release 2.4.22-ck1

for no reason (at least i dont know which reason) the newsticker flickers, maybe it conflicts with xmms-kde which is scrolling as well, the flickering looks like there is a background behind the backgroundcolor, its grey (my button color perhaps)
Comment 1 Frerich Raabe 2003-09-02 10:59:12 UTC
Do you use KNewsTicker in the panel, or in a window of it's own? Does it only flicker if you 
run XMMS-KDE? 
Comment 2 Janis Blechert 2003-09-02 12:07:08 UTC
i use it in an panel, i never tried using it without xmms-kde, btw my computer 
seems to be locking up since i use a new kernel (2.4.22-ck1) everytime it hangs 
up the knewticker panel is split up in two parts, the uper half is normaly 
displayed and the other half is gray, since i removed knewsticker from my panel 
i didnt have any hang up or lock up (the mouse was still moving, sound still 
playing but all graphics were frozen)
Comment 3 Frerich Raabe 2003-09-03 07:40:13 UTC
Subject: Re: newsticker flickers when scrolling news

Does the flickering become faster, the faster you make the scrolling speed? If 
so, is there a certain, very low, speed, at which you cannot see any 
flickering anymore?

Also, what XFree86 version are you using, and what graphics card?

Comment 4 Janis Blechert 2003-09-03 15:03:00 UTC
xfree86: 4.30 
graphics card: nvidia geforce 2 mx 400 
the flickering doesnt change 
Comment 5 Frerich Raabe 2004-04-04 01:11:18 UTC
Do you still have this problem? Does it matter whether you use the default XFree driver ("nv") or NVidia's proprietary ("nvidia") driver?
Comment 6 Janis Blechert 2004-04-04 01:25:43 UTC
Doesn't happen anymore with me, nvidia driver, not nv. Although I believe to see it flicker on the top and buttom. (I'm very tired I could be having hallucinations or something :)
Comment 7 Frerich Raabe 2004-04-04 04:43:44 UTC
Works for me, apparently works for original reporter as well.
Comment 8 Janis Blechert 2004-08-09 00:56:13 UTC
I just found out that the bug doesn't seem to be in knewsticker (as of kde 3.3b2), the flicker appears only when using .NET (it is harder to see than with .NET2, on the buttom of the newsticker one can sometimes see a flicker, but most of the newsticker is repaintet correctly) or .NET 2 (heavy optical flaws) (so it seems to have no connection with the used video driver), since .dotNET is part of kde-artwork I'll reopen this bug in the hope that the issue will be adressed to the proper persons
Comment 9 Bram Schoenmakers 2005-03-03 23:31:34 UTC
I have this behaviour too:

* I'm running it in the kicker
* Using the Comix style
Comment 10 Andreas Kling 2006-07-25 14:34:44 UTC
SVN commit 566106 by kling:

Fixed flickering when scrolling (which is all the time.)

BUG: 63494


 M  +6 -6      newsscroller.cpp  


--- branches/KDE/3.5/kdenetwork/knewsticker/newsscroller.cpp #566105:566106
@@ -129,7 +129,7 @@
 };
 
 NewsScroller::NewsScroller(QWidget *parent, ConfigAccess *cfg, const char *name)
-	: QFrame(parent, name),
+	: QFrame(parent, name, WNoAutoErase),
 	m_cfg(cfg),
 	m_scrollTimer(new QTimer(this)),
 	m_activeHeadline(0),
@@ -258,8 +258,8 @@
 	
 	if (contentsRect().contains(pt))
 		updateActive(pt);
-	
-	repaint(false);
+
+	update();
 }
 
 void NewsScroller::enterEvent(QEvent *)
@@ -337,7 +337,7 @@
 	}
 
 	if (updateActive(e->pos()))
-		repaint(false);
+		update();
 }
 
 void NewsScroller::wheelEvent(QWheelEvent *e)
@@ -360,7 +360,7 @@
 
 	if (m_activeHeadline) {
 		m_activeHeadline = 0;
-		repaint(false);
+		update();
 	}
 }
 
@@ -488,7 +488,7 @@
 			m_offset = - scrollHeight();
 	}
 
-	repaint(false);
+	update();
 }
 
 int NewsScroller::scrollWidth() const