Open Bug 1877009 Opened 7 months ago Updated 7 months ago

Width of the bookmarks editing / creation popover dialog wiggles depending on the selected folder in the expanded treeview

Categories

(Firefox :: Bookmarks & History, defect, P3)

Firefox 122
Desktop
All
defect

Tracking

()

People

(Reporter: nekohayo, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0

Steps to reproduce:

As tested with Firefox 122 on the Wayland GNOME session of Fedora 39:

  1. Ctrl+D to start bookmarking a page
  2. Expand the tree of folders
  3. Use the keyboard with typeahead to find which folder you're looking for (it would be much better if it had a filtering search UI instead), and use the Up/Down arrow keys to navigate between various bookmark folders of various medium-to-long name lengths

Actual results:

The width of the popover (doorhanger?) widget frantically expands and contracts depending on the length of the folder name, because of the folder selector menu widget above the treeview.

See attached demonstration video, it will make the problem very clear.

Expected results:

  • Allow long folder names to be ellipsized in that widget
  • Provide a much, much wider default width for the bookmarking popover, to avoid ellipsizing and allow showing reasonably lengthier folder names without truncation in most cases
  • Eventually implement a filtering folders treeview search UI (see idea on Mozilla connect) and get rid of the single folder selector widget above the treeview; just show the filterable treeview right away or something, especially on desktop computers where available space is plentiful and the current popover UI barely uses a fifth of it.
Blocks: 1459877
Component: Untriaged → Bookmarks & History
OS: Unspecified → All
Hardware: Unspecified → Desktop

I've reproduced this in the latest Nightly 124.0a1 and Firefox 122.0.1 versions on Windows10 x64.
Setting to New and changing type to Enhancement.

Status: UNCONFIRMED → NEW
Type: defect → enhancement
Ever confirmed: true

I'm pretty sure this is not intended, and likely a regression.
Could you please check for a regression range?

Severity: -- → S3
Type: enhancement → defect
Flags: needinfo?(epopescu)
Priority: -- → P3

While I am not knowledgeable enough to be able to check for a regression across previous versions, I can attest that in my experience this issue has been there forever, since the introduction of the bookmarks popover widget many years ago, I believe. I had just never taken the time to report it until now, and I suspect most people hadn't noticed (or didn't bother reporting) because they don't use bookmark folders much or don't have long folder names like I do.

My hunch is that the bug is likely to be caused by the combobox widget (before the dropdown expander button) resizing due to not elipsizing its label; however, rather than elipsizing, I would actually expect it to measure the longest label available in the expanded folders view, and use that as a widget minimum width request instead (if there is enough measured available screen width, of course) to avoid variations.

QA Whiteboard: [qa-regression-triage]

(In reply to Marco Bonardo [:mak] from comment #2)

I'm pretty sure this is not intended, and likely a regression.
Could you please check for a regression range?

I didn't manage to find the corresponding regression range for this issue because this can be reproduced all the way back to Firefox 85.0.1 on Windows10 x64.

QA Whiteboard: [qa-regression-triage]
Flags: needinfo?(epopescu)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: