Re: QT At-spi rolenames possible localizing before final Ubuntu 12.04 release?

2012-03-13 Thread Hammer Attila

Hy Luke,

If I see right, in qt-at-spi source the src directory need marking 
translation the role names in src/constant_mappings.cpp file.

Look some lines:
qSpiRoleMapping.insert(QAccessible::NoRole, 
RoleNames(ATSPI_ROLE_INVALID, invalid, QObject::tr(invalid role)));
qSpiRoleMapping.insert(QAccessible::TitleBar, 
RoleNames(ATSPI_ROLE_TEXT, text, QObject::tr(title bar)));
qSpiRoleMapping.insert(QAccessible::MenuBar, 
RoleNames(ATSPI_ROLE_MENU_BAR, menu bar, QObject::tr(menu bar)));
qSpiRoleMapping.insert(QAccessible::ScrollBar, 
RoleNames(ATSPI_ROLE_SCROLL_BAR, scroll bar, QObject::tr(scroll bar)));


For example, look the menu bar related two strings:
menu bar, QObject::tr(menu bar
Need marking the first or the second string for translation?

Unfortunately I not have experiences with C code localizing, usual I 
working more with Python.


Attila

--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Possible some time gsettings-data-convert doing mistake with keybinding preferences?

2012-03-13 Thread Hammer Attila

Hy,

Not often, but some time my Precise system forgot usual keybindings 
preferences.
This situation usual GNOME Panel is crashed with following error, with 
already reported:

https://bugs.launchpad.net/bugs/851532

After this crash happening, impossible using general keybindings 
(ALT+F1, ALT+F2, ALT+TAB, ALT+F4, etc).


I see an interesting error message when I try resetting this general 
keybindings in GNOME Control Center Keyboard preference tool in the 
keybindings page. I run simple gnome-control-center keyboard command, 
and see following error message:

Gconf Error. Type mismatch.
Waiting value: string, list coming from following key: 
/apps/metacity/window_keybindings/move_to_workspace_left)

Have lot of other Metacity related keybindings with producing similar error.

I possible not full right translated english the error message.
Before GNOME Panel not crash my system, not existed the 
.gconf/apps/metacity folder.

Already reported this issue?

Some time when I delete entire this folder, next restart the directory 
again creating, and the problem begin again.
This situation need entire remove the .gconf folder and the 
.config/dconf/user file.


In the /usr/share/GConf/gsettings/wm-schemas.convert file have following 
Metacity Keybindings related conversions:

# From org.gnome.desktop.wm.keybindings
[org.gnome.desktop.wm.keybindings]
switch-to-workspace-1 = 
/apps/metacity/global_keybindings/switch-to-workspace-1
switch-to-workspace-2 = 
/apps/metacity/global_keybindings/switch-to-workspace-2
switch-to-workspace-3 = 
/apps/metacity/global_keybindings/switch-to-workspace-3
switch-to-workspace-4 = 
/apps/metacity/global_keybindings/switch-to-workspace-4
switch-to-workspace-5 = 
/apps/metacity/global_keybindings/switch-to-workspace-5
switch-to-workspace-6 = 
/apps/metacity/global_keybindings/switch-to-workspace-6
switch-to-workspace-7 = 
/apps/metacity/global_keybindings/switch-to-workspace-7
switch-to-workspace-8 = 
/apps/metacity/global_keybindings/switch-to-workspace-8
switch-to-workspace-9 = 
/apps/metacity/global_keybindings/switch-to-workspace-9
switch-to-workspace-10 = 
/apps/metacity/global_keybindings/switch-to-workspace-10
switch-to-workspace-11 = 
/apps/metacity/global_keybindings/switch-to-workspace-11
switch-to-workspace-12 = 
/apps/metacity/global_keybindings/switch-to-workspace-12
switch-to-workspace-left = 
/apps/metacity/global_keybindings/switch_to_workspace_left
switch-to-workspace-right = 
/apps/metacity/global_keybindings/switch_to_workspace_right
switch-to-workspace-up = 
/apps/metacity/global_keybindings/switch_to_workspace_up
switch-to-workspace-down = 
/apps/metacity/global_keybindings/switch_to_workspace_down

switch-group = /apps/metacity/global_keybindings/switch_group
switch-group-backward = 
/apps/metacity/global_keybindings/switch_group_backward

switch-windows = /apps/metacity/global_keybindings/switch_windows
switch-windows-backward = 
/apps/metacity/global_keybindings/switch_windows_backward

switch-panels = /apps/metacity/global_keybindings/switch_panels
switch-panels-backward = 
/apps/metacity/global_keybindings/switch_panels_backward

cycle-group = /apps/metacity/global_keybindings/cycle_group
cycle-group-backward = 
/apps/metacity/global_keybindings/cycle_group_backward

