Closed Bug 1518980 Opened 5 years ago Closed 5 years ago

Sometimes there are more than 4-5 "recent" folders when adding bookmarks (RFC)

Categories

(Firefox :: Bookmarks & History, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1230453

People

(Reporter: wagle, Unassigned)

Details

https://searchfox.org/mozilla-central/source/browser/components/places/content/editBookmark.js#7

The MAX_FOLDER_ITEM_IN_MENU_LIST constant "5" is hardwired into the code to manage the popup for the left button in the "Folder:" area in the individual-bookmark-editor popped-down by the star icon. If the new editor decides to display a thumbnail of the page, then this 5 becomes a 4.

I have maybe 8-12 "recent" folders, so important folders are always falling off the list with the 4-5 limit, rendering that cache fairly useless, forcing me to choose the appropriate folder from the full list of dozens, which is more tedious and errorprone.

Letting a user modify that hardwired limit of 5 would be very useful for some people.

I'm looking for a discussion of the right way to do it.

(1) The kludge is to change the 5 to maybe a 12 in a fork.

(2) Better than that would be adding a CSS value to specify it.

(2) Better than even that would be adding a about:config value to specify it.

(3) Interesting, but finicky, would be to modify a threshold of how recent is "recent", and display "all" of them (modulo some maximum number to prevent hundreds being declared recent, and going off the screen).

(4) Some sort of slider somewhere to let you grow or shrink the popup height by dragging the mouse. This seems to me to possibly be overkill unless the sam mechanic were also used elsewhere?

(5) Something else that I didn't think of.

I'm not completely happy with any of of the above, hence this Request For Comments.

Thanks!

Wow, I can edit the original post now, but not delete this response. Oh well.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.