Closed
Bug 317024
Opened 20 years ago
Closed 7 years ago
Cannot drag and drop onto an empty tree region
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: tony, Assigned: janv)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/416.11 (KHTML, like Gecko) Safari/416.12
Build Identifier: n/a
There's no way to receive a drag and drop event in the blank region of a tree widget that can display more rows than it contains.
Reproducible: Always
Steps to Reproduce:
1. Create a templated tree with flags="dont-build-content" set and enough room to display at least one more row than its datasource will generate.
2. Hook up an nsIXULTreeBuilderObserver to it to catch drag and drop events.
3. Try to drag and drop valid data into the empty space past the last row.
Actual Results:
Nothing happens. The tree refuses to accept the drop.
Expected Results:
The tree should treat the drop as an attempt to drop after the last row, or in the case of an empty tree, before the "first" row (i.e., insert in row 0).
I believe this is related to bug #127479 where the reporter says they are unable to drop bookmarks into an empty bookmark tree. Since the tree is empty, there is nothing to target with the drop.
Comment 1•20 years ago
|
||
What version of what application are you testing? What is the build ID?
==> trees
Assignee: guifeatures → Jan.Varga
Component: XP Apps: GUI Features → XP Toolkit/Widgets: Trees
Product: Mozilla Application Suite → Core
QA Contact: xptoolkit.trees
Version: unspecified → Other Branch
| Reporter | ||
Comment 2•20 years ago
|
||
(In reply to comment #1)
> What version of what application are you testing? What is the build ID?
>
> ==> trees
>
Sorry about that, it's a build using the Firefox 1.0.4 source code. It's not an official build, but it's virtually identical to the 1.0.4 release except for patches to nsIFilePicker on OS X.
Comment 3•20 years ago
|
||
please try Firefox 1.5rc3 or a trunk build
http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/1.5rc3/
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
gecko 1.7 is only taking security fixes.
Version: Other Branch → 1.7 Branch
Comment 4•20 years ago
|
||
Confirmed with new profile. I cannot drag into an empty area of a tree.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20060307 Firefox/1.5 - Build ID: 2006030703
Comment 5•20 years ago
|
||
Can someone attach an XUL testcase that exhibits this bug?
OS: MacOS X → All
Hardware: Macintosh → All
Version: 1.7 Branch → 1.8 Branch
Component: XP Toolkit/Widgets: Trees → XUL
QA Contact: xptoolkit.trees → xptoolkit.widgets
| Assignee | ||
Comment 6•7 years ago
|
||
I don't think anyone is going to work on this given the plan to remove the XUL "tree" widget (bug 1446335).
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•