Closed Bug 112512 Opened 23 years ago Closed 23 years ago

Edit Draft button missing

Categories

(MailNews Core :: Composition, defect, P1)

All
Linux

Tracking

(Not tracked)

VERIFIED WORKSFORME
mozilla0.9.8

People

(Reporter: bugzilla, Assigned: ssu0262)

References

Details

(Keywords: regression)

see this using 2001.11.27.12-comm bits on linux --sheela also sees this on
win32, and notes that occurs with both local and imap accounts.

0. make sure you have saved a message as a draft.
1. go to Drafts folder.
2. click on message in thread pane.

expected: should see the "Edit Draft" button in the header region of the message
pane.

result: button is missing.

this is a recent regression, as the button was present in 11/19 builds.
"Edit Draft" is present in 11/20 bits, but missing in 11/26 bits, so the
regression occurred during that period.
Keywords: regression
As stated below the last build edit draft button was noticed is in 11/19
commercial trunk build. Nominating this 
Severity: normal → major
Keywords: nsbeta1
QA Contact: sheelar → esther
*** Bug 112408 has been marked as a duplicate of this bug. ***
reassign to varada despite this part of the code use to be own by candice
Status: NEW → ASSIGNED
the edit draft button is missing because we are no longer setting
gIsEditableMsgFolder to true when we load a drafts folder. It appears that:

OnItemEvent: function(folder, event) in msgMail3PaneWindow.js is no longer
getting called when we load a folder like the drafts folder. Or rather it's not
getting far enough in that routine to set gIsEditableMsgFolder any more. My dump
statement in this routine around:

                 if (gDBView) {
                   gDBView.suppressCommandUpdating = false;
                 }

                 gIsEditableMsgFolder = IsSpecialFolder(msgFolder,
MSG_FOLDER_FLAG_DRAFTS);

is never getting printed out. 



Keywords: nsbeta1nsbeta1+
Priority: -- → P1
I think JF meant to re-assing this to varada. Doing that for real for him. 
Assignee: ducarroz → varada
Status: ASSIGNED → NEW
Almost the exact opposite behaviour is happening in Linux 2001120512.  "Edit
Draft..." is showing up in every message in every folder, including "Drafts".
odd, i still don't see the Edit Draft button with 2001.12.05.15-comm bits on
linux rh7.2...
Sorry, I missed the "-comm" suffix--this is a -sea build from
<ftp://ftp.mozilla.org/pub/mozilla/nightly/>.
Commercial bits: 2001-12-06-06

Edit draft button is available on newly created messages on both imap and local
draft folder on mac os X and win98.  
If you click on existing messages you still would not see the edit draft button.
But after you compose a new message and save as draft. Click on the newly saved
message in draft folder.  Edit draft button is available.  And later selecting
other messages which did not display edit draft button will display the button now.

However, on today's build on linux I still was not able to get back the edit
draft button even after the above mentioned workaround.  
*** Bug 114388 has been marked as a duplicate of this bug. ***
changing the platform based on comments. 
OS: All → Linux
reassigning to ssu.  FWIW, on the 1/2 build on Win NT, I'm seeing the Edit Draft
button.
Assignee: varada → ssu
Target Milestone: --- → mozilla0.9.9
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.9 → mozilla0.9.8
i also see the return of the Edit Draft button [2002.01.02.08 comm linux].
sheela, should is this now wfm, or is there a recipe that still exhibits this bug?
I still see the button for a both an IMAP and Local Drafts folder on the 1/10
build.  So, I'm marking WFM.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
vrfy wfm. however, reopen if there's a specific set of steps that makes this
crop up.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.