Closed Bug 309452 Opened 19 years ago Closed 19 years ago

Dropping a tab to another tabbar should drop the URL

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox1.5

People

(Reporter: bugzilla-mozilla, Assigned: bugzilla-mozilla)

Details

(Keywords: fixed1.8)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.7.12) Gecko/20050920 Firefox/1.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.8b4) Gecko/20050919 Firefox/1.4

The drop code as based on miniT was supposed to fall back to standard URL
dropping if the tab wasn't dropped in its own tabbar, but retrieveURLFromData
fails to retrieve a URL since there is none attached to the text/x-moz-tab flavour.

While investigating this, I realized that using an additional flavour is not
needed (but was needed by miniT).

Reproducible: Always
This patch also removes ondragover and ondragdrop from xul:tabs since they
don't seem to be needed anymore.
Attachment #196902 - Flags: review?(mconnor)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.8b5?
Assignee: nobody → bugzilla-mozilla
Attachment #196902 - Flags: review?(mconnor) → review+
Whiteboard: [checkin needed]
Trunk:
mozilla/toolkit/content/widgets/tabbrowser.xml; new revision: 1.114;
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [checkin needed]
Attachment #196902 - Flags: approval1.8b5?
not a blocker, but a nice low-risk tweak.
Flags: blocking1.8b5? → blocking1.8b5-
Sorry to spam, but does this checkin can "kill" any click on personal toolbar ?

I built a fx including this bugfix, and my personal toolbar is not working when
I click a link on it.
Yes. Pretty sure this caused bug 310187.
Depends on: 310187
No longer depends on: 310187
Attachment #196902 - Flags: approval1.8b5? → approval1.8b5+
Whiteboard: [checkin needed]
(In reply to comment #5)
> Yes. Pretty sure this caused bug 310187.

Just for the record, this bug didn't cause that one.
1.8 branch:
Checking in tabbrowser.xml;
/cvsroot/mozilla/toolkit/content/widgets/tabbrowser.xml,v  <--  tabbrowser.xml
new revision: 1.103.2.10; previous revision: 1.103.2.9
done
Keywords: fixed1.8
Whiteboard: [checkin needed]
Target Milestone: --- → Firefox1.5
For the record, I filed bug 319876 to port this patch to SeaMonkey.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: