Closed Bug 29970 Opened 25 years ago Closed 25 years ago

drag & drop or move last message in source folder does not work

Categories

(MailNews Core :: Composition, defect, P3)

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: japj, Assigned: scottputterman)

References

Details

Using the official M14 release I created a new profile. I received some messages. Then I drag & drop a message from the inbox to trash. This is ok if there is still a message left in the inbox. The last message does NOT get transfered to the trashcan.
reassign to putterman
Assignee: ducarroz → putterman
I would probably think that drag/drop of the last message in any folder to another folder would probably fail (?)
lisa: why should it fail? it's like an ordinary move, right?
Richard, yes. I was just commenting that if this bug does exist, it's not particular which folder is the source or destination.
I verified with a some other folders & messages, drag & drop always fails if it's the last message of the source folder
I thought we had a bug where deleting the last message in a folder had problems as well. I wonder if this is the same thing. I can't find that other bug.
QA Contact: lchiang → fenella
Summary: drag & drop last inbox mail to trash does not work → drag & drop last message in source folder does not work
Win32 (2000-03-06-14 M15) Mac (2000-03-06-08 M15) The problem is still there. Drag & drop the last message in source folder fails Linux (2000-03-06-13 M15) Unable to check this problem on linux because of bug 30773.
Lisa, do you mean bug 24456? I think that's about the last message in the list, not if there is only one message in the folder. Anyway, fenella has confirmed this on Windows. On Linux, moving a message (if it's the only one listed in the thread pane) to another folder fails (tested on local folder, not on IMAP cause that crashes), but deleting the last message in the folder works. So I'll mark this NEW.
Status: UNCONFIRMED → NEW
Ever confirmed: true
I wonder if the Move... menu item works for the last message in the source folder.
Since there is no DND on Linux that's what I used to try to move the message. Neither that nor the context menu move worked. I tried this on IMAP now, too, with the same results: move does not work if it's the only message in the folder, although delete does work. This all on Linux build 2000.03.06.09
*** Bug 30236 has been marked as a duplicate of this bug. ***
I try to do Move in POP and IMAP using 3/7 win32 build. it has the same problem.
I have a fix for this. I wasn't checking a null ptr and when it was being accessed it failed and prevented the move/drag and drop from happening. Delete message worked just fine. nice catch.
Status: NEW → ASSIGNED
Summary: drag & drop last message in source folder does not work → drag & drop or move last message in source folder does not work
fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verified on Linux trunk build 2000.30.18.08.
Mac (2000-03-20-11 M15) commercial trunk build This problem is fixed on Mac in POP and IMAP accounts.
Win32 (2000-04-12-06 M15) Both POP and IMAP: This problem is fixed. However, Linux does not work pending bug 29970. Mac: POP works. But IMAP: unable to test due to bug 35656.
I meant: Linux does not work pending bug 27295, not bug 29970.
Linux (2000-04-17-11 M16) Mac (2000-04-17-11 M16) This bug has been fixed on MAC and Linux, both in POP and IMAP accounts.
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.