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

Windows 10 build 14328/14332: UAC dialog redesigned, prompt not announced #5942

Closed
josephsl opened this Issue May 12, 2016 · 2 comments

Comments

Projects
None yet
4 participants
@josephsl
Collaborator

josephsl commented May 12, 2016

Hi,

In Windows 10 build 14328/14332 and later, Microsoft have redesigned User Account Control to become universal app based control. This causes NVDA to not announce UAC description prompt. The workaround is to add the UAC title class name into the UIA support routine that allows controls to be treated as dialogs.

Thanks.

josephsl added a commit that referenced this issue May 12, 2016

UIA/Windows 10 Anniv Update: UAC dialog text is now announced. re #5942
Since Redstone build 14332 or 14328, a redesigned User Account Control (UAC) dialog is present which uses XAML. This commit allows NvDA to detect such modifications, thus allowing UAC prmopt to be announced.

@jcsteh jcsteh added this to the 2016.3 milestone May 12, 2016

@leonardder

This comment has been minimized.

Show comment
Hide comment
@leonardder

leonardder Jul 9, 2016

Collaborator

I came across the following issues.

  1. A Windows error is thrown when you confirm an UAC prompt in certain situations. Str:

    a. Open User Account Control Settings
    b. When level is at 100%, the first prompt will be shown. Press yes.
    c. The error below is generated
    d. When changing the level and pressing ok, you are again on an UAC prompt. Same applies for that one, same error.

DEBUGWARNING - RPC process 5704 (conhost.exe) (15:08:49):
Thread 5448, build\x86_64\remote\ia2Support.cpp, installIA2Support, 86:
Error registering class object, code -2147221008

DEBUGWARNING - winConsoleHandler.connectConsole (15:08:49):
Could not attach console: [Error 1341] The server is currently disabled.
DEBUGWARNING - winConsoleHandler.connectConsole (15:08:49):
Could not attach console: [Error 1341] The server is currently disabled.
ERROR - NVDAObjects.behaviors.Dynamic_IAccessibleWinConsoleWindowNVDAObject._monitor (15:08:49):
Error getting initial lines
Traceback (most recent call last):
  File "NVDAObjects\behaviors.pyc", line 258, in _monitor
  File "NVDAObjects\window\winConsole.pyc", line 49, in _getTextLines
  File "winConsoleHandler.pyc", line 121, in getConsoleVisibleLines
  File "wincon.pyc", line 70, in GetConsoleScreenBufferInfo
WindowsError: [Error 6] The handle is invalid.
  1. The UAC prompts aren't read at all when the level is at 34%

@josephsl, would you be able to fix this in #6072?

Collaborator

leonardder commented Jul 9, 2016

I came across the following issues.

  1. A Windows error is thrown when you confirm an UAC prompt in certain situations. Str:

    a. Open User Account Control Settings
    b. When level is at 100%, the first prompt will be shown. Press yes.
    c. The error below is generated
    d. When changing the level and pressing ok, you are again on an UAC prompt. Same applies for that one, same error.

DEBUGWARNING - RPC process 5704 (conhost.exe) (15:08:49):
Thread 5448, build\x86_64\remote\ia2Support.cpp, installIA2Support, 86:
Error registering class object, code -2147221008

DEBUGWARNING - winConsoleHandler.connectConsole (15:08:49):
Could not attach console: [Error 1341] The server is currently disabled.
DEBUGWARNING - winConsoleHandler.connectConsole (15:08:49):
Could not attach console: [Error 1341] The server is currently disabled.
ERROR - NVDAObjects.behaviors.Dynamic_IAccessibleWinConsoleWindowNVDAObject._monitor (15:08:49):
Error getting initial lines
Traceback (most recent call last):
  File "NVDAObjects\behaviors.pyc", line 258, in _monitor
  File "NVDAObjects\window\winConsole.pyc", line 49, in _getTextLines
  File "winConsoleHandler.pyc", line 121, in getConsoleVisibleLines
  File "wincon.pyc", line 70, in GetConsoleScreenBufferInfo
WindowsError: [Error 6] The handle is invalid.
  1. The UAC prompts aren't read at all when the level is at 34%

@josephsl, would you be able to fix this in #6072?

@michaelDCurran

This comment has been minimized.

Show comment
Hide comment
@michaelDCurran

michaelDCurran Jul 18, 2016

Contributor

That trace back is an unrelated issue. It looks like a Windows command console Window appears and disappears in an instant. Please file a separate issue for that.

Contributor

michaelDCurran commented Jul 18, 2016

That trace back is an unrelated issue. It looks like a Windows command console Window appears and disappears in an instant. Please file a separate issue for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment