Notify the user we can't use a keyword that conflicts with a restriction token
Categories
(Firefox :: Address Bar, defect, P5)
Tracking
()
People
(Reporter: mikeharris19, Unassigned)
References
Details
(Keywords: regression)
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
regression-window |
Updated•6 years ago
|
Reporter | ||
Comment 4•6 years ago
|
||
Comment 5•6 years ago
|
||
Comment 6•6 years ago
|
||
Updated•6 years ago
|
Comment 7•6 years ago
|
||
bug 1514780 also took away the possibility to use # as a first character for a keyword search.
https://support.mozilla.org/en-US/questions/1248164
Updated•6 years ago
|
Comment 9•6 years ago
|
||
I'd like to note here, that once Quantum Bar is the default implementation, we could make tokenize() async, and that would allow the tokenizer to recognize if a token is a keyword. Until then it's not possible because the old urlbar tokenizes in a synchronous context. That said, it's possible the added complexity would still overweight the benefits.
Comment 10•6 years ago
|
||
Bug 1538050 describes a situation in which a keyword that used to be valid became invalid. As this could potentially happen again with a future change it'd be handy if whatever method is used to notify the user that a keyword isn't valid could also indicate when a bookmark already has an invalid keyword.
Possible ways multiple bookmarks with invalid keywords could make its way into bookmark metadata without going through the "Add Bookmark" workflow:
- Upgrade from old build
- Sync
- Import
- Extensions
Updated•6 years ago
|
Comment 12•6 years ago
|
||
Apologies for the dupe: I did check Bugzilla, but all my searches had ‘bookmark’ in them, which isn't in this bug's title.
Since this is an intentional change that affects existing bookmark keywords, as a minimum please can it be put in the release notes? Thanks.
If you can detect no-longer-valid keywords at start-up and notify users (perhaps also changing them to something compliant), that would be fantastic.
The upside to this change seems to be that URL bar keyboard shortcuts no longer require the documented spaces separating the symbol that's specifying the kind of search — which also seems worth a release notes mention. As well as updating the docs: https://support.mozilla.org/en-US/kb/awesome-bar-keyboard-shortcuts
Comment 13•6 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #6)
keyword.enabled is an hidden pref with fancy behaviors, mostly for
privacy-sensitive users that don't want to send any string to search engines
even by mistake. It's an overzealous protection and as such more things
don't work with it.
PS: In my case (I'm not the original poster) I disabled that so that attempting to visit a local network site doesn't trigger a web search. If I'm trying to go to an internal website called ‘krunch’ but type it as ‘crunch’, I want to be able to easily fix the one-character typo, not find the entire address has been replaced with an irrelevant web search. Similarly, if I'm checking whether a DNS change has gone live yet, I want an actual error page on that URL so I can periodically hit F5 on to check whether the hostname is now resolving — which again, doesn't work if F5 just refreshes a page of search results. All to do with convenience, rather than security.
Updated•2 years ago
|
Description
•