Bug 100256

Summary: wrong favicon displayed while typing in url
Product: [Applications] konqueror Reporter: Robert <bytewise>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: greatredshark
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Robert 2005-02-25 15:25:13 UTC
Version:            (using KDE KDE 3.3.92)
Installed from:    Gentoo Packages
OS:                Linux

If you type in the url of a site (site a) that starts with the same letter as some other site that you've already been to (site b), the wrong favicon will be shown in the address bar (while you're still typing), namely that of site b.

Reproducibility: Always.

Reproduce:
1. Go to http://openclipart.org/
--> This should load and display their favicon (three colored cards)
2. Close window (not really necessary)
4. Start typing in the following url: o2online.de
--> Notice that the browser displays the openclipart.org-Favicon for the url (because it starts with an "o"?)
5. Actually go to o2online.de
--> notice their favicon being loaded and displayed for www.o2online.de
6. Start (again) typing in the url: o2online.de
--> notice how konqueror offers you "www.o2online.de" in the list of visited urls, but displays the wrong favicon (the one from openclipart.org)
Comment 1 Pascal Létourneau 2005-03-06 06:37:00 UTC
CVS commit by pletourn: 

Reinit the pixmap when the item's contents changed

BUG:100256


  M +2 -0      konq_combo.cc   1.54.2.1


--- kdebase/konqueror/konq_combo.cc  #1.54:1.54.2.1
@@ -683,4 +683,6 @@ void KonqComboListBoxPixmap::paint( QPai
                 pm = KonqPixmapProvider::self()->pixmapFor( text(), KIcon::SizeSmall );
         }
+        else
+            pm = QPixmap();
         lookup_pending = false;
     }


Comment 2 Maksim Orlovich 2005-04-27 17:36:02 UTC
*** Bug 104661 has been marked as a duplicate of this bug. ***