WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
151919
Web Inspector: can't navigate back to same view state after option-clicking a CSS property in style sidebar
https://bugs.webkit.org/show_bug.cgi?id=151919
Summary
Web Inspector: can't navigate back to same view state after option-clicking a...
Blaze Burg
Reported
2015-12-05 15:16:00 PST
STEPS TO REPRODUCE: * Open up the styles sidebar. * Show computed or rules subsection * Opt-click on one of the property names. This takes you to the definition. * Click the back button in the content browser's nav bar. EXPECTED: * Should take you back to the content view + styles sidebar where the link was clicked ACTUAL: * It will navigate backwards in the tab-specific history, and not restore the styles sidebar
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2015-12-05 15:16:14 PST
<
rdar://problem/23774848
>
Timothy Hatcher
Comment 2
2015-12-05 20:06:56 PST
This would have been the case pre-tabs. But now I'd say this is behaves correctly. I think doing this would be a confusing, slippery slope.
Blaze Burg
Comment 3
2015-12-06 10:04:17 PST
(In reply to
comment #2
)
> This would have been the case pre-tabs. But now I'd say this is behaves > correctly. I think doing this would be a confusing, slippery slope.
From an implementation or a UX standpoint? I found it very confusing to be dumped into the middle of a CSS file with no way to get back to the Elements tab. Especially if I option-click and don't know what it does.
Timothy Hatcher
Comment 4
2015-12-06 10:31:53 PST
From a UX standpoint. Back buttons in most (all?) apps including Safari don't switch containers (tabs). The Elements tab does not have back/forward buttons, but would you need to add them there so forward could take you "back" to the Resource you just came back from? The only UI analogous to this idea that I know of would be iOS 9's app back button that shows up in the status bar. Which is a different affordance, not connected to the content browser back/forward buttons.
Blaze Burg
Comment 5
2015-12-06 13:20:25 PST
(In reply to
comment #4
)
> From a UX standpoint. Back buttons in most (all?) apps including Safari > don't switch containers (tabs). The Elements tab does not have back/forward > buttons, but would you need to add them there so forward could take you > "back" to the Resource you just came back from? > > The only UI analogous to this idea that I know of would be iOS 9's app back > button that shows up in the status bar. Which is a different affordance, not > connected to the content browser back/forward buttons.
I guess it's just a consequence of treating each tab as its own content browser. This makes more sense to me in Safari than in Web Inspector, since our content views have lots of entangled state (most notably, breakpoints) while Safari tabs are completely independent. I guess I'll close this as WONTFIX since it would mean a bigger change to how we keep app state history. That said, I run into similar disorientation in resources vs debugger tab, so we maybe should revisit this design at some point.
Blaze Burg
Comment 6
2015-12-06 13:22:36 PST
For example, we could add breadcrumbs like those that are used for deep links on iOS. In some sense, what I proposed is a kind of deep link.
Timothy Hatcher
Comment 7
2015-12-07 11:24:43 PST
Yes, a breadcrumb back button separate from the content browser is what I was getting at. Something in the toolbar or dashboard.
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