Closed Bug 2041822 Opened 5 months ago Closed 5 months ago

Missing support for background sending in CompleteGenericSendMessage() with mailnews.sendInBackground true

Categories

(MailNews Core :: Composition, defect)

Thunderbird 152
Unspecified
All
defect

Tracking

(thunderbird152 fixed, thunderbird153+ fixed)

VERIFIED FIXED
153 Branch
Tracking Status
thunderbird152 --- fixed
thunderbird153 + fixed

People

(Reporter: yury_ivanovich, Assigned: mkmelin)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 external file)

Thanks for filing the bug report and finding the regression. Removed/changed one line too many?

Also, we must be missing tests for compose with mailnews.sendInBackground=true. I wonder if anything else is broken.

Lastly, it reproduces in troubleshoot mode, where mailnews.sendInBackground shows as true. Shouldn't non-default default settings be enforced in troubleshoot mode?? Or does that only apply for settings that have UI with defaults?

Flags: needinfo?(mkmelin+mozilla)
OS: Unspecified → All
Summary: Missing support for background sending in CompleteGenericSendMessage() → Missing support for background sending in CompleteGenericSendMessage() with mailnews.sendInBackground true

With mailnews.sendInBackground=false I minimally tested mailnews.show_send_progress=false (the default is true). progress=false is typically used mailnews.sendInBackground=true. It appears to work correctly.

Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED

(amended) comment 1 should read "Shouldn't default settings be enforced in troubleshoot mode??"

I don't think troubleshoot mode applies default settings.

Flags: needinfo?(mkmelin+mozilla)
Target Milestone: --- → 153 Branch

Pushed by edicharry@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/6a79df5be9c5
Close compose window also for background sending in CompleteGenericSendMessage() with mailnews.sendInBackground true. r=babolivier

Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED

Comment on attachment 9589343 [details]
Bug 2041822 - Close compose window also for background sending in CompleteGenericSendMessage() with mailnews.sendInBackground true. r=#thunderbird-reviewers

Uplift Approval Request

  • Please state case for uplift consideration and ensure bug severity is set: Regression
  • User impact if declined: Compose window wouldn't close after send, with the pref set
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Daily?: Yes
  • Has the fix been verified in Beta?: No
  • Needs manual test from QA?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Confined change, has a test
  • Does the fix cause any migrations to be skipped?: No
  • String changes made/needed: none
Attachment #9589343 - Flags: approval-comm-beta?

Comment on attachment 9589343 [details]
Bug 2041822 - Close compose window also for background sending in CompleteGenericSendMessage() with mailnews.sendInBackground true. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9589343 - Flags: approval-comm-beta? → approval-comm-beta+
Duplicate of this bug: 2036126

Confirming this issue as verified fixed with 154.0a1(20260712081932) and 153.0b7(20260708174053). Verified using macOS 15/26, Win11 and Ubuntu 24.

Status: RESOLVED → VERIFIED

Bulk added status-thunderbird-esr153=affected where only status-thunderbird153=affected was set.

Target milestone already v153

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: