files-community / Files

Building the best file manager for Windows
https://files.community
MIT License
32.89k stars 2.1k forks source link

Command bar 'New' button flyout menu position #15709

Closed froggz19 closed 4 days ago

froggz19 commented 4 days ago

What feature or improvement do you think would benefit Files?

UI consistency?

Requirements

In file explorer, this flyout is shown below the button by default and above the button only when it goes out of screen bounds. Files seems to show this flyout menu above the button by default. If possible, can you make it behave the same as in file explorer?

The glyph on the button points down so I would expect the flyout to be shown under the button by default.

Files Version

3.5.0.0

Windows Version

10.0.22631.3810

Comments

image

yaira2 commented 4 days ago

This is due to the position of the window, if you move the Files higher up on the screen, the flyout will open downwards.

froggz19 commented 4 days ago

I know but in Files this behavior is reversed. It is always shown above even when there's plenty of space to show it below the button.

froggz19 commented 4 days ago

Yes but that only because the window is close to the top screen edge... As you can see in the pic below, there's plenty of space to be shown under the button.

image

yaira2 commented 4 days ago

Actually, correction, I was looking in the wrong place and we can set the preferred placement after all. I'm working on a fix for the next release.

froggz19 commented 4 days ago

Nice to hear that. My english sucks and I did my best trying to explain the issue. (It's not really an issue but still)

yaira2 commented 4 days ago

No worries! I understood the issue right away but I mistakenly thought it was a bug in the WinUI framework.