Closed the-nelsonator closed 2 months ago
@rebelonion I noticed you used Dev Edition on 06/26 to demo your PR related to drag and drop: https://github.com/mbnuqw/sidebery/pull/1698.
On my machine drag and drop is not working as of Dev Edition 129.0b2 (released 7/10). Is the same true for you? Helps narrow down timeframe or if this is just due to something in my environment
Problem exists in 129.0b3, too. "Workaround" using ff extension tabdetach and using keyboard shortcuts.
Right-click tab -> Reopen in -> New window is also a less convenient workaround
"Move to", but, yeah 👌😂
Regarding the note: I can reproduce the issue on
Version 128.0
Build ID 20240704121409
The ability to rearrange tabs with the sidebar is also affected.
For me the issue (on 128) is that when I try and open a tab in a new window by dragging (or using the 'open in new window' right click menu option) the window opens fine... but sidebery is no longer open in that window. Not sure if that's related or a different bug entirely.
I found a fix (well, as least for my issue):
Changing dom.events.dataTransfer.imageAsFile.enabled
to true
in about:config
seems to fix the issue.
It looks like a regression: bugzilla link.
Ah unfortunately that doesn't fix my issue. Even more unfortunately i haven't seen the dev respond to any bug reports for a few months.
I found a fix (well, as least for my issue): Changing
dom.events.dataTransfer.imageAsFile.enabled
totrue
inabout:config
seems to fix the issue.It looks like a regression: bugzilla link.
That doesn't fix the problem here. It's a different problem, dragging images - our problem in this case is dragging tabs.
Yeah, tried dom.events.dataTransfer.imageAsFile.enabled
to true
on v129.0b6 and can confirm did not fix the drag'n'drop to open in new window
I've bisected the issue to this Firefox change which makes sense since it touches the drag'n drop subsystem. The effect is that in this Sidebery line e.dataTransfer
is now null
instead of a DataTransfer
object. (which alters our control flow) According to the MDN docs this should never happen when the event is dispatched by the browser which is the case here so I'd say this is a Firefox bug.
Unfortunately I don't have time to dive more deeply into the Firefox change so somebody else will have to do that... (I've also open a bugzilla issue for this: https://bugzilla.mozilla.org/show_bug.cgi?id=1911486)
@Bobo1239 Thank for identifying the issue (noting down that bisection tool, very cool) and reporting on Bugzilla. Looks like David Parks/handyman already got a fix in - drag and drop to open in other window works as expected in v131! (Only on Nightly for now)
Looks like, as expected since you opened a separate Bugzilla, this did not fix the issue with tabs "cloning" in the other window instead of moving.
drag and drop to open in other window works as expected in v131! (Only on Nightly for now)
It works in 130.0b4, too. But the other issue (tabs cloning instead of moving) is there, too.
Steps to reproduce
Actual behavior
Does nothing
Expected behavior
Opens a new window with the tab
System
Windows 11
Firefox version
Open Firefox Dev Edition 129.0b2, or Firefox Nightly v130.0a1 (2024-07-12)
Sidebery version
v5.2.0
Logs
No logs at all in console.
Notes: