X
Tap here to go to the mobile version of the site.

Support Forum

Find folder that contains a specific searched-for bookmark

Posted

When I search for a bookmark in the Bookmark Library window, I see lots of information about the bookmark except what folder it is in. I can find this information by double-clicking the bookmark line in the results list and then clicking the blue "bookmark star" for the actual website, but the information should appear in the search results rather than our having to use this clumsy workaround. Firefox should have good quality throughout, not just for new and flashy features.

This problem has generated several postings here, such as https://support.mozilla.org/en-US/questions/1161879 . But no good solutions are available. Can someone please fix this long-standing bug?

Thank you, David Spector Mozilla advice volunteer

When I search for a bookmark in the Bookmark Library window, I see lots of information about the bookmark except what folder it is in. I can find this information by double-clicking the bookmark line in the results list and then clicking the blue "bookmark star" for the actual website, but the information should appear in the search results rather than our having to use this clumsy workaround. Firefox should have good quality throughout, not just for new and flashy features. This problem has generated several postings here, such as https://support.mozilla.org/en-US/questions/1161879 . But no good solutions are available. Can someone please fix this long-standing bug? Thank you, David Spector Mozilla advice volunteer

Chosen solution

Generally speaking, the people on this forum are just support contributors and have very little influence over the development of Firefox.

If you want to leave feedback for Firefox developers, you can go to the Firefox Help menu and select Submit Feedback... or use this link. Your feedback gets collected by a team of people who read it and gather data about the most common issues.

Otherwise, you can file a bug report and mark it as an enhancement.

Hope this helps.

Read this answer in context 1
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

Wesley Branton
  • Top 10 Contributor
573 solutions 4884 answers

Chosen Solution

Generally speaking, the people on this forum are just support contributors and have very little influence over the development of Firefox.

If you want to leave feedback for Firefox developers, you can go to the Firefox Help menu and select Submit Feedback... or use this link. Your feedback gets collected by a team of people who read it and gather data about the most common issues.

Otherwise, you can file a bug report and mark it as an enhancement.

Hope this helps.

