Closed
Bug 463786
Opened 16 years ago
Closed 16 years ago
selecting folder gives eternal spinning pointer if delete button not on toolbar
Categories
(Thunderbird :: Mail Window Front End, defect)
Thunderbird
Mail Window Front End
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3.0b1
People
(Reporter: tuukka.tolvanen, Assigned: jminta)
References
Details
Attachments
(2 files)
920 bytes,
patch
|
philor
:
review+
|
Details | Diff | Splinter Review |
1.92 KB,
patch
|
standard8
:
review-
|
Details | Diff | Splinter Review |
thunderbird trunk 2008-11-08-10Z steps: A1. customize toolbar, add delete button if not present, restart A2. click on folder with unread -> no persistent spinner pointer A3. press N -> an unread message is selected B1. customize toolbar, remove delete button, restart B2. click on folder with unread -> persistent spinner pointer B3. press N -> ...uh, I could have sworn this didn't work last time Anyhow, I do get that persistent waiting pointer when folder is selected, if I have no delete button on the toolbar. No errors on console besides a "Duplicate resource declaration for 'gloda'" and "Timed textboxes are deprecated". Also, some actions (like selecting Trash for the first time? these pop up slightly randomly while going through and deleting messages) give this error: Error: deleteButton is null Source File: chrome://messenger/content/mailWindowOverlay.js Line: 1885
Reporter | ||
Comment 1•16 years ago
|
||
regressed at http://hg.mozilla.org/comm-central/rev/da8475453ed5 bug 440616 for both the persistently spinning pointer and the error on selecting trash (although the latter is not entirely reliable)
Blocks: 440616
Assignee | ||
Comment 2•16 years ago
|
||
I forgot about the potential for people to remove this button. This will at least fix the errors.
Reporter | ||
Comment 3•16 years ago
|
||
that seems to fix both issues.
Comment 4•16 years ago
|
||
r=me, if Phil doesn't get to this soon and you want to check in the fix.
Updated•16 years ago
|
Attachment #347063 -
Flags: review?(philringnalda) → review+
Assignee | ||
Comment 5•16 years ago
|
||
Pushed as rev e7a3766328c9.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
OS: Linux → All
Hardware: PC → All
Target Milestone: --- → Thunderbird 3.0b1
Assignee | ||
Comment 6•16 years ago
|
||
Attachment #348310 -
Flags: review?(bugzilla)
Comment 7•16 years ago
|
||
Comment on attachment 348310 [details] [diff] [review] mozmill test >diff -r c1b539eb4588 mail/base/test/test_bug463786.js Please locate in mail/tests/mozmill >+var MC = new controller.MozMillController(mainWindow); nit: only one space between var and MC. >+ let button = MC.window.document.getElementById("button-delete"); >+ let parent = button.parentNode; >+ // remember where it is so we can put things back >+ var index = -1; >+ for (let i = 0; i < parent.childNodes.length; i++) { >+ if (parent.childNodes[i] == button) { >+ index = i; >+ break; >+ } >+ } >+ parent.removeChild(button); This sequence doesn't work as you expect - the tests still passes if I back out the patch that fixed it. >\ No newline at end of file Please fix.
Attachment #348310 -
Flags: review?(bugzilla) → review-
You need to log in
before you can comment on or make changes to this bug.
Description
•