microsoft/calculator

App icon in titlebar mouse behavior incorrect

Opened this issue · 3 comments

Windows app guidelines specify the application icon in the titlebar should close the window when double-clicked and bring up the context menu when single-clicked. You can see this behavior with Notepad, but not with Calculator.

Steps To Reproduce

  1. Open up Calculator
  2. Click on app icon in title:
Image
  1. Actual: Nothing

Expected behavior

  1. Single-click: see context menu, like notepad:
Image
  1. Double-click: close app

Additional context
I just learned about this design part of Windows, came about with me learning about it from the WinUI bug here: microsoft/microsoft-ui-xaml#9907

I just checked this on the latest version of the Calculator app, and I'm able to reproduce it.

I can try and fix it

@michael-hawker can you please update the labels, and assign it to me?

@tapanmeena I'm not an owner of this repo, I don't have the ability to do that. I just filed the issue. @grochocki is this something you can help with or know who can?