Closed
Bug 1498588
Opened 7 years ago
Closed 7 years ago
Select all not working when Lightning enabled version 63 beta 1 released October 11th, 2018
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
6.6
People
(Reporter: dennism2005, Assigned: darktrojan)
References
Details
Attachments
(1 file, 2 obsolete files)
|
2.16 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36
Steps to reproduce:
Attempted to use Ctrl-A to select all messages in my Inbox. When it did not work I tried Edit/Select/All which didn't work either. I got the same results with other folders.
Actual results:
After Thunderbird 63 beta 1 released October 11th, 2018 was installed Ctrl-A or Edit/Select/All does not select all messages in a folder unless the Lightning extension is disabled. When I noticed the problem I ran Thunderbird with add-ons disabled and everything worked fine. By disabling add-ons one at a time I found Lightning was causing it.
Expected results:
All messages in the folder should have been selected with Ctrl-A or Edit/Select/All.
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → Mail Window Front End
Ever confirmed: true
| Assignee | ||
Comment 2•7 years ago
|
||
Oh boy, command controllers! My favourite how-is-that-supposed-to-work mystery. I have two ways of fixing this, one is a hack, and the other I prefer but I'm not sure if it breaks any number of unrelated things.
Flags: needinfo?(geoff)
| Assignee | ||
Comment 3•7 years ago
|
||
I think this is right for all commands handled by the calendar controller. I had a green Try run with this patch, but IMO that doesn't prove it's fault-free. Alternatively we could just hard-wire the specific case for cmd_selectAll.
Comment 4•7 years ago
|
||
Comment on attachment 9017369 [details] [diff] [review]
1498588-cmd-selectall-1.diff
Review of attachment 9017369 [details] [diff] [review]:
-----------------------------------------------------------------
Not a fan of hard-wiring, if this improves the situation lets give it a try.
::: calendar/base/content/calendar-common-sets.js
@@ +788,5 @@
> // we leave the current thread in order to re-enter the message loop.
>
> let tbController = top.DefaultController;
> if (tbController) {
> + calendarController.defaultController = document.getElementById("tabmail");
If we are using tabmail always here, might as well get rid of the tbController variable.
Attachment #9017369 -
Flags: review?(philipp) → review+
| Assignee | ||
Comment 5•7 years ago
|
||
Good, that gets rid of the setTimeout too. I never did like that.
Attachment #9017369 -
Attachment is obsolete: true
Attachment #9018082 -
Flags: review+
| Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment 6•7 years ago
|
||
Comment on attachment 9018082 [details] [diff] [review]
1498588-cmd-selectall-2.diff
Review of attachment 9018082 [details] [diff] [review]:
-----------------------------------------------------------------
::: calendar/base/content/calendar-common-sets.js
@@ +784,5 @@
> // gets installed by thunderbird. Since we get called pretty early
> // during startup we need to install the function below as a callback
> // that periodically checks when the original thunderbird controller
> // gets alive. Please note that setTimeout with a value of 0 means that
> // we leave the current thread in order to re-enter the message loop.
Can you adjust this comment as well, please.
| Assignee | ||
Comment 7•7 years ago
|
||
Yeah, oops, that comment's a load of garbage now.
Attachment #9018082 -
Attachment is obsolete: true
Attachment #9018176 -
Flags: review+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/855ce13ec8f9
Pass commands on to the tabmail controller if calendar is not the active tab. r=philipp DONTBUILD
Updated•7 years ago
|
Target Milestone: --- → Thunderbird 64.0
Updated•7 years ago
|
Component: Mail Window Front End → General
Product: Thunderbird → Calendar
Target Milestone: Thunderbird 64.0 → 6.6
Version: 63 → Lightning 6.5
Updated•7 years ago
|
Attachment #9018176 -
Flags: approval-calendar-beta?(philipp)
Comment 11•7 years ago
|
||
Comment on attachment 9018176 [details] [diff] [review]
1498588-cmd-selectall-3.diff
Too late for 63/6.5 beta now.
Attachment #9018176 -
Flags: approval-calendar-beta?(philipp)
| Reporter | ||
Comment 12•7 years ago
|
||
64.0b1 allows select all but the Archive and Delete buttons are dimmed but do work.
| Assignee | ||
Comment 13•7 years ago
|
||
Yes we know, thank you, that is bug 1501101.
You need to log in
before you can comment on or make changes to this bug.
Description
•