[Webkit-unassigned] [Bug 11775] New: 'Show URLs in Tool Tips' preference is ignored

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 7 07:44:14 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11775

           Summary: 'Show URLs in Tool Tips' preference is ignored
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mitz at webkit.org
                CC: sullivan at apple.com, beidson at apple.com


Summary:
The 'Show URLs in Tool Tips' behavior of a WebView is reset to the value in the
standard preferences when a page is loaded, even if the WebView's own
preferences specify a different value. Moreover, under certain conditions, it
is impossible to change the behavior even after the page loaded by changing the
WebView's preferences.

Steps to reproduce:
1) Download the attached archive and build WebViewToolTipBug.
2) Use WebKitTools/Scripts/run-webkit-app to run the WebViewToolTipBug
application linked against a debug build of TOT WebKit.
3) In the application's window, select Show URLs in Tool Tips.
4) Press Return to load the first URL (an "A" link).
5) Move the mouse pointer over the "A" link and hold it still for a few
seconds.
6) Deselect and reselect the Show URLs in Tool Tips option.
7) Move the mouse pointer over the "A" link and hold it still for a few
seconds.
8) Select the second item from the combo box (a "B" link).
9) Move the mouse pointer over the "B" link and hold it still for a few
seconds.
10) Click the Back button and immediately click the Forward button.
11) Wait for 5 seconds without moving the mouse or typing anything.
12) Click the Back button.
13) Move the mouse pointer over the "A" link and hold it still for a few
seconds.
14) Deselect and reselect the Show URLs in Tool Tips option.
15) Move the mouse pointer over the "A" link and hold it still for a few
seconds.

Expected results:
In steps 5, 7, 9, 13 and 15, a tool tip saying "about:blank" to appear after
hovering over the link for a second or two.

Actual results:
In steps 5, 9, 13 and 15, a tool tip never appears when hovering over the link.

Regression:
The behavior in step 15 is a regression from shipping WebKit. See bug 11675 and
bug 10808.

Notes:
1) setShowsURLsInToolTips is an SPI.
2) See bug 11675 comment #10 regarding the case of "reopened" WebHTMLViews
(steps 10-15).
3) WebHTMLView caches the initial value when it's initialized, at which time it
still doesn't have a data source and therefore doesn't have a WebView to take
preferences from, so it takes the value from the standard preferences.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list