RESOLVED FIXED 139382
Web Inspector: Clicking on the expand object arrow should always expand an object
https://bugs.webkit.org/show_bug.cgi?id=139382
Summary Web Inspector: Clicking on the expand object arrow should always expand an ob...
Nikita Vasilyev
Reported 2014-12-07 18:59:29 PST
Created attachment 242778 [details] Screencast When object is not selected, clicking on the expand object arrow selects the object but doesn’t expand it.
Attachments
Screencast (390.44 KB, video/mp4)
2014-12-07 18:59 PST, Nikita Vasilyev
no flags
patch (2.77 KB, patch)
2014-12-07 19:26 PST, Nikita Vasilyev
no flags
patch (2.77 KB, patch)
2014-12-07 19:45 PST, Nikita Vasilyev
no flags
Patch (2.61 KB, patch)
2014-12-07 20:10 PST, Nikita Vasilyev
no flags
Patch (2.62 KB, patch)
2014-12-15 15:56 PST, Nikita Vasilyev
joepeck: review+
joepeck: commit-queue+
Patch (2.71 KB, patch)
2014-12-15 16:53 PST, Nikita Vasilyev
no flags
Radar WebKit Bug Importer
Comment 1 2014-12-07 18:59:49 PST
Nikita Vasilyev
Comment 2 2014-12-07 19:26:16 PST
Nikita Vasilyev
Comment 3 2014-12-07 19:45:15 PST
Nikita Vasilyev
Comment 4 2014-12-07 20:10:04 PST
Created attachment 242781 [details] Patch Sorry for spam, I don’t know how to make `Tools/Scripts/webkit-patch upload` send patches from nvasilyev@apple.com instead of me@elv1s.ru.
Joseph Pecoraro
Comment 5 2014-12-15 15:28:15 PST
Comment on attachment 242781 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=242781&action=review > Source/WebInspectorUI/UserInterface/Views/LogContentView.js:-441 > - _click: function(event) > - { > - if (!this._mouseInteractionShouldPreventClickPropagation) > - return; > - > - event.stopPropagation(); > - delete this._mouseInteractionShouldPreventClickPropagation; > - }, If you drag select a few Console rows, and then release the mouse on an Object expand arrow, does the object expand?
Nikita Vasilyev
Comment 6 2014-12-15 15:45:07 PST
(In reply to comment #5) > Comment on attachment 242781 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=242781&action=review > > > Source/WebInspectorUI/UserInterface/Views/LogContentView.js:-441 > > - _click: function(event) > > - { > > - if (!this._mouseInteractionShouldPreventClickPropagation) > > - return; > > - > > - event.stopPropagation(); > > - delete this._mouseInteractionShouldPreventClickPropagation; > > - }, > > If you drag select a few Console rows, and then release the mouse on an > Object expand arrow, does the object expand? It doesn’t: https://cloudup.com/c7FMD7dKgZF. I believe, this is how it’s supposed to be.
Nikita Vasilyev
Comment 7 2014-12-15 15:56:13 PST
Created attachment 243324 [details] Patch Same patch after `git pull --rebase origin master`.
Joseph Pecoraro
Comment 8 2014-12-15 16:41:22 PST
Comment on attachment 243324 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243324&action=review r=me, though I wonder why this code was there originally. > Source/WebInspectorUI/ChangeLog:10 > + Web Inspector: Clicking on the expand object arrow should always expand an object > + https://bugs.webkit.org/show_bug.cgi?id=139382 > + > + Reviewed by NOBODY (OOPS!). > + > + * UserInterface/Views/LogContentView.js: > + (WebInspector.LogContentView): > + (WebInspector.LogContentView.prototype._click): Deleted. Could use a comment about "why". In this case the click hander's stop propagation was preventing the object expansion from happening as expected.
Nikita Vasilyev
Comment 9 2014-12-15 16:53:22 PST
Created attachment 243331 [details] Patch Not sure if I use the right tense to describe the original (broken) behavior.
WebKit Commit Bot
Comment 10 2014-12-15 19:24:26 PST
Comment on attachment 243331 [details] Patch Clearing flags on attachment: 243331 Committed r177331: <http://trac.webkit.org/changeset/177331>
WebKit Commit Bot
Comment 11 2014-12-15 19:24:29 PST
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.