<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] Regression: "notify::title" signal unreliably triggered multiple times"
href="https://bugs.webkit.org/show_bug.cgi?id=165073">165073</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>[GTK] Regression: "notify::title" signal unreliably triggered multiple times
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>Product</th>
<td>WebKit
</td>
</tr>
<tr>
<th>Version</th>
<td>Other
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>Normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P3
</td>
</tr>
<tr>
<th>Component</th>
<td>WebKit Gtk
</td>
</tr>
<tr>
<th>Assignee</th>
<td>webkit-unassigned@lists.webkit.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>luke@ubuntu-mate.org
</td>
</tr>
<tr>
<th>CC</th>
<td>bugs-noreply@webkitgtk.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=295432" name="attach_295432" title="Example Python and HTML to reproduce bug">attachment 295432</a> <a href="attachment.cgi?id=295432&action=edit" title="Example Python and HTML to reproduce bug">[details]</a></span>
Example Python and HTML to reproduce bug
WebKit2GTK 2.14 (and 2.14.1) has introduced a new bug which causes the "notify::title" signal to be called multiple times then it is necessary, whereas previous versions only trigger once. This is causing a problem for desktop web applications that change the document's title as a bridge between JavaScript and program's code, such as Python.
This issue is not present under v2.12.
Attached to this bug report is a Python example that reproduces this bug, which needs extracting to /tmp as it reads a basic HTML document.
* Under 2.12, clicking the "One", "Two", "Three" links prints "One clicked", "Two clicked", etc in the terminal once, which is the expected behaviour.
* Under 2.14, clicking the links prints "One clicked", but then a subsequent click on "Two" and "Three" results in "xxx clicked", a null, then "xxx clicked" again, which indicates a bug with the notify::title signal.
Thank you in advance.
Originally reported on Launchpad:
<a href="https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/1633736">https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/1633736</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>