Closed Bug 775714 Opened 13 years ago Closed 12 years ago

Metrofx should display the link click cursor when hovering over a link with the mouse

Categories

(Firefox for Metro Graveyard :: General, defect)

x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jimm, Assigned: jimm)

References

Details

(Whiteboard: completed-elm)

Not sure how this is controlled. When the user interacts with the screen using touch, it looks like metro hides the mouse cursor automatically, which is convenient. However when moving around a page with the mouse, we only have the standard cursor displayed. It would be nice if we could get standard cursors working when mouse input is detected. str: 1) open up a page with links 2) use the mouse to hover over a link result: arrow mouse cursor continues to display while hovering.
edit: "we only have the *arrow* cursor displayed.."
This is directly related to how mouse position events (mainly mousemove) aren't currently being messaged over to browser content. Posting more details in related bug.
Depends on: 742445
Depends on: 776504
Prior to the elm landing in bug 776504 today we didn't have support for setting cursors. We did have some code in the init of the main view that set the cursor to the arrow. With cursor support turned on, platform (correctly I believe) set the cursor to eCursor_none resulting in no pointer. So as a temporary measure, I've shunted the clear cursor call in the patch I landed: https://hg.mozilla.org/projects/elm/rev/beed138536f0 See FrameworkView::ClearCursor(). Before testing front end work to get cursors displaying, that return statement needs to be removed. Also the SetCursor call in SetWindow can be removed as well.
With metro.debug.treatmouseastouch set to false, this now works in desktop mode. However there's still something wrong in the winrt backend with cursors. The event state manager seems to think it doesn't support setting cursors. I haven't found the root cause yet though.
Assignee: nobody → jmathies
Product: Firefox → Firefox for Metro
No longer depends on: 742445
Resolving bugs in the Firefox for Metro product that are fixed on the elm branch. Sorry for the bugspam. Search your email for "bugspam-elm" if you want to find and delete all of these messages at once.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.