[orca-list] a couple of questions about the metacity script



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

hi all
With mate using marco, which is just a fork of metacity with added
functionality, I took a look at the metacity script. I know nothing
about python, but something I did catch is what looks like iterating
through a list of objects on metacity's status bar, which I guess is
it's alt tab switcher and it's workspace popup. I don't understand the
logic it employs, but if it can find an app, orca just says for
example firefox, in the tab switcher. If it doesn't, it prints
something like firefox.inaccessible. I remember hearing a lot of these
back in the gnome 2 days. Back then, if orca said inaccessible, the
app almost certainly was. Now though, it says this about vlc media
player and lxterminal, both of wich work fine. I deleted the following
lines from the script, which took out the message, but as far as I can
tell didn't break anything else
elif not found
text.messages "." + message.inaccessible
That's approximating, I don't have the exact code handy, but it's
close to that. My question is, does the script need refactoring to
catch up to how orca works now, and how it handles objects, states,
etc? It seems to work fine so far. There is a slight lag, about one to
one and a half seconds, the first time you press alt+tab, switch
workspaces, or press  the shortcut to see unfocused windows, but after
that, for about two minutes it's instantaneous. My guess, and it is a
guess, is that orca is cashing the list of known apps in memory
somewhere, and they're eventually getting overwritten, causing orca to
have to go through and check again, thus the lag.  Can anyone  who
knows a lot more about code than I do check? The fact that mate works
even better with orca than it did a few days ago is amazing, I can't
believe I didn't try copying scripts before. The fact that it works
just proves how great orca itself is.
Thanks
Kendell clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJT7UHKAAoJEGYgJ5/kqBTdwhoP/RnJUotfGTVItilDB7cKWiEk
7FAfVyPYFcDinLQS+syu5Y262wBonGlLG8GihAiMjjVAllKn9WzwnQEF0k/LyqoK
4WIwvED9SHMi7GE3CBouX4LhWgvnBEE0HETnvXr20pDmAz5sx2+vamcXKc8wOk1e
NRumf/UtdgRK3jKbwA5S4+nCCnpTGcEJ1WVSWdPUaDvNRueoEOxpvDEgThYQ+/Rz
2uuglcsjHTL9y9DZljtQ2IqlCuZJNt7+POOHz2iPCwVOzW/gkkH97goRbsYBHw97
WGB9zdTIZqPCYu2l7MmoNrgtuohCbPqaB1mH292xdEbHFbV+QnyF3TLIPMmhWyOb
eKLVprPqCJihHolWvzjHVYV34+NyTmPFbgE7iCIdE4EbPfF5riY24O+SZ1x8s1VF
ztP5rUD3hv8gQ138TmSRI3kq3TLDJJPZ5VibV0w53p2oD2hQnwYbMP8PM7goxjWZ
dHo6+q2+BAp6Q6m4aVvp5Pj1/vl5Ct1oJNQO7KsC+MQmbDhSi3KUy0X4EIInHZ52
JrD/Xuql6LWsxAEF52is1waHxvF0V0qm8io5wO1+thUgxRG2mkMe4TvWLKEz6oAm
RIFxNPxJFyaJO516k9hhZeBfGcmG/p3tNJkIVgWPPkoxKu0ofIaGz9hVVzFIQN2f
HsGJ5llHhbACujdzvNWu
=U9KC
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]