Bug 19843

Summary: [GTK] title-changed not emitted when <title> is missing
Product: WebKit Reporter: Marco Barisione <marco.barisione>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: christian
Priority: P2 Keywords: Gtk
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 14807    
Bug Blocks:    

Description Marco Barisione 2008-07-01 06:02:10 PDT
The "title-changed" signal is not emitted if the document doesn't have a title (because <title> is missing in a HTML file or becuase the file cannot have a title, like images), so GtkLauncher and midori both show the title of the previously visited page.

Considering that we are going to add a title property I think it makes sense to set it to "" as soon as a new load starts, thus emitting "title-changed" (and "notify::title").
Comment 1 Alexander Butenko 2009-06-22 20:13:27 PDT
Issue was fixed with a signals rework couple releases ago. I think bug can be closed.
Comment 2 Christian Dywan 2009-12-20 02:07:16 PST
The "title-changed" signal is deprecated. If you use "notify::title" you can rely on having a title set even if the title is empty.