Ubuntu

Keyboard Entry Doesn't Work

Reported by Lukas Sabota on 2006-04-08
This bug report is a duplicate of:  Bug #48463: Keyboard entry doesn't work. Edit Remove
12
Affects Status Importance Assigned to Milestone
noteedit (Ubuntu)
Medium
Unassigned

Bug Description

Noteedit supports a feature called Keyboard Entry. This is toggled with ctrl-K, and allows you to enter notes using keyboard shortcuts. This does not work, and notes can ONLY be entered using the mouse.

I am using Dapper Drake x86 and GNOME.

I can confirm this problem in my two computers (desktop and laptop). Running Dapper and gnome. The problem is not only entering notes with keyboard shortcuts. In fact, you cannot do anything with the keyboard (for example, you are not able to delete notes with Backspace or Del, (which is a *big* problem). The keyboard works in other parts of the program as the settings dialog, the problem seems to be only in the editor. Before installing Dapper, I worked with this version of Noteedit in other linux (madriva) without problem.
When I start the app, it shows these messages:
oscar@ubuntuoscar:~$ noteedit
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
Link points to "/tmp/ksocket-oscar"
Link points to "/tmp/kde-oscar"
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
  Major opcode: 148
  Minor opcode: 3
  Resource id: 0x0
Failed to open device
kbuildsycoca running...
Reusing existing ksycoca
kio (KSycoca): ERROR: No database available!
LilyPond check: not available.
TSE3 ALSA MIDI scheduler created
TSE3 Copyright information :(c) Pete Goodliffe, 2000-2002. A Trax Software Product. Version: 0.3.1

I found the solution for this bug (thank you, Google!)
I followed the instructions from this page:
http://cbenz.tuxfamily.org/index.php?n=Main.NoteeditBug

First I downloaded the source of noteedit for ubuntu (using deb-src ttp://es.archive.ubuntu.com/ubuntu/ dapper universe) with the command
apt-get source noteedit, then I edited noteedit/mainframewidget.cpp, changing:

 keys_ = new KAccel(this);

by:

 keys_ = new KAccel((QWidget*)this->parent());

After this, I only needed to rebuild the package and keyboard is working OK now. Could this fix be applied to ubuntu package? Thanks.

For your convenience I uploaded the packages with the fix to my website:
http://www.arrakis.es/~caret/noteedit_2.8.0-2_i386.deb
http://www.arrakis.es/~caret/noteedit-data_2.8.0-2_all.deb
These packages are compiled (with the fix) in Ubuntu Dapper (the source of noteedit comes from deb-src http://es.archive.ubuntu.com/ubuntu/ dapper universe)
I hope it will be useful until we get the updated official package.

oscar (oscar84) wrote :

Warning: the packages of noteedit that I put in the previous comment are not official packages. If you install it, you will get a noteedit version without the bug, but the update-manager tool will propose you to update these packages (noteedit and noteedit-data) to the official ones.

emilio (emilioprocaccini) wrote :

When this package without bug can be official?

Hello!

On Sun, Oct 08, 2006 at 06:51:56PM -0000, emilio wrote:
> Also i confirm that problem was solved by compiling the package to
> this form. But when the new package can be official in ubuntu's universe
> repository?

It could also be considered to make a back-port of Noteedit 2.8.1, which
has the bug fixed in the official release (at least I think it has) and
which is now available in Debian unstable:
<http://packages.debian.org/unstable/sound/noteedit>.

Regards,
 Thomas

Il giorno dom, 08/10/2006 alle 19.11 +0000, Thomas Schwinge ha scritto:
> Hello!
>
> On Sun, Oct 08, 2006 at 06:51:56PM -0000, emilio wrote:
> > Also i confirm that problem was solved by compiling the package to
> > this form. But when the new package can be official in ubuntu's universe
> > repository?
>
> It could also be considered to make a back-port of Noteedit 2.8.1, which
> has the bug fixed in the official release (at least I think it has) and
> which is now available in Debian unstable:
> <http://packages.debian.org/unstable/sound/noteedit>.
>
>
> Regards,
> Thomas

Thank you
Emilio

ski_phreak (ski-phreak) wrote :

The solution to apt-get pestering you to upgrade is to "hold" the packages as follows.

> su
  <root password>

>echo "noteedit hold" | dpkg --set-selections
>echo "noteedit-data hold" | dpkg --set-selections

("sudo echo..." will not work; the permissions for read/write in dpkg aren't okay.)

if you ever need to release the hold, replace the word hold with the word install.

(still as root)
>echo "noteedit install" | dpkg --set-selections
>echo "noteedit-data install" | dpkg --set-selections

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers