nvaccess / nvda

NVDA, the free and open source Screen Reader for Microsoft Windows
https://www.nvaccess.org/
Other
2.09k stars 631 forks source link

Error on VLC full screen mode #2189

Open nvaccessAuto opened 12 years ago

nvaccessAuto commented 12 years ago

Reported by PZajda on 2012-03-21 13:32 If I check Full Screen on views menu, when focusing the VLC window, I have the following error: INFO - nvda (14:26:10): Starting NVDA INFO - core.main (14:26:10): Config dir: C:\Documents and Settings\PZajda\Application Data\nvda DEBUG - core.main (14:26:10): setting language to Windows INFO - core.main (14:26:10): NVDA version main-5047 INFO - core.main (14:26:10): Using Windows version sys.getwindowsversion(major=5, minor=1, build=2600, platform=2, service_pack='Service Pack 3') INFO - core.main (14:26:10): Using Python version 2.7.2 (default, Jun 12 2011, 15:08:59) v.1500 32 bit (Intel) INFO - core.main (14:26:10): Using comtypes version 0.6.2 DEBUG - core.main (14:26:10): Creating wx application instance DEBUG - core.main (14:26:11): Initializing NVDAHelper DEBUG - core.main (14:26:11): Speech Dictionary processing DEBUG - speechDictHandler.SpeechDict.load (14:26:11): Loading speech dictionary 'C:\Documents and Settings\PZajda\Application Data\nvda\speechDicts\default.dic'... DEBUG - speechDictHandler.SpeechDict.load (14:26:11): 3 loaded records. DEBUG - speechDictHandler.SpeechDict.load (14:26:11): Loading speech dictionary 'builtin.dic'... DEBUG - speechDictHandler.SpeechDict.load (14:26:11): 3 loaded records. DEBUG - core.main (14:26:11): Initializing speech DEBUG - speechDictHandler.SpeechDict.load (14:26:11): Loading speech dictionary 'C:\Documents and Settings\PZajda\Application Data\nvda\speechDicts\eloquence-French.dic'... DEBUG - speechDictHandler.SpeechDict.load (14:26:11): 0 loaded records. INFO - synthDriverHandler.setSynth (14:26:11): Loaded synthDriver eloquence INFO - core.main (14:26:11): Using wx version 2.8.12.1 (msw-unicode) DEBUG - core.main (14:26:11): Initializing braille INFO - braille.initialize (14:26:11): Using liblouis version 2.4.1 INFO - braille.BrailleHandler.setDisplayByName (14:26:11): Loaded braille display driver brltty, current display has 0 cells. DEBUG - core.main (14:26:11): Initializing displayModel DEBUG - core.main (14:26:11): Initializing GUI DEBUG - core.main (14:26:11): Initializing appModule Handler DEBUG - core.main (14:26:11): initializing Java Access Bridge support DEBUG - core.main (14:26:11): Initializing winConsole support DEBUG - core.main (14:26:11): Initializing UIA support WARNING - core.main (14:26:11): UIA not available DEBUG - core.main (14:26:11): Initializing IAccessible support DEBUG - core.main (14:26:11): Initializing input core DEBUGWARNING - inputCore.InputManager.loadLocaleGestureMap (14:26:11): No locale gesture map for language fr_FR DEBUG - core.main (14:26:11): Initializing keyboard handler DEBUG - core.main (14:26:11): initializing mouse handler DEBUG - core.main (14:26:11): Initializing global plugin handler DEBUG - core.main (14:26:12): starting core pump DEBUG - core.CorePump.init (14:26:12): Core pump starting DEBUG - core.main (14:26:12): Initializing watchdog INFO - core.main (14:26:12): NVDA initialized DEBUG - core.main (14:26:12): entering wx application main loop DEBUGWARNING - watchdog._watcher (14:26:12): Trying to recover from freeze, core stack: File "nvda.pyw", line 156, in File "core.pyc", line 304, in main File "wx_core.pyc", line 8010, in MainLoop File "wx_core.pyc", line 7306, in MainLoop File "core.pyc", line 290, in Notify File "queueHandler.pyc", line 76, in pumpAll File "queueHandler.pyc", line 47, in flushQueue File "core.pyc", line 136, in _setInitialFocus File "NVDAObjectsinit.pyc", line 253, in objectWithFocus File "NVDAObjectsinit.pyc", line 183, in findBestAPIClass File "NVDAObjectsinit.pyc", line 182, in findBestAPIClass File "NVDAObjects\IAccessibleinit.pyc", line 333, in kwargsFromSuper File "IAccessibleHandler.pyc", line 388, in accFocus

DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (14:26:13): Resorting to WindowFromPoint on accLocation ERROR - api.setFocusObject (14:26:13): Never ending focus ancestry: last object: Lecteur multimédia VLC

After the error sound, NVDA repeates indefinitly the title of the window.

