Microsoft-ui-xaml: Unable to click and drag on MenuBar to show drop down and release on item to select item

Created on 6 Jun 2019  路  9Comments  路  Source: microsoft/microsoft-ui-xaml

Describe the bug

In various non-UWP apps (easiest examples being Chrome, Firefox and Control Panel), I'm able to click on a MenuBar item and then the menu would show up automatically and then I can keep holding and drag on an item to select it.

Steps to reproduce the bug

Steps to reproduce the behavior:

  1. Go to 3D Viewer
  2. Click on Help and don't let go
  3. Drag mouse down to Settings (easiest on mouse or touchpad)
  4. Release

Expected behavior

You would see 3D Viewer settings.

Version Info

NuGet package version:
Unsure


| Windows 10 version | Saw the problem? |
| :--------------------------------- | :-------------------- |
| May 2019 Update (18362) |Yes |
| October 2018 Update (17763) |Yes |


| Device form factor | Saw the problem? |
| :-------------------- | :------------------- |
| Desktop |Yes|

Additional information
These are a little similar to this if you don't understand what I'm saying: https://github.com/flutter/flutter/issues/5064
https://github.com/mozilla-mobile/reference-browser/issues/420

area-Menus bug needs-winui-3 team-Controls

Most helpful comment

This is how win32 menus have worked for a long time and WPF did work to match that behavior. We should do this in XAML too.

All 9 comments

Interesting! I never knew I could do this on Chrome 馃槃. I think this is more a feature request than a bug? You mentioned that this can be done in Control Panel too, could you describe where you can do this?

This is how win32 menus have worked for a long time and WPF did work to match that behavior. We should do this in XAML too.

I think poopooracoocoo is talking about when you press the alt key in control panel. Love the name lmao

You can see this pretty much anywhere: e.g. notepad (Win32), Visual Studio (WPF).

It even works in VS Code which uses Chromium/Electron

Does this have anything to do with accessibility? Would this also work with touch like the two issues I linked to above?

Yes, it should work with touch. I don't believe this breaks any accessibility guidelines but it does make our menus feel unfamiliar to users who are used to this behavior, so it's something we should fix.

so i noticed that this happens in the ribbon of file explorer too. probs happens in many other places

Edit: so not only do native things have this but even websites like Google Drive do...

This is how all Win32 apps were designed. Windows as had this as long as I remember (and I've been using Windows since 3.1) It should be treated as a bug if UWP doesn't have it. UWP should have it as well.

It would greatly benefit touch users as well as they could tap and hold and let go on the menu item of their choice.

Was this page helpful?
0 / 5 - 0 ratings