Closed Bug 63615 Opened 25 years ago Closed 16 years ago

RFE FTP directory listings tree should indicate empty directories

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: dougt, Assigned: jag+mozilla)

References

(Blocks 1 open bug)

Details

(Whiteboard: [xul dirviewer])

When the listing for a directory is empty, the tree should assert an empty node there. The name/text for this should be in italics "<empty>".
I wanted to do something like this for error notification for gopher. There is currently no way to make such a node unselectable, so I left it. If someone's going to do this, note that gopher trees have error items, and they shouldn't be sorted, because they can go over multiple lines, and be followed/preceded by "normal" content. Error messages returned by the FTP server, and/or .message/README files in the directory could be displayed that way as well. Have I moved away from the original bug here? :) See also bug 19073 on the lack of error reporting for most protocols - this would be one way to do it, I suppose.
No offense, but I dislike this idea of a "<empty>" node... ugly UI. Better perhaps would be something where directories display a count of the # of items contained in them.
What's wrong with some status information? If the node is not selectable, then it should be fine. "This directory contains no entries" is fairly clear. Then a directory where the user lacks appropriate permissions could be reported as "permission denied", etc. Currently permission denied and file not found both egive an empty directory. Maybe nsDirectoryViewer.cpp could just display comment entries (100 & 101 in the application/http-index file format IIRC). That would be the most generic solution, I suppose. Currently the directory viewer just ignores them. Or do something with onmouseover and the cursor. That doesn't seem like good UI either? My gopher patches (dougt: #49334 - I got your vacation autoresponder) add a status bar update with the current url being displayed - "no files found" could be appended, or something, but I don't see how to add that easily. I'm not sure that thats good UI either, although it could be used in addition to something else. Alternately the fact that the twisty is down and not loading and nothing is showing could be a large clue as well :) That doesn't mean that the directory is empty though, it just means that you can't see anything in it.
dougt, wouldn't this require an extra FTP transaction for each directory to determine if the directory has any files in it?
If the twisty of the tree control is "opened", yes, we will have to make a new request. What is your concern here? Robert, no offense taken. I don't care too much about how we indicate to the user that the directory is empty... I care more that we *do* indicate something.
Oh, I thought you were going to make it so that the twisty wouldn't even appear if the directory was empty. So, you're suggesting that an empty directory that's been `opened' would appear as follows... > closed_folder v opened_empty_folder *empty* > closed_folder_2 If so, that seems weird to me. Isn't that what the twisty is for?
I think a twisty indicates a container - empty or otherwise.
Target Milestone: --- → Future
Blocks: 97358
Directory Viewer bugs - Reassigning to XPApps / bryner@netscape.com
Assignee: dougt → bryner
Component: Networking: FTP → XP Apps
-> bbaetz
Assignee: bryner → bbaetz
dirviewer triage.
Priority: -- → P3
Target Milestone: Future → mozilla0.9.6
xul viewer -> 0.9.7
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Given the <tree>-><listbox> changes, which mean that <tree> will become <outliner> automatically (and my current time constraints), I'm going to push this off for the moment. 0.9.8 is out for me, so that means 0.9.9 The bugs being changed this way either require <outliner> support, or would be a lot easier with such support
Target Milestone: mozilla0.9.7 → mozilla0.9.9
OK, moving all XUL dirviewer bugs to post 1.0. I don't want to be doing this, but there are only so many hours in the day. These will be taken earlier if someone submits a patch, or I find time.
Target Milestone: mozilla0.9.9 → mozilla1.0.1
Following the roadmap, 1.0.1 is a maintenance release, so pushing off features (xul direviewer) to 1.1
Target Milestone: mozilla1.0.1 → mozilla1.1
xul dirviewer bugs -> 1.2. I have no time..
Target Milestone: mozilla1.1alpha → mozilla1.2alpha
Whiteboard: [xul dirviewer]
Product: Core → Mozilla Application Suite
Assignee: bbaetz → jag
Priority: P3 → --
QA Contact: tever
Target Milestone: mozilla1.2alpha → ---
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state. If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way. If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar). If no action happens within the next few months, we move this bug report to an EXPIRED state. Query tag for this change: mass-UNCONFIRM-20090614
MASS-CHANGE: This bug report is registered in the SeaMonkey product, but still has no comment since the inception of the SeaMonkey project 5 years ago. Because of this, we're resolving the bug as EXPIRED. If you still can reproduce the bug on SeaMonkey 2 or otherwise think it's still valid, please REOPEN it and if it is a platform or toolkit issue, move it to the according component. Query tag for this change: EXPIRED-20100420
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.