I have only restarted NVDA being in the VLC window because I am not sure of the portion of log I have to send.

If I come back to the VLC window, nothing is added to the log file, but the error ocure and the sound is played.

nvaccessAuto commented 12 years ago

Comment 1 by briang1 on 2012-03-22 09:56 Could I ask what media you were playing? I guess it has to be video as the full screen item is not acessible otherwise. I could not get any problem in xp, but I suspect it depends on the media and how the screen content is being rendered and what the player is sending to nvda while its going on.

nvaccessAuto commented 12 years ago

Comment 2 by PZajda on 2012-03-22 14:12 It is a strange bug, it is ocurring if view>Full screen interface is checked and even if there is nothing playing. But it most ocures when I go to a window, and go back to VLC's window. It seems to produce if full screen is disactivated and re-activated, or if you run VLC in non-ffull screen mode and turn it on then focusing back the window as explained before.

bhavyashah commented 7 years ago

Using VLC Media Player version 2.2.3 and NVDA version 2017.2, I cannot replicate the described issue. At most, 'DEBUGWARNING - NVDAObjects.IAccessible.IAccessible.init (00:19:12): Resorting to WindowFromPoint on accLocation ' is what my Log Viewer could yield as slightly problematic, which too, according to my suspicion, was not triggered due to VLC going full screen (which suspicion might well be wrong). Still, this error too was not consistently reproduced. Could we please have the original reporter of this ticket or other VLC users test this?

Adriani90 commented 6 years ago

@PZajda can you still reproduce it? @nvdaes mybe you can share your thoughts as well?

nvdaes commented 6 years ago

I get this bug when pressing f to enable full screen mode, with NVDA 2018.3beta 2 and the last version of VLC: ERROR - api.setFocusObject (11:52:18.529): Never ending focus ancestry: last object: Alfred Hitchcock_1964_Marnie La Ladrona (Tippi Hedren, Sean Connery, Diane Baker).avi - Reproductor multimedia VLC, Ventana, window class Qt5QWindowIcon, application name vlc

I have disabled the VLC add-on for NVDA developed by @javidominguez. Maybe he can provide more feed-back for this issue. Thanks

javidominguez commented 6 years ago

globalVars.focusAncestors stores the string of containers from the desktop to the focused object. api.setFocusObjects updates this var.

The problem is that VLC has two parent containers that, in fullscreen view, are referred the one to the other

See in console: fg is a window object fg.parent is an application object fg.parent.parent is again the first window and so on

So when api.setFocusObject updates focusAncestors goes into an infinite loop that NVDA breaks and raises the error.

netblue44 commented 6 years ago

I can not reproduce this .

On 28/07/2018 03:57 a. m., nvdaes wrote:

I get this bug when pressing f to enable full screen mode, with NVDA 2018.3beta 2 and the last version of VLC: ERROR - api.setFocusObject (11:52:18.529): Never ending focus ancestry: last object: Alfred Hitchcock_1964_Marnie La Ladrona (Tippi Hedren, Sean Connery, Diane Baker).avi - Reproductor multimedia VLC, Ventana, window class Qt5QWindowIcon, application name vlc

I have disabled the VLC add-on for NVDA developed by @javidominguez https://github.com/javidominguez. Maybe he can provide more feed-back for this issue. Thanks

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nvaccess/nvda/issues/2189#issuecomment-408596323, or mute the thread https://github.com/notifications/unsubscribe-auth/API6eSc-P-9Erur2HW2wkNKut9JBsUXUks5uLDV3gaJpZM4OgP_d.

LeonarddeR commented 4 years ago

@javidominguez: Thanks for investigating this, this is very helpful information.

For the GUI of VLC 4, many major changes are planned, so I'd like to suggest leaving this alone until VLC 4 arrives.

bhavyashah commented 4 years ago

As a quick update, the current version of VLC for Windows appears to be Version 3.0.11. Hence, as per https://github.com/nvaccess/nvda/issues/2189#issuecomment-544837824, we must still wait a while.

bhavyashah commented 4 years ago

@leonardder Do you think we should hold off on #8854, #4729 and #4651 (and other VLC-related tickets) until VLC 4 is out as well? Also, do VLC folks follow a release schedule, and if they do, roughly when do we expect VLC 4 to go live?

LeonarddeR commented 4 years ago

VLC 4 is going to be a big game changer in terms of UI. All the test versions I have seen up until now didn't have working accessibility support at al, just... nothing. This is pretty frustrating IMO. It might be worth it to contact them about this.

Adriani90 commented 1 year ago

VLC 4.0 Beta has been released, but still totally inaccessible. Bug with the VLC team can be filled here: https://code.videolan.org/videolan/vlc/-/issues

Note that from time to time the european union offers a bug bounty program on VLC that means bugs reported and fixed get financially rewarded.

seanbudd commented 8 months ago

Give that VLC 4.0 has no clear release date, is this still an issue with latest VLC 3.x?