Closed
Bug 355102
Opened 19 years ago
Closed 18 years ago
Opening sidebar in Cocoafox eats hover state
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: philor, Assigned: jaas)
References
Details
Attachments
(1 file, 1 obsolete file)
11.97 KB,
patch
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a1) Gecko/20061001 Firefox/3.0a1 ID:2006100120
Opening the Bookmarks or History sidebar in Cocoafox takes away hover state, until you click something, anything.
STR:
1. Open either default sidebar (or an extension sidebar like LiveHTTPHeaders, or a bookmark opened in the sidebar, so it's not just the way the defaults focus a text input)
2. Hover the sidebar close button, notice no change in image and no tooltip; hover a link in the main window, notice no URL in the statusbar; hover the Home toolbarbutton, notice no change in appearance and wonder if it's all bad.
3. Click anywhere, in the sidebar, in the main content window, or on a toolbar, and notice that hover status is back.
Updated•18 years ago
|
Flags: blocking1.9?
Updated•18 years ago
|
Flags: blocking1.9? → blocking1.9+
This should fix a few hover-related bugs.
In this patch we stop getting mouseEntered: and mouseExited: events from cocoa views altogether. The reliability of those in terms of ordering and getting them at all is a problem. Turns out it is much more reliable and simpler to just use mouseMoved:. We lower our dependency on OS event ordering and reliability and the new algorithm recovers on every mouseMoved: event if we get into a bad state.
Attachment #260781 -
Flags: review?(stuart.morgan)
Attachment #260781 -
Flags: review?(stanshebs)
Comment 2•18 years ago
|
||
Comment on attachment 260781 [details] [diff] [review]
fix v1.0
The two spots in mouseMoved that now send mouse exited events should have comments saying why they're doing it - "to make enter/exit pair up properly" or some such. Other than that, the code looks fine to me.
Attachment #260781 -
Flags: review?(stuart.morgan)
Attachment #260781 -
Flags: review?(stanshebs)
Attachment #260781 -
Flags: review+
Attachment #260781 -
Flags: superreview?(pavlov)
Updated•18 years ago
|
Attachment #260781 -
Flags: superreview?(pavlov) → superreview+
This includes a bug fix that I noticed before checking in v1.0. We would continually send NS_MOUSE_EXIT events to the last view entered when moving the mouse outside of a window.
This also has better comments.
Attachment #260781 -
Attachment is obsolete: true
landed on trunk
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Depends on: 381003
You need to log in
before you can comment on or make changes to this bug.
Description
•