cycle-windows = /apps/metacity/global_keybindings/cycle_windows
cycle-windows-backward = 
/apps/metacity/global_keybindings/cycle_windows_backward

cycle-panels = /apps/metacity/global_keybindings/cycle_panels
cycle-panels-backward = 
/apps/metacity/global_keybindings/cycle_panels_backward

show-desktop = /apps/metacity/global_keybindings/show_desktop
panel-main-menu = /apps/metacity/global_keybindings/panel_main_menu
panel-run-dialog = /apps/metacity/global_keybindings/panel_run_dialog
set-spew-mark = /apps/metacity/window_keybindings/set_spew_mark
activate-window-menu = 
/apps/metacity/window_keybindings/activate_window_menu

toggle-fullscreen = /apps/metacity/window_keybindings/toggle_fullscreen
toggle-maximized = /apps/metacity/window_keybindings/toggle_maximized
toggle-above = /apps/metacity/window_keybindings/toggle_above
maximize = /apps/metacity/window_keybindings/maximize
unmaximize = /apps/metacity/window_keybindings/unmaximize
toggle-shaded = /apps/metacity/window_keybindings/toggle_shaded
minimize = /apps/metacity/window_keybindings/minimize
close = /apps/metacity/window_keybindings/close
begin-move = /apps/metacity/window_keybindings/begin_move
begin-resize = /apps/metacity/window_keybindings/begin_resize
toggle-on-all-workspaces = 
/apps/metacity/window_keybindings/toggle_on_all_workspaces

move-to-workspace-1 = /apps/metacity/window_keybindings/move-to-workspace-1
move-to-workspace-2 = /apps/metacity/window_keybindings/move-to-workspace-2
move-to-workspace-3 = /apps/metacity/window_keybindings/move-to-workspace-3
move-to-workspace-4 = /apps/metacity/window_keybindings/move-to-workspace-4
move-to-workspace-5 = /apps/metacity/window_keybindings/move-to-workspace-5

Re: Possible some time gsettings-data-convert doing mistake with keybinding preferences?

2012-03-13 Thread Hammer Attila

Hy,

I switch english language, and look the error messages when I run 
gnome-control-center keyboard command after I put back the buggy created 
.gconf/apps/metacity folder:
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/move_to_workspace_left
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/move_to_workspace_right
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/move_to_workspace_up
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/move_to_workspace_down
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/switch_windows
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/switch_group
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/switch_panels
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/cycle_windows
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/cycle_group
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/cycle_panels
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/show_desktop
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/switch_to_workspace_left
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/switch_to_workspace_right
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/switch_to_workspace_up
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/switch_to_workspace_down
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/panel_run_dialog
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/global_keybindings/panel_main_menu
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/activate_window_menu
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/toggle_fullscreen
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/toggle_maximized
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/maximize
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/unmaximize
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/toggle_shaded
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/close
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/minimize
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/begin_move
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/begin_resize
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/toggle_on_all_workspaces
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/raise_or_lower
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/raise
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/lower
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/maximize_vertically
GConf Error: Type mismatch: Expected `string' got `list' for key 
/apps/metacity/window_keybindings/maximize_horizontally


Attila

--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Accessibility Meta-package or pp?

2012-03-13 Thread Dave Hunt

Hi,

Is there a single package or ppa containing the accessibility for Ubuntu 
12.04?  This would be handy for derivative distros, like Trisquel, to be 
sure their accessibility is the latest and complete.  My question is 
prompted by an experience with the Trisquel 5.5 beta, in which orca was 
present, but without libgail-3.  The lack of this library caused many 
objects, known to be accessible with orca, not to work properly.  I 
added all things libgail-3 from the repositories, and my system is as 
accessible as any Ubuntu 11.10, running orca, and using Gnome Classic 
desktop.



Just a thought,



Dave  Hunt




--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: Accessibility Meta-package or pp?

2012-03-13 Thread Samuel Thibault
Dave Hunt, le Tue 13 Mar 2012 13:12:30 -0400, a écrit :
 Is there a single package or ppa containing the accessibility for Ubuntu
 12.04?  This would be handy for derivative distros, like Trisquel, to be
 sure their accessibility is the latest and complete.  My question is
 prompted by an experience with the Trisquel 5.5 beta, in which orca was
 present, but without libgail-3.  The lack of this library caused many
 objects, known to be accessible with orca, not to work properly.  I added
 all things libgail-3 from the repositories, and my system is as accessible
 as any Ubuntu 11.10, running orca, and using Gnome Classic desktop.

Ideally gnome should just always depend on it, so that all desktops are
accessible already without having to add anything else.

Samuel

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: ubuntu 12.04 and alt+tab

