WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
154404
Web Inspector: Styles Sidebar focus jumps when trying to edit a color
https://bugs.webkit.org/show_bug.cgi?id=154404
Summary
Web Inspector: Styles Sidebar focus jumps when trying to edit a color
Timothy Hatcher
Reported
2016-02-18 12:19:14 PST
Created
attachment 271680
[details]
Video of the Bug Steps: 1) Inspect the Inspector 2) Click on a Rule near the top of the sidebar to give it keyboard focus 3) Scroll down to the variables section 4) Click to edit a color Results: The fist click on the swatch fails sometimes with a small scroll jump. Subsequent clicks work, but when the color changes in the popover the sidebar jumps to the previous focus rule, closing the popover. Expected: No scrolling and the color popover should stay open. See attached video.
Attachments
Video of the Bug
(11.84 MB, video/quicktime)
2016-02-18 12:19 PST
,
Timothy Hatcher
no flags
Details
Patch
(6.24 KB, patch)
2016-02-18 20:27 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2016-02-18 12:20:25 PST
<
rdar://problem/24725744
>
Timothy Hatcher
Comment 2
2016-02-18 12:39:57 PST
I had a heck of a time recording the video for this Tweet because of this bug.
https://twitter.com/webkit/status/700412341368844288
Devin Rousso
Comment 3
2016-02-18 20:27:44 PST
Created
attachment 271725
[details]
Patch
Devin Rousso
Comment 4
2016-02-18 20:29:40 PST
Comment on
attachment 271725
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=271725&action=review
> Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js:1308 > + if (this._delegate && typeof this._delegate.cssStyleDeclarationTextEditorBlurActiveEditor === "function")
So I'm not really sure that "cssStyleDeclarationTextEditorBlurActiveEditor" is the right name for this function as it really only drops the previously saved section, but "cssStyleDeclarationTextEditorClearActiveSection" or "cssStyleDeclarationTextEditorForgetPreviouslyActiveSection" sound a bit unwieldy and ridiculous.
WebKit Commit Bot
Comment 5
2016-02-18 21:26:50 PST
Comment on
attachment 271725
[details]
Patch Clearing flags on attachment: 271725 Committed
r196798
: <
http://trac.webkit.org/changeset/196798
>
WebKit Commit Bot
Comment 6
2016-02-18 21:26:53 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.
Top of Page
Format For Printing
XML
Clone This Bug