Opened 5 years ago

#14739 new bug

Mail won't be "Left as 'New'"

Reported by: humdinger Owned by: czeidler
Priority: normal Milestone: Unscheduled
Component: Applications/Mail Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev52597, 32bit.

I'm fetching my mail via IMAP. When I open a new mail and choose "Close > Leave as 'New'", Mail closes, but the status as set as "Read".

I made sure the unopened email has the MAIL:status "New". I built Mail with debugging and found that when the mail file is read, the flag is set as "B_READ" for some reason, see MainWindow.cpp:260ff.

Consequently, the if (flag == B_UNREAD) isn't executed and the BMessage kMsgQuitAndKeepAllStatus won't be sent.

Now, why is the flag set to B_READ when the status attribute says "New"?

Change History (0)

Note: See TracTickets for help on using tickets.