You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We found that the ui:CommandBar.SecondaryCommands refused to work in the following scenario:
Log in the system with a standard user who has no admin privilege;
Create an application with a button or menu or something else that could be clicked;
In the clicked event handler, create a new window: public partial class TestWindow : Window
In the newly created window create one or more commands in the ui:CommandBar.SecondaryCommands;
In one command handler, bind an external script which requires admin privilege will be executed;
Run the application with non-admin user;
Click the ... then click the command which has been bound an external script in step TabControl Styling #5 to execute it;
The system dialog will be popped up to require admin privilege;
Dismiss the dialog by clicking "No", or provide admin credentials;
Click the ... again;
We expected that the commands will be shown in step #10. Unfortunately, nothing is shown.
The issue isn't observed when the host machine is logged in with admin, or the application is run as administrator.
This issue is also not observed if the script in step #5 is executed in the application main window in step #2 instead of the new window in #3.
Any suggestion/thought?
Thanks very much!
The text was updated successfully, but these errors were encountered:
Hi experts,
We found that the ui:CommandBar.SecondaryCommands refused to work in the following scenario:
public partial class TestWindow : Window
We expected that the commands will be shown in step #10. Unfortunately, nothing is shown.
The issue isn't observed when the host machine is logged in with admin, or the application is run as administrator.
This issue is also not observed if the script in step #5 is executed in the application main window in step #2 instead of the new window in #3.
Any suggestion/thought?
Thanks very much!
The text was updated successfully, but these errors were encountered: