Re: [orca-list] [Fwd: Re: In Ubuntu 10.04, when Orca is running, impossible to make USB startup disk with usb-creator-gtk application]



Hi

It would be good if somebody who is familiar with at-spi and the threading issues that can crash it explains things. The other point is that hosing mentioned (presumably meaning overwhelming Orca with useless events) should not be necessarily related to multiple threads, it depends what these threads do.

I have not programmed with these gui components under Linux but have used a number of gui frameworks on other OS and it will be good to understand what is going on and why - programmers will appreciate knowing the alternatives and updating the gui only from the main thread may not be a viable solution for some applications.

Besides the two affected Lucid apps mentioned in this email thread, the same issue was also mentioned in the context of a problem with Eclipse.

Thanks
Isaac

On 19/04/2010 21:17, Tom Masterson wrote:
If I were to say anything about guidelines I would say that the main thread should be the one that handles display etc. In this case the main thread is doing the initial display and then when you press install it goes ahead and does the creation stuff and uses other threads to display the information. It would probably be safer to have put the creation stuff on a separate thread. But that too is open to debate. Obviously both the ATS and other developers have a responsibility to write thread-safe code as much as possible.

Tom

On Mon, 19 Apr 2010, Isaac Porat wrote:

Hi Joanie

Are there any guidelines on these threading issues and remedies in respect to accessibility? A reference in a bug report with this type of problem I think could help developers.

Thanks
Isaac


On 19/04/2010 20:38, Joanmarie Diggs wrote:
Meant to CC the list on this reply. Need more sleep I guess. :-)
--joanie

-------- Forwarded Message --------
From: Joanmarie Diggs<joanmarie diggs gmail com>
To: Isaac Porat<isaac porat me uk>
Subject: Re: [orca-list] In Ubuntu 10.04, when Orca is running,
impossible to make USB startup disk with usb-creator-gtk application
Date: Mon, 19 Apr 2010 15:36:50 -0400

I believe there is another way to ensure your app's threads don't hose
us. But I'm not a thread expert. I do see a certain amount of obligation to help app developers identify where their app is messing us up. Then I
think it's their obligation to solve the problem they are creating (and
test it with ATs like Orca) in whatever way they deem fit.

--joanie

On Mon, 2010-04-19 at 20:33 +0100, Isaac Porat wrote:

Hi

The same type of problem happens in Lucid with Computer Janitor
sudo computer-janitor-gtk

Using an external thread is a valid and sometimes the most convenient
method to achieve gui update is it not possible to modify at-spi to cope
with these scenarios?

Thanks
Isaac

On 19/04/2010 20:09, Joanmarie Diggs wrote:

On Mon, 2010-04-19 at 11:46 -0700, Tom Masterson wrote:


I have scanned the gtk frontend code and if I am reading it correctly.
THey use separate wrapped threads for the progressbar, retry dialog,
failure dialog, and success dialog. I suspect this is the problem we are
seeing and I don't know how to test it or let the maintainers know.


For any suspect gui changes, you can test by using g_object_idle_add()
(in Python gobject.idle_add()).

--joanie

_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visithttp://live.gnome.org/Orca  for more information on Orca.
The manual is athttp://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is athttp://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are athttp://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines
Log bugs and feature requests athttp://bugzilla.gnome.org
Find out how to help athttp://live.gnome.org/Orca/HowCanIHelp




_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp




_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp



_______________________________________________
orca-list mailing list
orca-list gnome org
http://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Netiquette Guidelines are at http://live.gnome.org/Orca/FrequentlyAskedQuestions/NetiquetteGuidelines
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp






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