[Bug 916056] Re: Missing mouse buttons

2012-08-21 Thread marmuta
** Changed in: onboard (Ubuntu)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-17 Thread marmuta
** Changed in: onboard
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-17 Thread Francesco Fumanti
** Changed in: onboard
   Status: Fix Released = Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-17 Thread Francesco Fumanti
** Changed in: onboard
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-15 Thread David López
What a surprise, today my PC shows the same problem! Output from
terminal in my PC:

david@david-casa:~$ onboard
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/Onboard/KeyboardGTK.py, line 402, in 
draw
item.draw_image(context)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 148, in 
draw_image
pixbuf = self.get_image(rect.w, rect.h)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 338, in 
get_image
filename = config.get_image_filename(self.image_filename)
  File /usr/lib/python2.7/dist-packages/Onboard/Config.py, line 422, in 
get_image_filename
system_filename_func = lambda x: \
  File /usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py, line 251, in 
_get_user_sys_filename
(description, filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal 
not in range(128)

david@david-casa:~$ locale
LANG=es_ES.UTF-8
LANGUAGE=es_ES:en
LC_CTYPE=es_ES.UTF-8
LC_NUMERIC=es_ES.UTF-8
LC_TIME=es_ES.UTF-8
LC_COLLATE=es_ES.UTF-8
LC_MONETARY=es_ES.UTF-8
LC_MESSAGES=es_ES.UTF-8
LC_PAPER=es_ES.UTF-8
LC_NAME=es_ES.UTF-8
LC_ADDRESS=es_ES.UTF-8
LC_TELEPHONE=es_ES.UTF-8
LC_MEASUREMENT=es_ES.UTF-8
LC_IDENTIFICATION=es_ES.UTF-8
LC_ALL=

My PC was installed from the official release from ubuntu.com and it
never had installed Italian language. This discard any relation with the
Italian language and the 'unofficial' release. Maybe some recent update
of oneiric broke onboard. A couple of days ago in a regular update the
system several language packages were updated to 11.10+20120103 version:

language-pack-en
language-pack-en-base
language-pack-gnome-en
language-pack-gnome-en-base
language-pack-es
language-pack-es-base
language-pack-gnome-es
language-pack-gnome-es-base

Do you think that those language updates broke onboard? I don't know how
can I revert those updates, oif you tell me I can test it.

Wish this helps. Thanks for you efforts, marmuta.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-15 Thread marmuta
ok, so what appears to have happened is that language-pack-gnome-es-base has 
been updated recently, actually a couple of times starting at 2012-01-04.
https://launchpad.net/ubuntu/+source/language-pack-gnome-es-base/+publishinghistory
Some added translations for onboard in multiple languages replaced single 
quotes with double arrows, which most likeley triggered this bug. The blame is 
on onboard of course. We have to be prepared for anything utf-8 the translators 
give us. 

This particular bug seems to affect only version 0.96.1. The current
release 0.96.2(in Precise) had some messages upgraded to python 3 style
formatting and doesn't appear vulnerable anymore. I'll do some more
testing and then I think we should suggest another SRU for Oneiric.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-15 Thread marmuta
Some workarounds:

Get onboard from the snapshot PPA, which currently is almost an 0.96.2:
$ sudo add-apt-repository ppa:onboard/snapshots

or run with the english user interface (2nd try):
$ LANGUAGE=en onboard

or, disable the spanish translation for onboard permanently (at least until 
language-pack-gnome-es-base is updated again):
$ sudo mv /usr/share/locale-langpack/es/LC_MESSAGES/onboard.mo{,_}

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-15 Thread Francesco Fumanti
FYI: Onboard 0.96.2 for oneiric is available in the stable PPA: 
https://launchpad.net/~onboard/+archive/stable

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-15 Thread David López
Run with the English user interface $ LANGUAGE=en onboard: IT WORKS!

Disable the Spanish translation $ sudo mv /usr/share/locale-
langpack/es/LC_MESSAGES/onboard.mo{,_}: IT WORKS!

Get onboard 0.96.2 from stable PPA: IT WORKS!

I posted a problem on Friday and you give me 3 working solutions on
Sunday. Thank you guys, you're great!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-14 Thread marmuta
Thanks for the bug report, David. There seems to be a character encoding
mismatch that only breaks Onboard in certain locales. I was already
working on making sure those can't happen again, but unfortunaltely
0.96.1 is still affected.

Please be so kind, run onboard from a terminal and post the ouput. I suspect 
there will be a python backtrace that confirms this.
Also please post the ouput of 'locale'.

As a workaround, see if running onboard in english helps. This only changes the 
language of the user interface and won't affect your keyboard layout:
LANG=en_US.UTF-8 onboard

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-14 Thread David López
Thanks for your quick answer.

That's the output from the terminal:

david@david-M11JB:~$ onboard
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/Onboard/KeyboardGTK.py, line 402, in 
draw
item.draw_image(context)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 148, in 
draw_image
pixbuf = self.get_image(rect.w, rect.h)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 338, in 
get_image
filename = config.get_image_filename(self.image_filename)
  File /usr/lib/python2.7/dist-packages/Onboard/Config.py, line 422, in 
get_image_filename
system_filename_func = lambda x: \
  File /usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py, line 251, in 
_get_user_sys_filename
(description, filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal 
not in range(128)
-

If I open onboard from terminal and navigate (blindly) to the
preferences icon the output is:

david@david-M11JB:~$ onboard
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/Onboard/KeyboardGTK.py, line 402, in 
draw
item.draw_image(context)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 148, in 
draw_image
pixbuf = self.get_image(rect.w, rect.h)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 338, in 
get_image
filename = config.get_image_filename(self.image_filename)
  File /usr/lib/python2.7/dist-packages/Onboard/Config.py, line 422, in 
get_image_filename
system_filename_func = lambda x: \
  File /usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py, line 251, in 
_get_user_sys_filename
(description, filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal 
not in range(128)
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/Onboard/KeyboardGTK.py, line 402, in 
draw
item.draw_image(context)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 148, in 
draw_image
pixbuf = self.get_image(rect.w, rect.h)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 338, in 
get_image
filename = config.get_image_filename(self.image_filename)
  File /usr/lib/python2.7/dist-packages/Onboard/Config.py, line 422, in 
get_image_filename
system_filename_func = lambda x: \
  File /usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py, line 251, in 
_get_user_sys_filename
(description, filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal 
not in range(128)
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/Onboard/KeyboardGTK.py, line 402, in 
draw
item.draw_image(context)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 148, in 
draw_image
pixbuf = self.get_image(rect.w, rect.h)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 338, in 
get_image
filename = config.get_image_filename(self.image_filename)
  File /usr/lib/python2.7/dist-packages/Onboard/Config.py, line 422, in 
get_image_filename
system_filename_func = lambda x: \
  File /usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py, line 251, in 
_get_user_sys_filename
(description, filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal 
not in range(128)
Traceback (most recent call last):
  File /usr/lib/python2.7/dist-packages/Onboard/KeyboardGTK.py, line 402, in 
draw
item.draw_image(context)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 148, in 
draw_image
pixbuf = self.get_image(rect.w, rect.h)
  File /usr/lib/python2.7/dist-packages/Onboard/KeyGtk.py, line 338, in 
get_image
filename = config.get_image_filename(self.image_filename)
  File /usr/lib/python2.7/dist-packages/Onboard/Config.py, line 422, in 
get_image_filename
system_filename_func = lambda x: \
  File /usr/lib/python2.7/dist-packages/Onboard/ConfigUtils.py, line 251, in 
_get_user_sys_filename
(description, filename))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 2: ordinal 
not in range(128)

(python:3328): Gtk-WARNING **: Unknown property: GtkGrid.n-rows

(python:3328): Gtk-WARNING **: Unknown property: GtkGrid.n-columns

(python:3328): Gtk-WARNING **: Unknown property: GtkGrid.n-rows

(python:3328): Gtk-WARNING **: Unknown property: GtkGrid.n-columns



I comment you about my locale, not sure if it's related with the bug, the iso 
which I use to install ubuntu is not the official release from ubuntu.com, it's 
from an Italian company and it includes Italian language. Some days ago I 
unistalled Italian language (sorry, I can't remember if it was before of after 
the icon problem). Today I've reinstalled the Italian language, but 
unfortunately the bug is not solved.

That's my locale:

david@david-M11JB:~$ locale
LANG=es_ES.UTF-8
LANGUAGE=es_ES:it:en_GB:en

[Bug 916056] Re: Missing mouse buttons

2012-01-14 Thread marmuta
Thank you, this confirmed it. I'll see if I can get you another
workaround.

** Changed in: onboard (Ubuntu)
   Status: New = Confirmed

** Also affects: onboard
   Importance: Undecided
   Status: New

** Changed in: onboard
   Status: New = In Progress

** Changed in: onboard
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-13 Thread David López
** Attachment added: onboard.zip
   https://bugs.launchpad.net/bugs/916056/+attachment/2672522/+files/onboard.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/916056/+subscriptions

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


[Bug 916056] Re: Missing mouse buttons

2012-01-13 Thread Charlie Kravetz
** Tags added: a11y

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/916056

Title:
  Missing mouse buttons

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/onboard/+bug/916056/+subscriptions

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