Pressing escape when editing a preference in the new about:config should abandon editing
Categories
(Toolkit :: Preferences, defect, P5)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | disabled |
firefox66 | --- | unaffected |
firefox67 | --- | disabled |
firefox68 | --- | disabled |
firefox69 | --- | disabled |
firefox70 | --- | disabled |
firefox71 | --- | fixed |
People
(Reporter: mossop, Assigned: jawad)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
If I start to edit a string value and want to cancel I press escape. Nothing happens. It would be nice if this undid my edits.
Comment 1•6 years ago
|
||
Also, or alternatively, a "Cancel" button could appear next to the "Save" button, to allow me to dismiss the edit box without saving my changes.
Comment 2•6 years ago
|
||
It turns out that clicking "Edit" on a different preference will have this effect: it dismisses the current edit box without saving changes. But this is non-obvious: I wasn't at all sure it would be possible to start editing a new preference without first saving the current one, and I certainly couldn't tell in advance whether doing so would or would not save the edited value of the current one.
Comment 3•6 years ago
|
||
To put things in perspective, most edits of text fields would be from "0" to "1" or similar.
We're not really concerned about making this the best user interface possible, it just has to be good enough to allow people to perform the task.
That said, canceling the edit when pressing ESC would be a nice to have, I think we could accept a patch to do that with a specific regression test. This isn't high priority because a workaround to get rid of a stray click on an edit button would be to just search again or reload the page, clicking Save without modifying the value, or use the Undo command in the textbox.
Assignee | ||
Comment 6•6 years ago
|
||
Hi, I am willing to work on this, please assign it to me.
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
Comment 8•6 years ago
|
||
Thanks for working on this! As noted in the review, this requires a test case to be written. If you have a mentor, they can help you with it.
Updated•6 years ago
|
Comment 9•6 years ago
|
||
New about:config is not by default in 67 -> disabled.
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
Comment 13•5 years ago
|
||
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=266581594&repo=autoland&lineNumber=2167
Backout link: https://hg.mozilla.org/integration/autoland/rev/f5dd266a1d0460abf9d2df433ad08e590edbd941
Comment 14•5 years ago
|
||
Comment 15•5 years ago
|
||
bugherder |
Updated•5 years ago
|
Updated•5 years ago
|
Description
•