Global and choosable Keystrokes

Bug #791341 reported by Jannis Menn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Transcribe
Fix Released
Undecided
Unassigned

Bug Description

It would be nice to have global and choosable keystrokes for the most important features, namely play/pause, foward, backwards. These should be selectable by the user (like it is implented very nicely in the VLC-player). This is specially important, when using the program with a footswitch. Using transcribe in KDE, I have not found a possibility to use the program without switching from my text-editor to transcribe all the time.

Changed in transcribe:
status: New → Won't Fix
Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Thanks for the feature request.

Global keystrokes are already implemented, but they depend on GNOME Settings Daemon. They can be configured, but also via GNOME shortcut settings.

I evaluated several methods of global keyboard shortcuts. GNOME Settings Daemon was by far the easiest one. Others almost always rely on Xlib hacks which are error prone, conflict with GSD and depend on X. Therefor, I set this to "Won't fix", which means "Works for me" and "I won't fix it (in the foreseeable future)".

But if someone finds an elegant way to implement global keyboard bindings in non-GNOME environments, I’d happily welcome patches. Another possibility could be evaluating the use of GNOME Settings Daemon under KDE, but I don’t know if that is possible.

Revision history for this message
Jannis Menn (jannis-menn) wrote :

I found a way to use the keystrokes with kde as well. You can use the "use own keystrokes" menu in the KDE konfiguration (KDE 4.6.2). There I define a global keystroke (f.e. F5) to be captured. I then can choose to pass any keystroke to a window which I specify.

Anyhow, to make use of this function, I need the program to have keystrokes implented for alle the functions. Like you have done it with the "faster/slower" functions, which can be used pressing "strg+f/strg+s". Maybe you could set similar keystrokes for the functions play/pause and foward/backward? That would make the program finally usable for me, which would make me very happy, as I have a lot to transcribe recently :-)

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Thanks for the idea. That should be easily doable. I didn’t add shortcut for these because normally the GNOME media shortcuts are used. But this should be an easy addition with no drawbacks. I’ll see if I find the time over the weekend.

Changed in transcribe:
status: Won't Fix → Triaged
Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Fixed in trunk. I’m a bit reluctant to releasing a new version with this tiny change, so is it okay for you to pull this fix from bzr?

Changed in transcribe:
status: Triaged → Fix Committed
Revision history for this message
Jannis Menn (jannis-menn) wrote :

Thank you very much, works great! It's no problem for me to download it from trunk, but I think it's not such a small thing. At least for me it made the difference between usable and not-usable.

One suggestion for an improvement: The keystrokes for Foward/Backward only work when playback is active. When in pause, they have no effect (using the options in the menu works though).

I would like to write a small manual how to configure global keystrokes for transcribe with KDE. Do you know a good place to publish this? Some kind of documentation, a blog or something?

Yours,

Jannis

Revision history for this message
Frederik Elwert (frederik-elwert) wrote :

Regarding the keystrokes not having effect: I think they have an effect, but the GUI is not always updated properly. I noticed this before. There seems to be a race condition between the GStreamer pipeline seeking to the new position and the GUI querying the position from the pipeline. I could add a small delay between these operations, but I think that would be just a work around and not a proper solution. If anyone has an idea how to solve this properly, I’d be glad to hear about it.

Regarding documentation: There is currently only a bit of documentation in German at <http://wiki.ubuntuusers.de/Transcribe>. Eventually, I might add a proper help document to Transcribe, but this is currently not top priority. But if you’d like to help out, suggestions are always welcome.

I reported these issues as bug #804771 and bug #804773.

Changed in transcribe:
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.