Closed
Bug 818754
Opened 12 years ago
Closed 11 years ago
Add a pref to InspectorPanel to allow users to disable preventNavigateAway
Categories
(DevTools :: Inspector, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 850513
People
(Reporter: potch, Unassigned)
Details
I find in > 90% of cases, I am intentionally refreshing the page after tweaking a value in the Style Inspector. It would be nice if I could turn off the notification asking me if I'm sure. Did some digging to find an undocumented pref for this in https://mxr.mozilla.org/mozilla-central/source/browser/devtools/inspector/InspectorPanel.jsm, but didn't find one. Could one be added?
Comment 1•12 years ago
|
||
We could add a "Never ask again for mysite.com" button. Do you refresh the page to reset the style?
Comment 2•12 years ago
|
||
I'm in the same boat; I often refresh the page to reset the styles I've changed (or to load in the styles I've saved to my actual CSS files, taken from CSS tweaking done in-browser). I'd be happy if the preference was, simply: "Never ask again"; though I'm often testing on localhost:*, I know there are lots of folks I've talked to who test on dev sites or XAMP hosts setup in their /etc/hosts file that find the dialogue quite grating.
Reporter | ||
Comment 3•12 years ago
|
||
(In reply to Paul Rouget [:paul] from comment #1) > We could add a "Never ask again for mysite.com" button. > > Do you refresh the page to reset the style? Yep! My style of development is highly iterative, and when I tweak someting to my liking in the inspector, I then update my css, and want to refresh to "apply" the changes and move on to the next thing. Adding a click on a notification to that workflow is seriously disruptive. I'd be just fine with a per-site question, but I'd pretty much treat it like an "everywhere" sort of thing. The changes I make in the inspector are sufficiently transitory that being warned on leaving the page is simply unnecessary. Though I do appreciate Firefox having my back :)
Updated•12 years ago
|
Priority: -- → P3
Comment 4•11 years ago
|
||
If anyone has an idea about what should be done here (UX-wise), I'm interested :) Also, see bug 826982.
Comment 5•11 years ago
|
||
What would the value be in a per-site preference? I personally can't think of a case where I'd want it on for one site, but not another. But maybe someone else?
Comment 6•11 years ago
|
||
I just talked with my friend, The Only Web Developer Ever, screenshot of convo here: http://imgur.com/obmVJaQ. He would want to be able to disable it globally, and is not sure it's needed, but might be for the Style Editor.
Comment 7•11 years ago
|
||
(In reply to Heather Arthur [:harth] from comment #5) > What would the value be in a per-site preference? > [...] > He would want to be able to disable it > globally, and is not sure it's needed, but might be for the Style Editor. Apparently, this is the general feeling. I believe a global pref is ok. Maybe the styleeditor can have an option "re-apply changes on reload" and "export diff". But that can happen later.
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•