Closed Bug 1763464 Opened 3 years ago Closed 3 months ago

Dragging bookmarked items from the overflow menu onto the current opened webpage breaks the drag functionality

Categories

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

Firefox 99
Desktop
All
defect

Tracking

()

VERIFIED FIXED
129 Branch
Tracking Status
firefox129 --- verified
firefox130 --- verified

People

(Reporter: wardz, Assigned: daisuke)

References

(Regressed 1 open bug)

Details

(Keywords: papercut, Whiteboard: [sng-scrubbed])

Attachments

(1 file)

Steps to reproduce:

  1. Configure the bookmarks toolbar to only show on new empty tab. (Important)
  2. Create enough bookmarks so it overflows your bookmarks toolbar to the right.
  3. Drag any item from the overflow menu onto the current webpage/tab/location bar so it opens the site.
  4. Open a new empty tab. (Important)
  5. Try to drag any item from the overflow menu. It won't work, but bookmarks outside the overflow can still be dragged.

This issue seems to happen for both Windows 11 and latest MacOS.

Actual results:

I can't drag the overflowed bookmarks anywhere unless I restart the browser.

Expected results:

I should be able to drag these.

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.

Component: Untriaged → Bookmarks & History
See Also: → 1761877

The severity field is not set for this bug.
:mak, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(mak)

Seems to be similar with bug 1761877. Please reopen if you don't agree.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE

This bug is not related to wayland as it happens on both mac and windows. It's also not specific to dragging towards the toolbar, but to anywhere on the page. It also seems to trigger only with bookmark bar "Only Show On New Tab" enabled.

Status: RESOLVED → UNCONFIRMED
OS: Unspecified → All
Hardware: Unspecified → Desktop
Resolution: DUPLICATE → ---

I can reproduce this. It looks like the view controller isn't hooked up properly for the second tab:

15:26:58.660 Uncaught TypeError: can't access property "canMoveNode", this._rootView.controller is null
    on_dragstart chrome://browser/content/places/places-menupopup.js:409
    handleEvent chrome://global/content/customElements.js:466
4 places-menupopup.js:409:11
Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mak)
Priority: -- → P2
Keywords: papercut

This seems to work for me and a few other people now. Closing it out.

Status: NEW → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → WORKSFORME

Still reproducible everytime for me on both Windows 11 and macOS Sonoma with a fresh install of latest Firefox.
Do I need to build firefox in debug mode or something to view error logs, or can I view them a quicker way?

(In reply to Mark Banner (:standard8) from comment #7)

This seems to work for me and a few other people now. Closing it out.

Nevermind previous comment, figured it out. It's giving me this error when I try to drag the bookmark item:

places-menupopup.js:433:11

Uncaught TypeError: this._rootView.controller is null
    on_dragstart chrome://browser/content/places/places-menupopup.js:433
    handleEvent chrome://global/content/customElements.js:459

fyi mozregression shows me build 2020-10-25 is the last working one, but its unable to provide more details when bisecting.

This is now happening in the Tor browser aswell after the 13.0 update.

Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---

We may have a problem where the bookmark toolbar gets out of sync with the UI (possibly the bookmarks toolbar gets gc'd).

See Also: → 1842288
Whiteboard: [sng-scrubbed]

PS: not sure if this matters, but im on the norwegian x64 nb-NO firefox version.

See Also: → 1800475
Assignee: nobody → daisuke
Status: REOPENED → ASSIGNED
Attachment #9405827 - Attachment description: Bug 1763464: Re-get the bookmark toolbar reference if it that places-menupopup was referencing had been closed → Bug 1763464: Re-get the bookmark toolbar reference if it referencing in places-menupopup had been closed
Attachment #9405827 - Attachment description: Bug 1763464: Re-get the bookmark toolbar reference if it referencing in places-menupopup had been closed → Bug 1763464: Use available bookmark toolbar in places-menupopup
Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d44ba967d765
Use available bookmark toolbar in places-menupopup r=places-reviewers,Standard8
Regressions: 1903189
Status: ASSIGNED → RESOLVED
Closed: 2 years ago3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

Reproducible on a 2024-06-10 Nightly build on Windows 10.
Verified as fixed on Firefox 129.0b5 and Firefox Nightly 130.0a1 on Windows 10, Ubuntu 22, macOS 14.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: