Closed Bug 497338 Opened 15 years ago Closed 15 years ago

After upgrade, folders whose view mode was set to "Unread" display "0" instead.

Categories

(Thunderbird :: Folder and Message Lists, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0rc1

People

(Reporter: wsmwk, Assigned: Bienvenu)

References

(Blocks 1 open bug)

Details

(Keywords: regression, Whiteboard: [no l10n impact])

Attachments

(1 file)

with tryserver build for  Bug 474701

view shows as 0, expected All.
I don't see after having changed the view and restart, so perhaps happens only on first startup with tryserver build.

** littlebird theme on laptop
This is actually an improvement against trunk and not a regression.  Trunk shows "undefined" in the same situation.  Having said that, it is a bug :)
Flags: blocking-thunderbird3+
It's possible that this didn't regress by the hand of your bug (though I still have the feeling that the refactoring changed the times when this gets hit), but it certainly is a regression from a month or two ago.
just happen after my first entry into a newsgroup after having deleted panacea.dat, whose view *I think* was "unread" - uncertain. changed to all and all is well
Keywords: regression
This was glaringly obvious for a days after the initial landing, but shortly after that some kind of fix landed, and I don't think I've seen it since.  I suspect this wants to be closed as WORKSFORME, but Wayne can make that call.  Unless we have some reason to believe that this happens often, I don't think it would really block Thunderbird3, so minusing for now.  Feel free to make the case that that's wrong and renominate.
Flags: blocking-thunderbird3+ → blocking-thunderbird3-
Whiteboard: closeme
(In reply to comment #4)
> This was glaringly obvious for a days after the initial landing, but shortly
> after that some kind of fix landed, and I don't think I've seen it since.  

hopefully asuth or someone knows more ... I continue to find folders with view at 0.  But once changed then that folder is good.
It would be nice to find exact steps to reproduce here; adding qawanted.  If this is going to happen for every Tb2 user who uses views, this probably wants to be renominated to block.
Keywords: qawanted
Whiteboard: closeme
I have no idea :)  sorry to pass the buck
This was one of the more annoying bugs i found going from b2->b3 with a profile.

The STRs are quite easy:
 1) start with a build from say 2009-06-03
 2) set the view for a folder to Unread
 3) close
 4) start with a current build

Then observe - the view shows "0"

Regressed 2009-06-12 -> 2009-06-13
Severity: minor → major
Flags: blocking-thunderbird3- → blocking-thunderbird3?
Keywords: qawanted
OS: Windows Vista → All
Hardware: x86 → All
Summary: view shows as 0, expected All → view shows as 0, expected Unread
sounds like it'll hit a lot of upgraders.  approving blocking.
Flags: blocking-thunderbird3? → blocking-thunderbird3+
Whiteboard: [no l10n impact]
Summary: view shows as 0, expected Unread → After upgrade, folders whose view mode was set to "Unread" display "0" instead.
Target Milestone: --- → Thunderbird 3.0rc1
it's not just that the view label is set to 0, it doesn't display the unread messages view either, which is much more annoying than I understood it to be.
Status: NEW → ASSIGNED
Assignee: nobody → bienvenu
Attached patch proposed fixSplinter Review
this fixes it for me - 2.0 sets "current-view" and "current-view-tag" to "0" for all and "1" for the unread view, so we need to check for both "0" and "1" when migrating views.

Asuth should probably look at this when he gets back to make sure, but this seems to work fine for me.
Attachment #403282 - Flags: review?(mkmelin+mozilla)
Whiteboard: [no l10n impact] → [no l10n impact][has patch for review mkmelin]
Attachment #403282 - Flags: review?(mkmelin+mozilla) → review+
Comment on attachment 403282 [details] [diff] [review]
proposed fix

Looks to be working. Could use a code comment though! r=mkmelin
I added a comment before pushing.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Whiteboard: [no l10n impact][has patch for review mkmelin] → [no l10n impact]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: