Summary: | tool tip/alt. text appears when mouse is no longer hovering over link | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | jeremy boudreau <jeremy.boudreau> | ||||||||||||||||||
Component: | New Bugs | Assignee: | Daniel Bates <dbates> | ||||||||||||||||||
Status: | RESOLVED FIXED | ||||||||||||||||||||
Severity: | Normal | CC: | ap, dbates, mitz, tonikitoo | ||||||||||||||||||
Priority: | P1 | Keywords: | InRadar | ||||||||||||||||||
Version: | 525.x (Safari 3.2) | ||||||||||||||||||||
Hardware: | Mac | ||||||||||||||||||||
OS: | OS X 10.5 | ||||||||||||||||||||
Attachments: |
|
Description
jeremy boudreau
2009-03-06 10:47:43 PST
I don't understand this bug report. Could you please give more detailed steps to reproduce, possibly with screenshots? Created attachment 30231 [details]
Shows alt text appearing
When hovering over a link with the alt attribute the text appears as a tool tip.
Created attachment 30232 [details]
activated context menu
Shows the context menu being activated on the hyperlink. The issue will occur wether an action from the context menu is chosen or the context menu is simply closed.
Created attachment 30233 [details]
text following the cursor
The screen shot does not capture the cursor, but it is in the position that the alt text appears. In the image you can see the "Duane" hyperlink is still selected as a result of activating the context menu.
If the hyperlink is simply highlighted the issue does not occur.
The alt text appears when the mouse becomes stationary on the page as if it's hovering over the link and will continue to appear until the user clicks somewhere else on the page.
When a context menu is activated for a hyperlink that has the alt atribute, that hyperlink is then highlighted and stays selected until the user clicks somewhere else on the page. During the time that the original hyperlink is still selected the alt text will continue to appear by the mouse cursor when it becomes stationary in that window. To stop the alt text from appearing the user must click somewhere on the page to remove the focus from the selected hyper link. I've attached screen shots as well, but they don't capture the cursor position. The behavior is consistent across safari and mail leading me to believe it's an issue with webkit. Let me know if you'd like more details. This issue is still present in Safari 4.0.2(5530.19) and Mail 3.6(935/935.3) running Mac OS X 10.5.7 Build 9j61 This issue is still occurring with OS X 10.6.1 Build 10B504 and Safari 4.0.3 Webkit version 531.9 Created attachment 41823 [details]
Example
Example to reproduce issue.
Created attachment 41824 [details] Screen capture of example This is a screen capture of running the example using r50039. Jeremy, Can you confirm that both the example/screen capture of the example match your description/screen shots of this issue? Hey Daniel, The example and screen capture are both accurate. Another item to now. In Mail.app it seems that any hyperlink shows the URL as a tool tip. If you activate a context menu on a hyperlink, close the context menu and then scroll up or down in message viewer that tooltip will reappear. Additionally, per your example html, the issue can be recreated without selecting anything from the contextual menu. The tool tip will follow the mouse around the page after the contextual menu is activated and the hyperlink remains highlighted. I've got two screen captures of the behaviour that I'll attach right shortly. Created attachment 41828 [details]
Recreating the issue in Mail.app
Created attachment 41829 [details]
recreating the issue in Safari
Recreating the issue in Safari using example.html without opening a new tab
(In reply to comment #13) > Created an attachment (id=41829) [details] > recreating the issue in Safari > > Recreating the issue in Safari using example.html without opening a new tab In order to recreate the issue in safari by closing the contextual menu, without selecting open in new tab, you must be able to scroll up or down in the window. This can be seen with the example html posted by Daniel by making the window short enough to have the vertical scroll bar. Jeremy, Thanks you for the videos and seconding the confirmation of this issue. (In reply to comment #13) > Created an attachment (id=41829) [details] > recreating the issue in Safari > > Recreating the issue in Safari using example.html without opening a new tab Further isolation has revealed: The same issue occurs using images that have no text inside an <a html> tag - example: <a href="link.to.somewhere" alt="link to somewhere> <img src="http://webkit.org/images/download.png> </a> Additionally the issue only occurs with a right click on a mouse. By control-clicking to generate a contextual menu the issue doesn't occur. Lastly, if the user has generated the conditions for the issue to occur, they can cancel it by pressing any key on their keyboard. I believe this has the same effect as clicking somewhere on the page to remove the focus on the hyperlink by forcing it to be deselected. CC'ing Dan Bernstein on this issue since Oliver recommended him. This appears to be a symptom of bug 29819. (In reply to comment #18) > This appears to be a symptom of bug 29819. This does not reproduce on Safari (webkit nightly) as of 2016/Mar/29. Closing as FIXED. Please reopen if you disagree. Re-opening this bug to propose that we land the example page (attachment #41823 [details]) as a manual test. Although a manual test has significantly less value than an automated test by its nature of requiring a human being to run it by hand, there is still some value in adding the example page as a manual test in terms of having such a test and in aiding in the discoverability/historical preservation of this bug report.
Created attachment 275016 [details]
Manual Test
Comment on attachment 275016 [details]
Manual Test
ok, r=me
Comment on attachment 275016 [details] Manual Test Clearing flags on attachment: 275016 Committed r198922: <http://trac.webkit.org/changeset/198922> All reviewed patches have been landed. Closing bug. |