Skip to content

feat(notification): replace MessageBox with Windows toast notifications #4

Closed

Description

@CalvinAllen

Summary

Replace the current MessageBox.Show() notification with Windows toast notifications for a less intrusive experience.

Motivation

The current MessageBox:

  • Steals focus from other applications
  • Blocks interaction until dismissed
  • Can be disruptive when multitasking

Toast notifications would:

  • Appear in the bottom-right corner without stealing focus
  • Auto-dismiss after a few seconds
  • Allow clicking to bring VS to foreground
  • Be visible even when VS is minimized

Implementation

Use Microsoft.Toolkit.Uwp.Notifications NuGet package:

new ToastContentBuilder()
    .AddText("Breakpoint Hit!")
    .Show();

Settings

Add a toggle option for notification style:

  • MessageBox (current behavior)
  • Toast notification
  • Both (for users concerned about Windows DND mode suppressing toasts)

Considerations

  • Need to add NuGet package dependency
  • Could include action buttons ("Dismiss" / "Go to Breakpoint")
  • Should work on Windows 10/11

Activity

  1. added
    enhancement
    on Dec 22, 2025
  2. changed the title [-]Replace MessageBox with Windows toast notifications[/-] [+]feat(notification): replace MessageBox with Windows toast notifications[/+] on Dec 22, 2025
  3. self-assigned this
    on Jan 6, 2026
  4. added a commit that references this issue on Jan 12, 2026
    28c77f5
  5. added a commit that references this issue on Jan 12, 2026
    40b03e1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions