Bug 19843 - [GTK] title-changed not emitted when <title> is missing
Summary: [GTK] title-changed not emitted when <title> is missing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on: 14807
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-01 06:02 PDT by Marco Barisione
Modified: 2009-12-20 02:07 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.