WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
145589
Web Inspector: Uncaught exception starting a NavigationBar drag and mousing over a different NavigationBar
https://bugs.webkit.org/show_bug.cgi?id=145589
Summary
Web Inspector: Uncaught exception starting a NavigationBar drag and mousing o...
Joseph Pecoraro
Reported
2015-06-02 21:21:14 PDT
* SUMMARY Uncaught exception starting a NavigationBar drag and mousing over a different NavigationBar * STEPS TO REPRODUCE 1. Inspect a page 2. Show "Styles" > "Rules" sidebar for a dom element (two navigation bars right next to each other) 3. Click and hold "Rules" 4. Mouse over "Computed" (all is good) 5. Mouse over "Node" in the other navigation bar => Uncaught Exceptions * EXCEPTION [Error] TypeError: null is not an object (evaluating 'this.selectedNavigationItem.active = true') _mouseMoved (anonymous function)
Attachments
[PATCH] Proposed Fix
(2.36 KB, patch)
2015-06-02 21:23 PDT
,
Joseph Pecoraro
timothy
: review+
joepeck
: commit-queue-
Details
Formatted Diff
Diff
[PATCH] Proposed Fix
(3.10 KB, patch)
2015-06-02 23:07 PDT
,
Joseph Pecoraro
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Joseph Pecoraro
Comment 1
2015-06-02 21:23:23 PDT
Created
attachment 254140
[details]
[PATCH] Proposed Fix
Timothy Hatcher
Comment 2
2015-06-02 22:03:11 PDT
Comment on
attachment 254140
[details]
[PATCH] Proposed Fix The mouse move on document was to allow tracking of the selected radio navigation item as you moved the mouse side to side. It might be best to just abort early in the mouse move listener. I'm not sure we use many of these radio items any more, only one I can think of is the Details sidebar / Styles sidebar panel. I assume those are the bars you saw this with?
Timothy Hatcher
Comment 3
2015-06-02 22:05:44 PDT
Yep, I see you said that in the description. So doing this will break the old behavior of dragging side to side then mouse up to select an item when the mouse drifts outside the bar. I think that is fine. I doubt anyone does that in practice, I was just mimicking Xcode there.
Joseph Pecoraro
Comment 4
2015-06-02 22:53:24 PDT
Ahh, I only made it (In reply to
comment #3
)
> Yep, I see you said that in the description. So doing this will break the > old behavior of dragging side to side then mouse up to select an item when > the mouse drifts outside the bar. I think that is fine. I doubt anyone does > that in practice, I was just mimicking Xcode there.
Oops. I should be able to keep that working. I'll investigate a better fix.
Joseph Pecoraro
Comment 5
2015-06-02 23:07:00 PDT
(In reply to
comment #4
)
> Ahh, I only made it (In reply to
comment #3
) > > Yep, I see you said that in the description. So doing this will break the > > old behavior of dragging side to side then mouse up to select an item when > > the mouse drifts outside the bar. I think that is fine. I doubt anyone does > > that in practice, I was just mimicking Xcode there. > > Oops. I should be able to keep that working. I'll investigate a better fix.
Ahah! This behavior was broken, which is why I didn't notice to preserve it!
Joseph Pecoraro
Comment 6
2015-06-02 23:07:16 PDT
Created
attachment 254153
[details]
[PATCH] Proposed Fix
Timothy Hatcher
Comment 7
2015-06-03 07:09:32 PDT
Comment on
attachment 254153
[details]
[PATCH] Proposed Fix Great!
WebKit Commit Bot
Comment 8
2015-06-03 07:58:26 PDT
Comment on
attachment 254153
[details]
[PATCH] Proposed Fix Clearing flags on attachment: 254153 Committed
r185151
: <
http://trac.webkit.org/changeset/185151
>
WebKit Commit Bot
Comment 9
2015-06-03 07:58:30 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug