Closed
Bug 1564270
Opened 6 years ago
Closed 6 years ago
After inserting background image, dialogue needs to be OK'ed twice
Categories
(Thunderbird :: Message Compose Window, defect)
Thunderbird
Message Compose Window
Tracking
(thunderbird68+ fixed, thunderbird69 fixed, thunderbird70 fixed)
RESOLVED
FIXED
Thunderbird 70.0
People
(Reporter: jorgk-bmo, Assigned: darktrojan)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
1.54 KB,
patch
|
jorgk-bmo
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
STR:
Start a new message.
Format > Page Color and Background.
Select a image from disk.
Hit OK. Image fills the background.
Hit OK again, panel dismissed.
Looks like some fallout from the accept dialogue changes.
Flags: needinfo?(geoff)
| Assignee | ||
Comment 1•6 years ago
|
||
What a strange piece of code.
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Flags: needinfo?(geoff)
Attachment #9076688 -
Flags: review?(jorgk)
| Reporter | ||
Comment 2•6 years ago
|
||
Comment on attachment 9076688 [details] [diff] [review]
1564270-page-background-1.diff
Review of attachment 9076688 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for looking into this quickly, just a question.
::: editor/ui/dialogs/content/EdColorProps.js
@@ +401,5 @@
> });
> File.createFromNsIFile(nsFile).then(file => {
> reader.readAsDataURL(file);
> });
> + if (event) {
Is this test necessary? Is it ever called with null/undefined?
@@ +419,2 @@
> }
> + if (event) {
And here?
| Reporter | ||
Updated•6 years ago
|
Target Milestone: --- → Thunderbird 70.0
Version: 63 → Trunk
| Reporter | ||
Comment 3•6 years ago
|
||
Comment on attachment 9076688 [details] [diff] [review]
1564270-page-background-1.diff
beta->69
release->68 (for the beta continuation I'll do for a week or so)
Attachment #9076688 -
Flags: approval-comm-release+
Attachment #9076688 -
Flags: approval-comm-beta+
| Reporter | ||
Comment 4•6 years ago
|
||
Comment on attachment 9076688 [details] [diff] [review]
1564270-page-background-1.diff
Review of attachment 9076688 [details] [diff] [review]:
-----------------------------------------------------------------
::: editor/ui/dialogs/content/EdColorProps.js
@@ +397,2 @@
> gDialog.BackgroundImageInput.value = reader.result;
> if (onAccept()) {
Oops, is this recursively calling itself? And not passing event. Should be pass event and lose all the guards you're adding?
| Assignee | ||
Comment 5•6 years ago
|
||
We can go that way if you like, it matters not…
Attachment #9076688 -
Attachment is obsolete: true
Attachment #9076688 -
Flags: review?(jorgk)
Attachment #9076961 -
Flags: review?(jorgk)
| Reporter | ||
Comment 6•6 years ago
|
||
Comment on attachment 9076961 [details] [diff] [review]
1564270-page-background-2.diff
If you don't mind, I prefer this.
Attachment #9076961 -
Flags: review?(jorgk) → review+
| Reporter | ||
Updated•6 years ago
|
Attachment #9076961 -
Flags: approval-comm-release+
Attachment #9076961 -
Flags: approval-comm-beta+
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/5e8c4b40ca6a
Fix UI for setting a message's background image. r=jorgk DONTBUILD
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 8•6 years ago
|
||
TB 69 beta (TB 68 beta coming):
https://hg.mozilla.org/releases/comm-beta/rev/75dffe1c92667a0b883fd6cc4b42aecc891bbb5d
status-thunderbird69:
--- → fixed
status-thunderbird70:
--- → fixed
| Reporter | ||
Comment 9•6 years ago
|
||
TB 68 beta 5:
https://hg.mozilla.org/releases/comm-beta/rev/1595c78e35881b6516a228e355f20405c7432ae6
status-thunderbird68:
--- → fixed
| Reporter | ||
Updated•6 years ago
|
Attachment #9076961 -
Flags: approval-comm-release+
| Reporter | ||
Updated•6 years ago
|
Attachment #9076688 -
Flags: approval-comm-release+
You need to log in
before you can comment on or make changes to this bug.
Description
•