2012-03-13 Thread Guy Schlosser
Hi all, is there any way to check key bindings in Unity-2d?  The reason 
for my asking, is that I have suspition as to whether alt+tab, alt+f4 
and alt+space are even bound to any actions in the 2d environment.  I 
have tested other environments under Ubuntu 12.04, including Unity-3d, 
gnome-shell, and gnome fallback, and all three of the keystrokes I 
mentioned work as they're supposed to.  I dist-upgraded my system a half 
hour ago, and still can't use any of those three keystrokes in 
Unity-2d.  Any help or info would be greatly appreciated.  As always, 
thanks much in advance.



Guy


--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: ubuntu 12.04 and alt+tab

2012-03-13 Thread José Vilmar Estácio de Souza

Hi, I don't have an answer, but can you test something please?
1. Launch terminal.
2. Press the alt key, only the alt key.

What happens?
In my environment orca reads shell filler.
Thanks.

On 03/13/2012 06:08 PM, Guy Schlosser wrote:

Hi all, is there any way to check key bindings in Unity-2d? The reason
for my asking, is that I have suspition as to whether alt+tab, alt+f4
and alt+space are even bound to any actions in the 2d environment. I
have tested other environments under Ubuntu 12.04, including Unity-3d,
gnome-shell, and gnome fallback, and all three of the keystrokes I
mentioned work as they're supposed to. I dist-upgraded my system a half
hour ago, and still can't use any of those three keystrokes in Unity-2d.
Any help or info would be greatly appreciated. As always, thanks much in
advance.


Guy




--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: ubuntu 12.04 and alt+tab

2012-03-13 Thread Alan Bell

On 13/03/12 21:22, José Vilmar Estácio de Souza wrote:

Hi, I don't have an answer, but can you test something please?
1. Launch terminal.
2. Press the alt key, only the alt key.

What happens?
In my environment orca reads shell filler.
Thanks.

I think this is because it has opened the HUD which is a thing a bit 
like the dash visually, it is a search box that searches through the 
menu of the current application. It is not correctly accessible at the 
moment which is a shame, it consists of a field and 5 suggestions below 
of what you might mean. For example if you have focus in gedit you can 
hit alt and type insert and the top option in the list of 5 will be 
edit  insert date and time. It does some fuzzy matching and guesswork 
to come up with the suggestions. Last time I tested it read out all 5 
suggestions in unity2d as push button and was silent in unity3d which 
is sub-optimal.

this is bug 949445
https://bugs.launchpad.net/ubuntu/+source/indicator-appmenu/+bug/949445

and I am sure that Ted and Gord will be right on to this soon

Alan.

--
The Open Learning Centre is rebranding, find out about our new name and look at 
http://libertus.co.uk


--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: ubuntu 12.04 and alt+tab

2012-03-13 Thread Guy Schlosser
Hi Jose, same behavior on my machine.  Pressing alt by itself, now 
brings up the HUD (Head Up Display), which is not yet accessible.  If 
you want the menu bar of terminal or any other app, press alt+f10.  As 
for my suspition about key bindings, I'm thinking I'm right.  I launched 
the keyboard applet under system settings, went to the shortcuts tab, 
and set up alt+f4 as a shortcut for close window, then alt+tab as a 
shortcut for switch applications, and both are now working as expected.  
Did someone forget to bind them by default in Unity 2d?  Just my 
curiosity, and I hope this helps.


Later,


Guy


--
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: ubuntu 12.04 and alt+tab

2012-03-13 Thread Luke Yelavich
On Wed, Mar 14, 2012 at 08:34:59AM EST, Alan Bell wrote:
 Last time I tested it read out all 5 suggestions in unity2d as push
 button and was silent in unity3d which is sub-optimal.
 this is bug 949445
 https://bugs.launchpad.net/ubuntu/+source/indicator-appmenu/+bug/949445

Its likely to be easier to fix in unity-2d than it will be for Unity 3D. I hope 
to find time to try and address the Unity 2D side, but my knowledge of QML is 
currently limited.

Luke

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility


Re: ubuntu 12.04 and alt+tab

2012-03-13 Thread Luke Yelavich
On Wed, Mar 14, 2012 at 08:36:43AM EST, Guy Schlosser wrote:
 Hi Jose, same behavior on my machine.  Pressing alt by itself, now
 brings up the HUD (Head Up Display), which is not yet accessible.
 If you want the menu bar of terminal or any other app, press
 alt+f10.  As for my suspition about key bindings, I'm thinking I'm
 right.  I launched the keyboard applet under system settings, went
 to the shortcuts tab, and set up alt+f4 as a shortcut for close
 window, then alt+tab as a shortcut for switch applications, and both
 are now working as expected.  Did someone forget to bind them by
 default in Unity 2d?  Just my curiosity, and I hope this helps.

They are indeed bound by default, but something must have messed them up in 
your settings somehow.

Luke

-- 
Ubuntu-accessibility mailing list
Ubuntu-accessibility@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-accessibility