Feature request: shortcut for strikethrough

Bug #1921517 reported by Morten Jakobsen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xpad
New
Undecided
Unassigned

Bug Description

I see it is currently possible to apply bold, italic and underline formatting for text using associated shortcuts. However, I see there is no shortcuts for applying strikethrough text.

I have added the feature to my own copy of the program by changing line 1741 in xpad-pad.c from:

    MENU_ADD (_("_Strikethrough"), "format-text-strikethrough", 0, 0, menu_strikethrough);

To this:

    MENU_ADD (_("_Strikethrough"), "format-text-strikethrough", GDK_KEY_s, GDK_CONTROL_MASK, menu_strikethrough);

If possible, I'd like to have this change added to upstream, so everyone can benefit from it.

Tags: feature
Revision history for this message
Arthur Borsboom (arthurborsboom) wrote :

Hi Morten,

Adding additional shortcut / keyboard-combinations is a bit tricky.

Some shortcuts are so common that it is clear, such as CTRL+C, CTRL+V.
Some shortcuts are less used, such as CTRL+ALT+O.

CTRL+S in my experience, refers to Save.
Of course that doesn't make any sense for Xpad, which auto saves every couple of 5 seconds or so.

Nevertheless, I have an unusual motoric problem, with the CTRL+S pressing it everywhere in every application, which I taught myself as a reflex when programming.

In this case It might add strike through at places everywhere.
For everybody this is different.

I think for this reason, it would be better to have configurable shortcuts.
So that everybody can have the key combinations he/she likes.
This has been discussed/proposed several times.

https://bugs.launchpad.net/xpad/+bug/1892984
https://bugs.launchpad.net/xpad/+bug/1833163

Do you have an interest to implement this generic functionality?

Meaning, a new configuration page of key combinations for several actions and of course the actual workings of it.

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.