Bug 75813 - [browser] StatusTextEvent not fired when hovering over link on the mac
Summary: [browser] StatusTextEvent not fired when hovering over link on the mac
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal with 1 vote (vote)
Target Milestone: 3.3 RC1   Edit
Assignee: Grant Gayed CLA
QA Contact:
URL:
Whiteboard:
Keywords: consistency
Depends on:
Blocks:
 
Reported: 2004-10-07 11:58 EDT by Benjamin Pasero CLA
Modified: 2007-05-12 12:48 EDT (History)
2 users (show)

See Also:
carolynmacleod4: review+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Pasero CLA 2004-10-07 11:58:38 EDT
Hi,

using the browser snippet from the snippet section, hovering over a Link with
the mouse does not fire a StatusTextEvent which is necessary to display the
Status bottom left.

Ben
Comment 1 Benjamin Pasero CLA 2004-10-07 12:00:35 EDT
There might be a connection to Bug 75812:

[browser] Browser not changing to Hand Cursor when hovering over Link
https://bugs.eclipse.org/bugs/show_bug.cgi?id=75812
Comment 2 Christophe Cornu CLA 2004-10-15 13:01:42 EDT
v>20041015
Added support for StatusText notification when JavaScript function sets 
window.status value.

It does not appear that Safari fires this notification when the user hovers 
over a hyperlink. Safari itself does not even show the status bar. So this 
looks like regular platform behaviour. We had the bug that the Browser widget 
was not firing the StatusText event when Javascript changes window.status.

If you find out and can show that Safari indeed modify window.status when the 
user hovers over a link, please update this PR.

Closing PR.
Comment 3 Benjamin Pasero CLA 2004-10-15 20:12:58 EDT
Safari shows a status line with the URL of the link that is selected by the
mouse. If its not showing, it should be possible to activate in the view
preferences (top menu).
Comment 4 Guillaume Boudreau CLA 2005-02-01 17:20:07 EST
The Status Bar can be enabled & disabled in Safari View menu.
Comment 5 Guillaume Boudreau CLA 2005-02-01 17:48:08 EST
Also, from WebCore source:

void KHTMLPart::overURL( const QString &url, const QString &target, bool
shiftPressed )
...
    emit setStatusBarText(u.htmlURL() + extra);
...

Something similar is also called from void KHTMLPart::khtmlMouseMoveEvent(
khtml::MouseMoveEvent *event )
...
// Not clicked -> mouse over stuff
...
// normal link
...

KWQ implements the setStatusBarText function (in KWQKHTMLPart.mm).

I didn't see anywhere in the WebCore code where a flag would need to be set to
enable those calls, so I guess status bar text is always updated; Safari menu
item is probably only hidding it, not disabling it.
Comment 6 Christophe Cornu CLA 2005-02-02 18:31:18 EST
Guillaume: thanks for the info. Where do you get the WebCore source? Does it 
require any special Apple subscription?
Comment 7 Benjamin Pasero CLA 2007-04-01 16:16:46 EDT
Grant, any update on this old bug?
Comment 8 Grant Gayed CLA 2007-04-04 10:44:49 EDT
No update, it has not been investigated during 3.3.  I've added it to a time-permitting list to revisit.
Comment 9 Benjamin Pasero CLA 2007-04-04 14:39:06 EDT
Thanks!
Comment 10 Grant Gayed CLA 2007-05-11 15:13:18 EDT
fixed > 0511
Comment 11 Benjamin Pasero CLA 2007-05-12 12:48:08 EDT
Great :)