{"action":"created","issue":{"url":"https://api.github.com/repos/nvaccess/nvda/issues/8877","repository_url":"https://api.github.com/repos/nvaccess/nvda","labels_url":"https://api.github.com/repos/nvaccess/nvda/issues/8877/labels{/name}","comments_url":"https://api.github.com/repos/nvaccess/nvda/issues/8877/comments","events_url":"https://api.github.com/repos/nvaccess/nvda/issues/8877/events","html_url":"https://github.com/nvaccess/nvda/issues/8877","id":373559919,"node_id":"MDU6SXNzdWUzNzM1NTk5MTk=","number":8877,"title":"Braille fails to work when used in triggered profile after closing Windows Explorer ","user":{"login":"lukaszgo1","id":11059719,"node_id":"MDQ6VXNlcjExMDU5NzE5","avatar_url":"https://avatars1.githubusercontent.com/u/11059719?v=4","gravatar_id":"","url":"https://api.github.com/users/lukaszgo1","html_url":"https://github.com/lukaszgo1","followers_url":"https://api.github.com/users/lukaszgo1/followers","following_url":"https://api.github.com/users/lukaszgo1/following{/other_user}","gists_url":"https://api.github.com/users/lukaszgo1/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszgo1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszgo1/subscriptions","organizations_url":"https://api.github.com/users/lukaszgo1/orgs","repos_url":"https://api.github.com/users/lukaszgo1/repos","events_url":"https://api.github.com/users/lukaszgo1/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszgo1/received_events","type":"User","site_admin":false},"labels":[{"id":284595196,"node_id":"MDU6TGFiZWwyODQ1OTUxOTY=","url":"https://api.github.com/repos/nvaccess/nvda/labels/Braille","name":"Braille","color":"ffffff","default":false},{"id":401238340,"node_id":"MDU6TGFiZWw0MDEyMzgzNDA=","url":"https://api.github.com/repos/nvaccess/nvda/labels/p2","name":"p2","color":"5319e7","default":false},{"id":284595204,"node_id":"MDU6TGFiZWwyODQ1OTUyMDQ=","url":"https://api.github.com/repos/nvaccess/nvda/labels/regression","name":"regression","color":"ffffff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/nvaccess/nvda/milestones/42","html_url":"https://github.com/nvaccess/nvda/milestone/42","labels_url":"https://api.github.com/repos/nvaccess/nvda/milestones/42/labels","id":3567454,"node_id":"MDk6TWlsZXN0b25lMzU2NzQ1NA==","number":42,"title":"2018.4","description":"","creator":{"login":"jcsteh","id":4166475,"node_id":"MDQ6VXNlcjQxNjY0NzU=","avatar_url":"https://avatars1.githubusercontent.com/u/4166475?v=4","gravatar_id":"","url":"https://api.github.com/users/jcsteh","html_url":"https://github.com/jcsteh","followers_url":"https://api.github.com/users/jcsteh/followers","following_url":"https://api.github.com/users/jcsteh/following{/other_user}","gists_url":"https://api.github.com/users/jcsteh/gists{/gist_id}","starred_url":"https://api.github.com/users/jcsteh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcsteh/subscriptions","organizations_url":"https://api.github.com/users/jcsteh/orgs","repos_url":"https://api.github.com/users/jcsteh/repos","events_url":"https://api.github.com/users/jcsteh/events{/privacy}","received_events_url":"https://api.github.com/users/jcsteh/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":138,"state":"open","created_at":"2018-08-14T02:19:19Z","updated_at":"2018-12-14T12:48:23Z","due_on":"2018-11-22T08:00:00Z","closed_at":null},"comments":12,"created_at":"2018-10-24T16:05:49Z","updated_at":"2018-12-14T12:48:23Z","closed_at":"2018-12-14T12:48:23Z","author_association":"CONTRIBUTOR","body":"### Steps to reproduce:\r\n1. Create a triggered profile for notepad, set a braille display in it in my case Focus 40 Blue and ensure that it is active only in this profile.\r\n2. Open Windows Explorer with Windows+e.\r\n3. Close it with alt+f4 focus lands in notepad.\r\n### Actual behavior:\r\nBraille display fails to work and the following is written in the log.\r\nLoaded braille display driver freedomScientific, current display has 40 cells.\r\nERROR - braille.BrailleHandler.setDisplayByName (17:55:47.686):\r\nError initializing display driver for kwargs {'port': u'auto'}\r\nTraceback (most recent call last):\r\n  File \"braille.pyo\", line 1680, in setDisplayByName\r\n  File \"braille.pyo\", line 1962, in initialDisplay\r\n  File \"braille.pyo\", line 1826, in handleGainFocus\r\n  File \"braille.pyo\", line 1831, in _doNewObject\r\n  File \"braille.pyo\", line 1478, in getFocusContextRegions\r\n  File \"baseObject.pyo\", line 34, in __get__\r\n  File \"baseObject.pyo\", line 115, in _getPropertyViaCache\r\n  File \"NVDAObjects\\__init__.pyo\", line 819, in _get_isPresentableFocusAncestor\r\n  File \"baseObject.pyo\", line 34, in __get__\r\n  File \"baseObject.pyo\", line 115, in _getPropertyViaCache\r\n  File \"NVDAObjects\\UIA\\__init__.pyo\", line 1127, in _get_presentationType\r\n  File \"baseObject.pyo\", line 34, in __get__\r\n  File \"baseObject.pyo\", line 115, in _getPropertyViaCache\r\n  File \"NVDAObjects\\__init__.pyo\", line 637, in _get_presentationType\r\n  File \"baseObject.pyo\", line 34, in __get__\r\n  File \"baseObject.pyo\", line 115, in _getPropertyViaCache\r\n  File \"NVDAObjects\\UIA\\__init__.pyo\", line 1067, in _get_states\r\n  File \"NVDAObjects\\UIA\\__init__.pyo\", line 734, in _prefetchUIACacheForPropertyIDs\r\nCOMError: (-2147220991, 'An event was unable to invoke any of the subscribers', (None, None, None, 0, None))\r\n\r\n### Expected behavior:\r\nBraille should work normaly after closing Windows Explorer.\r\n\r\n### System configuration:\r\n\r\n#### NVDA Installed/portable/running from source:\r\nInstalled\r\n#### NVDA version:\r\nalpha-16183,c3ce6a38\r\n#### Windows version:\r\nWindows 7 x64\r\n#### Name and version of other software in use when reproducing the issue:\r\nNotepad, Windows Explorer\r\n#### Other information about your system:\r\nI've tested also with new native driver written by @bramd and the issue is present there as well. Switching to the desktop and back to notepad makes display work again.\r\n### Other questions:\r\n\r\n#### Does the issue still occur after restarting your PC?\r\nYes\r\n#### Have you tried any other versions of NVDA?\r\nYes 2018.3.2 and the problem is present.\r\n"},"comment":{"url":"https://api.github.com/repos/nvaccess/nvda/issues/comments/447315411","html_url":"https://github.com/nvaccess/nvda/issues/8877#issuecomment-447315411","issue_url":"https://api.github.com/repos/nvaccess/nvda/issues/8877","id":447315411,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NzMxNTQxMQ==","user":{"login":"lukaszgo1","id":11059719,"node_id":"MDQ6VXNlcjExMDU5NzE5","avatar_url":"https://avatars1.githubusercontent.com/u/11059719?v=4","gravatar_id":"","url":"https://api.github.com/users/lukaszgo1","html_url":"https://github.com/lukaszgo1","followers_url":"https://api.github.com/users/lukaszgo1/followers","following_url":"https://api.github.com/users/lukaszgo1/following{/other_user}","gists_url":"https://api.github.com/users/lukaszgo1/gists{/gist_id}","starred_url":"https://api.github.com/users/lukaszgo1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lukaszgo1/subscriptions","organizations_url":"https://api.github.com/users/lukaszgo1/orgs","repos_url":"https://api.github.com/users/lukaszgo1/repos","events_url":"https://api.github.com/users/lukaszgo1/events{/privacy}","received_events_url":"https://api.github.com/users/lukaszgo1/received_events","type":"User","site_admin":false},"created_at":"2018-12-14T12:48:23Z","updated_at":"2018-12-14T12:48:23Z","author_association":"CONTRIBUTOR","body":"Fixed when #9054 was merged. Closing."}}
{"actor":{"display_login":"lukaszgo1"}}