Bug 190728

Summary: Flickering toolbars when switching between tabs
Product: [Applications] konqueror Reporter: Yves Glodt <yg>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ab.kde, ahartmetz, david.heijkamp, finex, jtgutier, kneczaj, kratky, mursusoft, popapa, sebaro
Priority: NOR    
Version: 4.2.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Demo
konq.ogv

Description Yves Glodt 2009-04-26 17:53:57 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

When toggling between the open tabs in Konqueror, the address-, navigation- and bookmarks-toolbar flicker horribly. See attached video.
Comment 1 Yves Glodt 2009-04-26 17:54:59 UTC
Created attachment 33125 [details]
Demo
Comment 2 FiNeX 2009-04-26 18:04:03 UTC
flickering confirmed in trunk too. I'm using:
  SVN r959568
  Qt 4.5.0
  X.Org 1.6.1
  Nvidia drivers 180.44

Other apps (like dolphin for example) doesn't have this issue
Comment 3 Andreas Hartmetz 2009-05-16 23:29:43 UTC
So far, SadEagle and me have found out:
This problem seems to be caused by a call to QWidget::winId() somewhere which forces "alien" widgets in Qt to become native X11 widgets. When you're not using a hacked version of KHTML like I did for testing this is usually caused by the flash plugin(-wrapper). It is not possible to just remove the winId() call, unfortunately.
Comment 4 Yves Glodt 2009-05-17 14:17:37 UTC
I can confirm that the flicker does only happen if one of the tabs has (or had) loaded flash-content.

Starting konqueror and opening tabs with flash-free content, followed by switching between them does not flicker.

Using the khtml or webkit kpart does not make a difference.

I made these tests with KDE 4.3 beta 1 on Kubuntu Karmic
Comment 5 David Heijkamp 2009-05-22 15:44:06 UTC
Same here. It doesn't make a difference if the flashplayer is killed manually. Only restarting Konqueror seems to help.
Comment 6 andrew brewster 2009-07-27 23:48:08 UTC
Konqueror 4.2.4, Qt 4.5.1, Mandriva 2009.0

The flickering occurs when moving between tabs by any method (click on a tab header, keyboard shortcut, or wheel mouse scroll on tab header). 

The effect makes it appear as if there is a separate set of toolbars for each tab.  The toolbars disappear so only the background is showing, the tab contents change and the toolbars re-appear with the URL for the current tab showing. Quite often, the height of the toolbar area also momentarily increases as the tab is changed and then decreases to the right height.

The problem is NOT solely related to tabs with Adobe Flash content, though tabs with that content seem to make these problems more pronounced and slightly increase the time over which they occur.
Comment 7 Robert Kratky 2009-08-21 18:16:18 UTC
Konqueror 4.3.0, Qt 4.5.2, Debian Sid.

Can confirm this is still happening in KDE 4.3.0. Same as described above - only flickers when tabs have or had Flash content.
Comment 8 Dario Andres 2009-10-23 00:58:25 UTC
*** Bug 211490 has been marked as a duplicate of this bug. ***
Comment 9 Maksim Orlovich 2009-11-05 19:50:41 UTC
*** Bug 213066 has been marked as a duplicate of this bug. ***
Comment 10 Sebastian Luncan 2009-12-17 07:42:12 UTC
Konqueror 4.3.1 / QT 4.5.3 / Gentoo
No flash or other plugins, it happens when I use "Save Image/Link As", konqueror blinks before the open/save file dialog pops, than this issue when I switch tabs (attached konq.ogv).
Comment 11 Sebastian Luncan 2009-12-17 07:44:14 UTC
Created attachment 39109 [details]
konq.ogv
Comment 12 Sebastian Luncan 2009-12-21 10:52:49 UTC
It also happens when I delete/move/copy files.
Comment 13 David Heijkamp 2010-02-10 18:12:06 UTC
Still happens in Konqueror 4.4.00 / Qt 4.6.1 / Arch Linux.
Comment 14 mursusoft 2010-03-26 00:28:29 UTC
Yeah it looks quite bad and it still happens with KDE 4.4.1/Qt 4.6.2/Fedora 12.
Comment 15 John Gutierrez 2010-05-29 16:57:50 UTC
It really looks like all but the Main Toolbar are re-drawn each time I change tabs.  Two tabs with "plain html", local or on the web show the same results.   Whether it slows down page rendering or not, it gives the appearance of slowing down rendering.
Comment 16 FiNeX 2010-08-02 17:37:29 UTC

*** This bug has been marked as a duplicate of bug 58040 ***