Closed
Bug 75391
Opened 24 years ago
Closed 23 years ago
TODO list for folder pane outliner
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: janv, Assigned: janv)
References
Details
No description provided.
Assignee | ||
Comment 1•24 years ago
|
||
Ok so here is list of remaining functions:
commandglue.js
- SortFolderPane()
mail3PaneWindowCommands.js
- FillInFolderTooltip()
messengerdnd.js
- all
msgMail3PaneWindow.js
- PerformExpandForAllOpenServers()
- GetSelectedFolder()
- FolderPaneOnClick()
- FolderPaneDoubleClick()
widgetglue.js
MsgEmptyTrash()
MsgCompactFolder()
Next, we need define new style rules for folder outliner.
And I don't know yet how we will store informations about each folder
(sort key, sort direction, scroll position, etc)
Assignee | ||
Comment 2•24 years ago
|
||
Question probably for waterson...
Now I can do this:
<outliner>
<outlinercol id="folderNameCol" flex="1" primary="true"/>
<outlinerbody id="folderOutlinerBody" flex="1"
datasources="rdf:null">
<template>
<outlinerrow uri="...">
<outlinercell ref="folderNameCol"
label="rdf:http://home.netscape.com/NC-rdf#FolderTreeName"
properties="rdf:http://home.netscape.com/NC-rdf#IsServer"/>
</outlinerrow>
</template>
</outlinerbody>
</outliner>
outlinerbody:-moz-outliner-image(folderNameCol, true) {
list-style-image: url("chrome://messenger/skin/server-mail.gif");
}
but I would like:
outlinerbody:-moz-outliner-image(folderNameCol, isServer) {
list-style-image: url("chrome://messenger/skin/server-mail.gif");
}
Is it possible without touching folder datasource code ?
Assignee | ||
Comment 3•24 years ago
|
||
Log from irc:
*hwaara* this is what we need done (please add things), some may already be
+done:
*hwaara* * Hook up selection so it loads the folder
*hwaara* * Hook up image loading
*hwaara* * Fix it so we display a newmail icon on the folder/inbox if it has
+new mail
*hwaara* * Make doubleclicking work
*hwaara* * Fix DND of folders and to folders (with messages)
*hwaara* * Hook up stuff like SpecialFolders (this was previously done by
+accessing RDF)..
Assignee | ||
Comment 4•24 years ago
|
||
Folder images should be fixed now.
Answer for my previous question:
properties="isServer-rdf:http://home.netscape.com/NC-rdf#IsServer"
outlinerbody:-moz-outliner-image(folderNameCol, isServer-true) {
list-style-image: url("chrome://messenger/skin/server-mail.gif");
}
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•24 years ago
|
||
I forgot to notice, images work only with Classic theme
Assignee | ||
Comment 6•24 years ago
|
||
Someone can fix Modern.
Assignee | ||
Comment 7•24 years ago
|
||
Folder tooltips now work.
Assignee | ||
Comment 8•24 years ago
|
||
Persistence now works too.
Assignee | ||
Comment 9•24 years ago
|
||
Images in Modern fixed.
Comment 10•24 years ago
|
||
Yes it is. I also hooked up all the other style attributes, so folders
containing new messages are bold (and all that).
The folderpane is now working properly in Modern.
Jan, will you fix Classic for all platforms? As far as I could see, you only
fixed Windows.
Assignee | ||
Comment 11•24 years ago
|
||
We only need rewrite mac/folderPane.css in Classic
Assignee | ||
Comment 12•24 years ago
|
||
I rewrote mac/folderPane.css. Someone should test it.
Assignee | ||
Comment 13•24 years ago
|
||
dnd - roughly fixed
Comment 14•23 years ago
|
||
nbaca, this bug would block your "folder pane not redrawing" bug.
Comment 15•23 years ago
|
||
Now the UI looks almost exactly as usual - we fixed the rowheight and aligning
of icons. I'm using it as dogfood now, and it works quite smooth with only a few
glitches.
Comment 16•23 years ago
|
||
bienvenu might be fixing the peristence issue for you as part of another bug.
Comment 17•23 years ago
|
||
I'm adding the ability to store sort order, sort type, view type, and view flags
in the db - this work is orthogonal to your outliner work - I'll be removing the
persistence of these from the existing tree code and adding js code to get and
set these values. That work is covered in bug 12896. But we'll still need a way
to persist the expand/collapse state of each parent folder so that it is
remembered across sessions. One way would be use MSG_FOLDER_FLAG_ELIDED and
set/clear that flag on the nsIMsgFolder when we collapse/expand folders, but
Seth was talking about needing some generic way to persist this from the
outliner (other than localstore.rdf, or I won't be able to fix 12896).
Comment 18•23 years ago
|
||
right, it seems like this would be a generic problem for all rdf-outliners.
bryner, did you have to deal with this for the new file picker, or is that not
using the file datasource?
Assignee | ||
Comment 19•23 years ago
|
||
Ok, but I thought that we want generic way to store attributes.
Comment 20•23 years ago
|
||
Not sure who you're responding to, Jan, but a generic way to store attributes
would be fine - however, if it uses localstore.rdf, we can't use it for the
folder pane if we want to fix bug 12896. And I've been told that's a very high
priority bug so I'm trying to fix that ASAP.
Assignee | ||
Comment 21•23 years ago
|
||
Now I understand.
So persistence in this special case will be fixed using message database to
avoid touching localstore.rdf.
Sounds good.
Thanks.
Assignee | ||
Comment 22•23 years ago
|
||
All items of this bug fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 23•23 years ago
|
||
Are we thinking of trying to land this branch for .9.2?
Comment 24•23 years ago
|
||
bienvenu, 73865 is the real bug. this was just for us to plot down our notes.
Since you guys have marked this fixed, and it's just a "note-taking" bug, there
is no harm in verifying. Besides, this is planned on beginning the reviewal
process this Monday the 16th of July. Verified.
Status: RESOLVED → VERIFIED
QA Contact: esther → stephend
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•