Closed Bug 349049 Opened 13 years ago Closed 6 years ago

subscribe to feed cancel confirmation dialog (sheet) comes up after parent window closed


(MailNews Core :: Feed Reader, defect, minor)

Not set


(Not tracked)

Thunderbird 24.0


(Reporter: asa, Assigned: alta88)



(2 files)

A user can close the subscribe to a feed window and end up with a parentless confirmation dialog. 

1. attempt to subscribe to a feed we can't parse.
2. while the subscribe window is stalled confirming the feed, close the subscribe window.
3. wait a few seconds.

Results: you get a "Are you sure you wish to cancel subscribing" confirmation dialog that's missing it's parent so it's just an immovable floating sheet that's not modal to anything (and so can get easily lost behind the main mail window).

Expected results:  When you attempt to close the subscribe window, you should get a window modal confirmation dialog (sheet) first and only after selecting "Yes", should the subscribe window be torn down.  Selecting "No" should return you to the subscribe window.
This is tested with today's UB Thunderbird 2 build on an Intel Mac.
Assignee: mscott → nobody
Severity: normal → minor
the code doesn't even have anything in place to actually cancel either, so it's a false dialog.
Component: Mail Window Front End → Feed Reader
OS: Mac OS X → All
Product: Thunderbird → MailNews Core
Hardware: x86 → All
Version: 2.0 → unspecified
Attached patch patchSplinter Review
fix the premature dialog close and make cancel work.
Attachment #760209 - Flags: review?(mkmelin+mozilla)
Comment on attachment 760209 [details] [diff] [review]

Review of attachment 760209 [details] [diff] [review]:

Looks good, thx. r=mkmelin
Attachment #760209 - Flags: review?(mkmelin+mozilla) → review+
Assignee: nobody → alta88
Keywords: checkin-needed
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 24.0
You need to log in before you can comment on or make changes to this bug.