After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 423440 - Permit reloading of scripts while Orca is running
Permit reloading of scripts while Orca is running
Status: RESOLVED WONTFIX
Product: orca
Classification: Applications
Component: general
unspecified
Other All
: Low enhancement
: FUTURE
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-27 18:49 UTC by Willie Walker
Modified: 2008-09-05 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Willie Walker 2007-03-27 18:49:23 UTC
It would be desirable to reload scripts on the fly without needing to restart Orca.  A suggested keystroke for doing this is a double click on Orca+F3.
Comment 1 Willie Walker 2007-05-07 19:19:07 UTC
While Rich and I were looking at a separate problem (app-specific settings), the following came to mind and I just want to jot this down while I'm thinking of it.  I think the syntax to reload a script would be something like:

reload(script.__module__) where 'script' is the script instance.  If we put this in focus_tracking_presenter.py:_getScript, we would cause the module for a script to be reloaded each time you Alt+Tabbed away from and back to a window.  I'm not sure if this would have the expected behavior, but it might be worth looking into.
Comment 2 Mike Pedersen 2007-05-07 19:29:23 UTC
From my understanding of this RFE I think this is exactly the intended behavior.
Comment 3 Willie Walker 2007-06-05 15:51:02 UTC
(In reply to comment #1)
> While Rich and I were looking at a separate problem (app-specific settings),
> the following came to mind and I just want to jot this down while I'm thinking
> of it.  I think the syntax to reload a script would be something like:
> 
> reload(script.__module__) where 'script' is the script instance.  If we put
> this in focus_tracking_presenter.py:_getScript, we would cause the module for a
> script to be reloaded each time you Alt+Tabbed away from and back to a window. 
> I'm not sure if this would have the expected behavior, but it might be worth
> looking into.

After thinking about this, Alt+Tab will disrupts scripts that maintain state.  For example, the Gecko script for Firefox maintains state regarding caret position on various page tabs.  Automatically reloading a script can cause us to lose this state.  So, I think the reloading should be something that is done as the result of a purposeful action on part of the user (e.g., Insert+F3).

Given that a user can simply restart Orca to load in new scripts, I'm lowering the priority of this RFE and moving it to FUTURE.
Comment 4 Willie Walker 2008-09-05 15:42:08 UTC
Closing as WONTFIX.  This feature just isn't that highly desirable or needed.