Re: [orca-list] Status update for Orcas new Plugin System Level 1



Sounds like you have a present for us? 🥳

Von meinem iPhone gesendet

Am 08.06.2021 um 22:35 schrieb Andy Borka via orca-list <orca-list gnome org>:



One of us will let you know what happens next 😊. I am lagging behind a little with my Ubuntu setup, but getting there😊.

 

 

From: orca-list <orca-list-bounces gnome org> On Behalf Of Joanmarie Diggs
Sent: Tuesday, June 8, 2021 12:08 PM
To: chrys <chrys linux-a11y org>; orca-list <orca-list gnome org>
Subject: Re: [orca-list] Status update for Orcas new Plugin System Level 1

 

Neat! Looking forward to it.

 

Before too long I plan to branch to keep 40 stable. Still trying to shave some milliseconds (which add up!) off of Orca's web support which is why I haven't branched yet.

 

--joanie

 

On Tue, 2021-06-08 at 15:24 +0200, chrys wrote:

Howdy Joanie, Howdy List,

I just did some more work the last days. Just a small update what i did.

  1. I created a new class "orca" in orca.py. this should represent the applications main class in mid term future. We should move all "global" functionality into this to have an entry point for references for our plugins (like already suggested by Andy Borka). I already added some API for signal handling and dynamic storage of objects. last is currently used to have some "compatibility" and keeps all of orcas internal stuff. this should be moved step by step to "real" objects. The handling of dynamic objects is there to register stuff by plugins what could be used by others (as libpeas supports dependencies in plugins, this could be very useful).
  2. A simple API helper class what supports me a little with a useful functions library.
  3. Time Plugin: Works! but it currently uses an hard coded shortcut. the binding API of orca is not very friendly to consume. i still have to figure how to get shortcuts for given functionality with loop through list every time. I will come up with some nice compatibility solution here. The User settings of Time is already respected as expected. the shortcut is the default one Orca + t. I removed the build-in functionality completely
  4. Date Plugin: same situation as for time (hard coded shortcut, user settings respected). the double tap  shortcut (pressing t two times fast Orca + t) works here as well.
  5. Mouse Review: Works! japp, it reads the object below the mouse pointer for me :)! i completely removed the build-in functionality. It for some quirks in the default.py and web/script_utilities.py are solved by the dynamic API usage. but the plugin is optional. if its not loaded, the stuff still works as expect. i reused almost all the code with some kind of compatibility replace global import of modules by have global variables set by the plugin activation. it respect the settings on startup. toggle shortcut is registered :) but hard coded to orca + e.

whats missing (well, as expected, as we wanna take that in an next step):

  • the settings are mostly respected but the keybinding definition stuff.
  • any UI handling

@Joanie, let me clean up some stuff then we could take a look at it and take the next step.

cheers chrys

_______________________________________________

orca-list mailing list

 

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Orca wiki: https://wiki.gnome.org/Projects/Orca
Orca documentation: https://help.gnome.org/users/orca/stable/
GNOME Universal Access guide: https://help.gnome.org/users/gnome-help/stable/a11y.html


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