Hotkeys don't work with indicator-application

Bug #685309 reported by Nicolas Chachereau
236
This bug affects 58 people
Affects Status Importance Assigned to Milestone
tomboy
Unknown
High
tomboy (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: tomboy

Steps to reproduce:
0. (optional) Open Tomboy preferences, choose tab "Hotkeys" and configure some hotkeys, e.g. <Alt>F12 to "Show notes menu", and close the preference window.
1. Press predefined key combinations.

Expected behaviour:
The defined behaviour is executed: the "Start here" note is opened, the "Search all notes" window, or Tomboy's indicator-application menu, just like the panel-applet menu in the original/upstream version of Tomboy, or like pressing <Super>S opens the Shutdown menu.

Observed behaviour:
Nothing happens.

This is always reproducible. (Using Ubuntu 10.10 "Maverick Meerkat")

If someone could take the time to fix this, I'm sure I would not be the only one who would be very grateful. This really makes a big difference between the upstream version of Tomboy and the one in Ubuntu.

Revision history for this message
Jeff Frederick (jfred99) wrote :

This feature worked in 10.04 using tomboy 1.2.1-0ubuntu1, but as noted does not work in 10.10 using 1.4.0-0ubuntu1

Revision history for this message
Oliver Sauder (sao) wrote :

Can confirm this bug too.

As a workaround add Tomboy to the panel ("Add to panel -> "Tomboy Notes") to be able to use the hotkey again.

Changed in tomboy (Ubuntu):
status: New → Confirmed
Revision history for this message
Sandy Armstrong (sanfordarmstrong) wrote :

This is a bug in Ubuntu's appindicator patch for Tomboy (or in appindicator itself maybe, I don't know), not in upstream Tomboy.

Steven Sagle (sx-sagle)
description: updated
Revision history for this message
Johann Ish (johannish) wrote :

Confirmed here on Ubuntu 10.10. I'm looking forward to this fix!

Robert Roth (evfool)
Changed in tomboy (Ubuntu):
importance: Undecided → Low
Revision history for this message
Bram Smulders (bramsmulders) wrote :

I'd like to confirm this for Ubuntu 11.04 Beta1.
A possible workaround is given here: http://ubuntuforums.org/showpost.php?p=10490724&postcount=5

Revision history for this message
Adolfo R. Brandes (arbrandes) wrote :

Another workaround: if you don't need or use Tomboy's synchronization features, you can try Gnote. It looks and works exactly the same (it can even read the same note files), AND its hotkey support works with 11.04. It doesn't have an indicator icon yet, though.

Revision history for this message
Eloquence (eloquence) wrote :

While I agree that in terms of overall system functionality this is a "low" priority, having a user preference option that's effectively dead and broken is very bad usability and very frustrating for Ubuntu users. Imagine fiddling with a preference repeatedly to no effect whatsoever. IMO it would be preferable to remove the hotkey feature entirely unless it can be restored to functionality, and making a decision either way would be good for the next release.

BTW, this hotkey functionality_is_ a key feature for a notetaking application, because it's fundamentally what makes it possible to integrate it with day-to-day workflow. And the workaround is not in fact a complete workaround, because tomboy ignores parameters if there's a running instance. Finally, the panel workaround did not work for me (tomboy isn't listed in the "add to panel" list; a panel applet is running after tomboy is executed, but the hotkey isn't working).

Revision history for this message
Niriel (daneel-libre) wrote :

I have the same problem than Eloquence: tomboy doesn't appear in the list of things I can add to the panel. In addition of the hotkeys not working.

Revision history for this message
Adolfo R. Brandes (arbrandes) wrote :

Just a quick note to say that this also happens on 11.10, both under Unity or Gnome Shell.

Revision history for this message
Ronan Jouchet (ronj) wrote :

I confirm this bug still affects Tomboy 1.8.0 in Ubuntu 11.10 under Unity and GNOME Shell.

Also, the following thread proposes a workaround (declare global GNOME keyboard shortcuts using Tomboy's command-line arguments), but it is ineffective as long as Tomboy is running (i.e. always) and returns [ERROR 19:59:45.300] Tomboy is already running. Exiting...
http://ubuntuforums.org/showthread.php?p=10490724

Revision history for this message
Ronan Jouchet (ronj) wrote :

Last minute note: keyboard shortcuts work fine under Tomboy 1.8.0 / Fedora 15.

Revision history for this message
Martin Gasparek (martin-gaspo) wrote :

I would appreciate if somebody looks into this bug!

Revision history for this message
Martin Gasparek (martin-gaspo) wrote :

I have a question.

How can you assign this bug low importance, when it has highest heat?

Revision history for this message
Ronan Jouchet (ronj) wrote :

Hi Martin. Whether you like it or not, nobody has yet looked at this bug. Complaining about it will not solve the problem, it will most likely annoy the subscribers. See https://philipballew.wordpress.com/2011/10/08/coplaining-about-bugs-but-not-helping-to-fix-them/

So please, if this bug really matters to you, see what you can do to help fixing it even if you are not a coder: contact upstream, ask on IRC, ask an experienced coder, try to get the bug assigned to somebody or as a papercut, etc.

Cheers.

Revision history for this message
Tuomas Launiainen (tlauniainen) wrote :

Possible workaround: create python scripts that do the desired operations, and add global shortcuts to them. Examples:

newnote.py:
#!/usr/bin/env python
import dbus, gobject, dbus.glib
tomboy = dbus.Interface(dbus.SessionBus().get_object("org.gnome.Tomboy", "/org/gnome/Tomboy/RemoteControl"), "org.gnome.Tomboy.RemoteControl")
tomboy.DisplayNote(tomboy.CreateNote())

showsearch.py:
#!/usr/bin/env python
import dbus, gobject, dbus.glib
tomboy = dbus.Interface(dbus.SessionBus().get_object("org.gnome.Tomboy", "/org/gnome/Tomboy/RemoteControl"), "org.gnome.Tomboy.RemoteControl")
tomboy.DisplaySearch()

showstartnote.py:
#!/usr/bin/env python
import dbus, gobject, dbus.glib
tomboy = dbus.Interface(dbus.SessionBus().get_object("org.gnome.Tomboy", "/org/gnome/Tomboy/RemoteControl"), "org.gnome.Tomboy.RemoteControl")
tomboy.DisplayNote(tomboy.FindStartHereNote())

I made these with the help of <http://arstechnica.com/open-source/news/2007/09/using-the-tomboy-d-bus-interface.ars>.

Revision history for this message
MichalR (rehak-michal) wrote :

Great workaround Tuomas, it worked for me beautifully.
How is it possible that maintainers or authors of the tomboy were not able to provide this info for two years? Is there some communication issue or simply just no one cares?

Revision history for this message
Ronan Jouchet (ronj) wrote :

Thanks also to Tuomas for the workaround!

One annoyance I have with this method though, is that the windows are generated _behind_ my other windows and the GNOME bottom notification bar appear, saying 'Tomboy is ready'. I'd prefer the window to pop up on to of other windows.

Do you have the same behavior? Options to change it?

Revision history for this message
Ronan Jouchet (ronj) wrote :

Note there is some activity upstream:
https://bugzilla.gnome.org/show_bug.cgi?id=651530

The issue seems due to some tricky keyboard layout options. I tried what Comment 7 proposes ( https://bugzilla.gnome.org/show_bug.cgi?id=651530#c7 ), and a few other options combinations, without success.

Mickael, Martin, Tuomas, Adolfo, could you try changes some of those settings and see if it works for you? Try posting your results upstream, also. Thanks!

Revision history for this message
Jose Antonio Martin Prieto (jantonio-martin) wrote :

I have the same problem with Tomboy-1.10.1 under Ubuntu 12.04.

Changed in tomboy:
importance: Unknown → High
status: Unknown → Confirmed
Changed in tomboy:
status: Confirmed → Unknown
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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