onboard middle click simulator doesn't work as in prvious versions such as 0.93

Bug #1191098 reported by kenn
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Onboard
Fix Released
Wishlist
Unassigned

Bug Description

I heavily use onscreen keyboard I noticed that middle click simulator doesn't work as expected, it doesn't function properly. For example I used to rotate desktop cube by clicking "middle click" onboard and dragging mouse to flip desktop, it run smoothly in version 0.93 series but it's very diffrent in recent versions such as 0.97, 0.99.. it doesn't function as expected. Would you please check it out or is it functioning in a way that I don't know of?

Revision history for this message
marmuta (marmuta) wrote :

True, Onboard 0.93 allowed for dragging with right and middle buttons. Unfortunately, the ctypes code used for that caused enough grief that we had to drop it. The button remapping was replaced with a more robust C-based solution, but from then on we could only do one-shot clicks on button down. I'd like to try, but I'm not sure we can change this.

Changed in onboard:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
kenn (whatnext) wrote :

Thank you for clarification. I managed to replace 0.9 with 0.93. I can bare with theme. I ll use it till you correct it.

Revision history for this message
marmuta (marmuta) wrote :

Kenn, the old click behavior has returned, dragging with middle and right click should be possible again. There is still a risk of 0.93 style trouble, in particular buttons getting permanently stuck remapped, but I believe it is less likely to happen this time. Also no ctypes involved.

I've asked Francesco to prepare a package in our snapshot PPA. He'll let you know when it's ready.

Changed in onboard:
status: Confirmed → Fix Committed
Revision history for this message
Francesco Fumanti (frafu) wrote :

The package is available in our Snapshots PPA:
https://launchpad.net/~onboard/+archive/snapshots

Revision history for this message
kenn (whatnext) wrote :

Marmuta, thank you very much for your efforts. You managed to fix it. Unfortunately I haven't tested it yet. I added the repo but i can not install it, I think it's related to repo or my software updater. I hope it runs as in 0.93.

Revision history for this message
kenn (whatnext) wrote :

I tried to install it manually. At first I removed onboard and I installed some dependencies, python3.2, python3.2-minimal, libdconf0.
But it gives me foolowin error that I can not solve :The following packages have unmet dependencies:
 onboard : Depends: python3 (< 3.3) but 3.3.1-0ubuntu1 is to be installed
I have already python3 installed.

Revision history for this message
marmuta (marmuta) wrote :

What distribution is this?
cat /etc/issue

I'm not 100% sure, but If you are on Ubuntu 13.04 or later, I would remove python3.2 and friends and let apt install onboard's dependencies. This will probably install python3.3. Onboard itself only requires >=python3.2, though.
sudo apt-get remove python3.2, python3.2-minimal, ...
sudo apt-get install onboard

Besides, we'll need to prepare a new snapshot for you. There have been changes due to Bug #1210575 that resulted in yet another new click strategy. The previous one I described above is still there, but only as a fall-back. The behavior should still be the same, though, right/middle dragging works here in either case.

Revision history for this message
Francesco Fumanti (frafu) wrote :

I uploaded revision 1559 of trunk to our Snapshots PPA. It should be available as soon as launchpad has finished building it.
https://launchpad.net/~onboard/+archive/snapshots

Revision history for this message
Francesco Fumanti (frafu) wrote :

libdconf0: it seems that kenn is running precise; quantal and later are using libdconf1. Anyway, the Snapshots PPA now has a builds for precise, quantal, raring and saucy.

Revision history for this message
kenn (whatnext) wrote :

I use "Zorin OS 7 \n \l", it's based on ubuntu 13.04 32 bit. I just connected to the net, I ll try it again and inform you soon

Revision history for this message
kenn (whatnext) wrote :

I downloaded source packege and run sudo ./setup.py install, it gives me "To build Onboard you need https://launchpad.net/python-distutils-extra" I already installed that package

Revision history for this message
marmuta (marmuta) wrote :

Make sure you have the python 3 version installed
sudo apt-get install python3-distutils-extra

Also, if you can, better build and install the debian packages. If you want/have to build from source, get it from our bazaar repository to catch all the latest fixes.

Install (most) build dependencies:
sudo apt-get build-dep onboard

If this fails on Zorin OS you'll have to install them manually. The required packages are listed in debian/control.

Then get the source, build packages and install them:
bzr branch lp:onboard
cd onboard
debuild binary
sudo dpkg -i ../onboard*.deb

Revision history for this message
kenn (whatnext) wrote :

"sudo apt-get build-dep onboard" did the trick. I followed Marmuta's guide and installed onboard. It works without glitch, I didn't notice any misbehavior for the time being.
Thank you very much Marmuta and Fumanti. We have a fully functional and exceptional on screen keyboard.
Thank you.

Changed in onboard:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.