Skip to content
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

Error on VLC full screen mode #2189

Open
nvaccessAuto opened this issue Mar 21, 2012 · 13 comments
Open

Error on VLC full screen mode #2189

nvaccessAuto opened this issue Mar 21, 2012 · 13 comments

Comments

@nvaccessAuto
Copy link

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 "NVDAObjects__init
.pyc", line 253, in objectWithFocus
File "NVDAObjects__init__.pyc", line 183, in findBestAPIClass
File "NVDAObjects__init__.pyc", line 182, in findBestAPIClass
File "NVDAObjects\IAccessible__init__.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
Copy link
Author

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
Copy link
Author

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
Copy link

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
Copy link
Collaborator

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

@nvdaes
Copy link
Sponsor Contributor

nvdaes commented Jul 28, 2018

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
Copy link

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
Copy link

netblue44 commented Jul 30, 2018 via email

@LeonarddeR
Copy link
Collaborator

@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
Copy link

As a quick update, the current version of VLC for Windows appears to be Version 3.0.11. Hence, as per #2189 (comment), we must still wait a while.

@bhavyashah
Copy link

@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
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Member

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

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

No branches or pull requests

9 participants