Bookmark Search Truncates Titles at 255 Characters
Categories
(Firefox :: Bookmarks & History, defect, P5)
Tracking
()
People
(Reporter: musixmatch, Unassigned)
References
(Depends on 1 open bug, Regression)
Details
(Keywords: nightly-community, regression)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0
Steps to reproduce:
Firefox allows bookmark titles of 4096 characters length. I used library search, which clearly cuts search strings at 255 characters, an unexpected and apparently undocumented behaviour.
Example: Bookmark title "Test Bookmarksearch Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll Llanfairpwllgwyngyll 1234567890 12345678 FindMe" (256 characters).
Searching for "FindM" (up to character 255) returns the bookmark, but searching for "FindMe" (up to character 256) returns no results. This limitation is undocumented and restricts search functionality for long titles.
Actual results:
The bookmark search (via Library) only searches the first 255 characters of a bookmark title. For titles with 256+ characters, search terms beyond character 255 are not found.
Additional Info: Firefox extensions for "Advanced Library Search" exhibit the same behaviour, this may indicate an issue in the underlying API.
Expected results:
The Firefox library search should provide full search functionality for long titles. Thank you.
Comment 1•1 month ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Bookmarks & History' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•1 month ago
|
||
I can reproduce this on Nightly144.0a1 Windows11.
Comment 3•1 month ago
|
||
Regression window:
https://hg-edge.mozilla.org/mozilla-central/pushloghtml?fromchange=1461a4071341c282afcf7b72e33036412d2251d4&tochange=9c01418829e44b01feaebff72867cd50befc7044
Regressed by: Bug 907001
Comment 4•1 month ago
|
||
Set release status flags based on info from the regressing bug 907001
:mak, since you are the author of the regressor, bug 907001, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•1 month ago
|
Comment 5•1 month ago
|
||
We limit the search to the first 255 characters for performance reasons. It may be in future that bug 1340487 would allow us to have full text searching of bookmark titles. However in the meantime this is low priority.
Also removing the regression flag, as this was an intentional choice, not a regression in terms of an accidentally introduced bug.
| Comment hidden (advocacy) |
Description
•