Generally speaking, the people on this forum are just support contributors and have very little influence over the development of Firefox. If you want to leave feedback for Firefox developers, you can go to the Firefox ''Help'' menu and select ''Submit Feedback...'' or use [https://qsurvey.mozilla.com/s3/FirefoxInput/ this link]. Your feedback gets collected by a team of people who read it and gather data about the most common issues. Otherwise, you can [https://bugzilla.mozilla.org/enter_bug.cgi file a bug report] and mark it as an enhancement. Hope this helps.
Was this helpful to you? 1
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17341 solutions 156771 answers

You can look at this extension.

You can look at this extension. *Bookmark search plus 2<br>https://addons.mozilla.org/firefox/addon/bookmark-search-plus-2/
Was this helpful to you? 0
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17341 solutions 156771 answers

I noticed you marked my reply as unhelpful. You can currently only do this via an extension like I posted above. Another that we usually recommend:


See also:

  • Bug 408991 - Find a way to efficiently extract bookmarks paths
  • Bug 469421 - Add a folder column to search results for bookmarks in the library

(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html
)

I noticed you marked my reply as unhelpful. You can currently only do this via an extension like I posted above. Another that we usually recommend: *https://addons.mozilla.org/en-US/firefox/addon/bookmarks-manager-and-viewer/ ---- See also: *[https://bugzilla.mozilla.org/show_bug.cgi?id=408991 Bug 408991] - Find a way to efficiently extract bookmarks paths *[https://bugzilla.mozilla.org/show_bug.cgi?id=469421 Bug 469421] - Add a folder column to search results for bookmarks in the library (<i>please do not comment in bug reports<br>https://bugzilla.mozilla.org/page.cgi?id=etiquette.html</i>)

Modified by cor-el

Was this helpful to you?
Quote

Question owner

Dear moderator cor-el, in explanation, I marked your reply as "unhelpful" because rather than addressing the bug it offered just another workaround, in fact the one I referred to in my posting. I rank bug fixing as top priority, and always have in my 40-year career as a professional software engineer (now retired). If bug fixing comes first, products tend to meet customer expectations and needs better, given the fact that software will always need improvement. I stick to my opinion

If your website is going to allow voting on helpfulness, you should accept this feedback. If you don't like the feedback, remove the option to vote. Again, that's my opinion, not a fact. The fact is that the matter I reported is a long-standing bug that has not been fixed. I have submitted a suggestion that it be fixed. I am trying my best to be genuinely helpful.

Dear moderator '''cor-el''', in explanation, I marked your reply as "unhelpful" because rather than addressing the bug it offered just another workaround, in fact the one I referred to in my posting. I rank bug fixing as top priority, and always have in my 40-year career as a professional software engineer (now retired). If bug fixing comes first, products tend to meet customer expectations and needs better, given the fact that software will always need improvement. I stick to my opinion If your website is going to allow voting on helpfulness, you should accept this feedback. If you don't like the feedback, remove the option to vote. Again, that's my opinion, not a fact. The fact is that the matter I reported is a long-standing bug that has not been fixed. I have submitted a suggestion that it be fixed. I am trying my best to be genuinely helpful.

Modified by David Spector

Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17341 solutions 156771 answers

This is not a real bug, but merely a decision by the developers not to support this feature. This has never been important enough to get added and there were performance issues with getting this data if you would use a query that resulted in thousands of bookmarks (if you have this many) as you can read in the bug report (#408991).

There used to be Legacy extensions by alice0775 to add this column to the Library window, but she has withdrawn all her extensions when Quantum got released and there were no WebExtension APIs available to port the extension.

This is not a real bug, but merely a decision by the developers not to support this feature. This has never been important enough to get added and there were performance issues with getting this data if you would use a query that resulted in thousands of bookmarks (if you have this many) as you can read in the bug report (#408991). There used to be Legacy extensions by [https://github.com/alice0775 alice0775] to add this column to the Library window, but she has withdrawn all her extensions when Quantum got released and there were no WebExtension APIs available to port the extension.
Was this helpful to you?
Quote

Question owner

I see. I suppose that solution to the performance problem could be obtained by choosing from the following designs:

1. Break up the query output into pages, the size and maximum number of which are specified in about:config, with some user controls available at the end of each page. This design could be in addition to one of the following designs for those needing all the output from the query with good performance. I don't like this solution much because I dislike paging.

2. Add a user option to the about:config page to disable "folder path" lookup for better performance when doing queries returning large numbers of results. The default behavior would be to add the "folder path" column in the output, to satisfy the needs of the majority of users.

3. Show the "folder path" column when there are N or fewer items returned by the request (that is, do the folder lookups after doing the query processing, not during the processing.). This would produce the desired results when the user looks at the properties of a single bookmark, as desired.

4. Change the internal representation of bookmarks such that each bookmark contains a simple index or pointer directly to the leaf folder to which it belongs. This field would be omitted when saving bookmarks, since the bookmarks are already contained in their folders. It would be recalculated as bookmarks are converted from an external representation to their internal representation. In some ways, this is the "perfect" solution, as it is a simple caching technique.

I see. I suppose that solution to the performance problem could be obtained by choosing from the following designs: 1. Break up the query output into pages, the size and maximum number of which are specified in about:config, with some user controls available at the end of each page. This design could be in addition to one of the following designs for those needing all the output from the query with good performance. I don't like this solution much because I dislike paging. 2. Add a user option to the about:config page to disable "folder path" lookup for better performance when doing queries returning large numbers of results. The default behavior would be to add the "folder path" column in the output, to satisfy the needs of the majority of users. 3. Show the "folder path" column when there are N or fewer items returned by the request (that is, do the folder lookups after doing the query processing, not during the processing.). This would produce the desired results when the user looks at the properties of a single bookmark, as desired. 4. Change the internal representation of bookmarks such that each bookmark contains a simple index or pointer directly to the leaf folder to which it belongs. This field would be omitted when saving bookmarks, since the bookmarks are already contained in their folders. It would be recalculated as bookmarks are converted from an external representation to their internal representation. In some ways, this is the "perfect" solution, as it is a simple caching technique.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17341 solutions 156771 answers

There are of course pointers to get forward, but the problem is to get the name of the parent folder when only its ID is known.

A copy of a bookmark places this on the clipboard in JSON format (flavor: text/x-moz-place):

{"title":"<title>","id":33,"itemGuid":"0iKhcKVgkVqZ","instanceId":"VrDoICo0_fkw","parent":29,"parentGuid":"iAdJpIxG_5to","dateAdded":1538970183138000,"lastModified":1538970183138000,"type":"text/x-moz-place","uri":"<url>"}
There are of course pointers to get forward, but the problem is to get the name of the parent folder when only its ID is known. A copy of a bookmark places this on the clipboard in JSON format (flavor: text/x-moz-place): <pre><nowiki>{"title":"<title>","id":33,"itemGuid":"0iKhcKVgkVqZ","instanceId":"VrDoICo0_fkw","parent":29,"parentGuid":"iAdJpIxG_5to","dateAdded":1538970183138000,"lastModified":1538970183138000,"type":"text/x-moz-place","uri":"<url>"}</nowiki></pre>
Was this helpful to you?
Quote

Question owner

Yes, I figured that something like this was the data structure associated with a bookmark. My suggested designs all take this into consideration.

For example, design #4 would change this json to include the object name or other identification of the containing folder (this works even when the same bookmark exists in two or more folders).

I gently suggest you read my designs again, as each one provides a partial or complete solution.

Yes, I figured that something like this was the data structure associated with a bookmark. My suggested designs all take this into consideration. For example, design #4 would change this json to include the object name or other identification of the containing folder (this works even when the same bookmark exists in two or more folders). I gently suggest you read my designs again, as each one provides a partial or complete solution.
Was this helpful to you?
Quote
cor-el
  • Top 10 Contributor
  • Moderator
17341 solutions 156771 answers

So, what would happen if you would rename a folder? You would have to scan all bookmarks and change the folder name. A long time ago you could copy a folder and paste this folder in a Firefox instance running in a different profile (this could be a different Firefox version). If you now copy a folder then you only get the folder ID on the clipboard and not the bookmarks, so this is a very quick action if you would move a folder with 1000 or more bookmarks, but you can't copy this folder to another instance (you would have to create each folder and copy its bookmarks via select all).

In the case of the bookmark I posted above (folder on Bookmarks Toolbar):

{"title":"<title","id":29,"itemGuid":"iAdJpIxG_5to","instanceId":"VrDoICo0_fkw","parent":3,"parentGuid":"toolbar_____","dateAdded":1507672335578000,"lastModified":1556580365504000,"type":"text/x-moz-place-container"}
So, what would happen if you would rename a folder? You would have to scan all bookmarks and change the folder name. A long time ago you could copy a folder and paste this folder in a Firefox instance running in a different profile (this could be a different Firefox version). If you now copy a folder then you only get the folder ID on the clipboard and not the bookmarks, so this is a very quick action if you would move a folder with 1000 or more bookmarks, but you can't copy this folder to another instance (you would have to create each folder and copy its bookmarks via select all). In the case of the bookmark I posted above (folder on Bookmarks Toolbar): <pre><nowiki>{"title":"<title","id":29,"itemGuid":"iAdJpIxG_5to","instanceId":"VrDoICo0_fkw","parent":3,"parentGuid":"toolbar_____","dateAdded":1507672335578000,"lastModified":1556580365504000,"type":"text/x-moz-place-container"}</nowiki></pre>
Was this helpful to you?
Quote

Question owner

"So, what would happen if you would rename a folder?"

Good question, simple answer: you need each folder to have a separate internal identifier that doesn't change when its name is changed. Internally, the folder is represented by its unique number or id, while externally it has an ephemeral representation as the user's choice of path of folder names.

I think appropriate data structure design solves this sort of problem easily. Of course, software changes with time. So whenever I design a portable or persistent data structure, I always start the structure with two members: first, a universally unique self-identifier (GUID, number, or string) that represents what the structure means, and second, a version number.

This allows user data to live forever, yet be transformable to (or automatically, if desired) support new functionality as the software is modified.

"So, what would happen if you would rename a folder?" Good question, simple answer: you need each folder to have a separate internal identifier that doesn't change when its name is changed. Internally, the folder is represented by its unique number or id, while externally it has an ephemeral representation as the user's choice of path of folder names. I think appropriate data structure design solves this sort of problem easily. Of course, software changes with time. So whenever I design a portable or persistent data structure, I always start the structure with two members: first, a universally unique self-identifier (GUID, number, or string) that represents what the structure means, and second, a version number. This allows user data to live forever, yet be transformable to (or automatically, if desired) support new functionality as the software is modified.
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.