-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Context Menu Slow to Open #2527
Comments
How about using a Would that cause any problems? |
I can reproduce it. But IMHO it is more a bug or misbehaviour than a new feature. |
Some findings on this. I've added a stopwatch in a couple of checkpoints to see what is taking the longest:
More than 80% of the time is taken by the single line QueryContextMenu and the time taken by it varies greatly from a few milliseconds to more that two seconds. Anything above ~800ms is perceivable as a delay. Showing the basic items first and then adding the other items after the menu is shown is currently impossible as with MenuFlyout all the menu items needs to be added before the menu is shown. |
If I can assist with solving this issue by any means please let me know. |
This should be included in work done in #4180 |
Can't we improve performance by hiding no-needed items? |
I think this just make sense when you select a file. In the normal explorer we have different entries for File, Folder and nothing is selected. |
This issue should be resolved in |
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When I right click on a file item the right click context menu takes at least a few seconds, which is considerably slower than native File Explorer and frequently interrupts my flow of using this app, making it unusable for me.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I want it to show context menu as soon as possible, and if need be, load additional context menu items asynchronously, that way items that should be readily available (cut, copy paste) don't need to wait for context items that need more time to load in.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Using native file explorer.
Additional context
Add any other context or screenshots about the feature request here. Ex: What device type/UI layout and app version?
This is my context menu for reference
The text was updated successfully, but these errors were encountered: