Bugzilla – Attachment 118424 Details for
Bug 93933
Accessibility event "flood" and lag when opening certain large Writer documents
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
accessible-event listener: soffice-events.py
soffice-events.py (text/x-python), 532 bytes, created by
Joanmarie Diggs
on 2015-09-05 02:29:08 UTC
(
hide
)
Description:
accessible-event listener: soffice-events.py
Filename:
MIME Type:
Creator:
Joanmarie Diggs
Created:
2015-09-05 02:29:08 UTC
Size:
532 bytes
patch
obsolete
>#!/usr/bin/python3 > >import pyatspi >import time > >def listener(e): > try: > if e.host_application.name != "soffice": > return > except: > return > > timestamp = time.strftime("%H:%M:%S", time.localtime()) > any_data = str(e.any_data)[:10] > any_data = '{0}{1}'.format(any_data, "..." if any_data[10:] else "") > print("%s - %s from %s (%s, %s, %s)" % (timestamp, e.type, e.source, e.detail1, e.detail2, any_data)) > > >pyatspi.Registry.registerEventListener(listener, "object:") >pyatspi.Registry.start()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 93933
:
118423
| 118424 |
118425