GNOME Bugzilla – Bug 300345
speech should annouce gdm login textfield
Last modified: 2005-04-26 08:22:16 UTC
Distribution/Version: JDS Rel3 B32 Using gnopernicus 0.10.5 - Configure speech to work with the standard login. (enter the line <Control>s 1 1000 10000 /usr/bin/srcore --enable speech into /etc/X11/gdm/modules/AccessKeyMouseEvents). - Start the gdm standard greeter and press <Control>s for 1 second. Notice that speech starts. However, it doesn't mention the "username" textfield until the user starts typing. It should mention that focus is on this textfield, without any action from the user.
This is, I think, really an RFE to have srcore in --login mode (which you didn't indicate you used) auto-announce the object that has focus when it starts. The problem is that gnopernicus doesn't receive a focus event in order to announce "username" because it is launched after the password text field already has focus.
Created attachment 45439 [details] [review] proposed patch
Comment on attachment 45439 [details] [review] proposed patch This patch was tested only starting srcore from a terminal, after login. This because I am not able to start an application using a gesture at login time.
I followed the steps to configure speech to work with the standard login, but the speech didn't start when <control>s was pressed.
Oana: are you sure you followed all the steps in the Accessibility Guide exactly? 1) do you see the 'standard greeter' now, instead of the "graphical greeter"? 2) do you see an hourglass cursor appear for a moment after pressing Control-s? 3) are you holding the control and s keys down for at least one second?
I followed all the steps from Accessibility Guide. 1. yes, the standard greeter can be seen now. 2. no, no hourglass cursor is present after pressing <control>s. 3. yes, I'm holding the <control> and the s keys for more than one second.
Oana - can you please send me via e-mail your /etc/X11/gdm/gdm.conf file and /etc/X11/gdm/modules/* files? Maybe I can help you debug this. Remus - your patch looks reasonable to me. Any comments on the code Bill?
I managed to configure speech to work with the standard login, but only _after_ I modified /etc/X11/gdm/modules/factory-AccessKeyMouseEvents file. In this file I added the line: '<Control>s 1 1000 10000 /usr/bin/srcore --enable speech'. Modifying this file is not mentioned in the Administration Guide.
I tested the patch and it works good.
We only ever use /etc/X11/gdm/modules/AccessKeyMouseEvents. Oana says that she needs to modify /etc/X11/gdm/modules/factory-AccessKeyMouseEvents. This is at least the case with Cin 30b and 33.
On build 33, I didn't have to modify the files: /etc/X11/gdm/modules/factory-AccessKeyMouseEvents and /etc/X11/gdm/modules/AccessKeyMouseEvents because the files already contain the line: '<Control>s 1 1000 10000 /usr/bin/srcore --enable speech'. On build 25, for example, I had to add the line: '<Control>s 1 1000 10000 /usr/bin/srcore --enable speech' in the file /etc/X11/gdm/modules/factory-AccessKeyMouseEvents in order to get speech to work with the standard login.