Ask Your Question
1

Custom keyboard shortcut not working [closed]

asked 2013-04-22 15:12:03 +0200

SAVEDAVE gravatar image

updated 2015-10-30 20:59:32 +0200

Alex Kemp gravatar image

Hi there

I am using Version 4.0.1.2 on mac osx 10.8.3.

I have been trying to assign a keyboard shortcut for insert hyperlink in Writer. The keys I wanted were shift+ctrl+H. I have saved that combination for writer and for LibreOffice as a whole but when I enter the keys nothing happens at all - no dialogue box opens or anything. Nothing else happens within my computer which makes me believe that shortcut is not saved for any other OSX function, and I have checked it against this document: http://support.apple.com/kb/HT1343?viewlocale=en_US&locale=en_US

I also tried a few others like cmd+. and cmd+6, but in each case using the shortcut has no effect, despite it being saved in the customize menu.

Am I doing something wrong or is it actually impossible to make shortcut for this command?

thanks

savedave

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-30 20:59:49.722924

Comments

Thanks owen g. You were right, in as much as I was using hyperlink, not insert hyperlink, but having now switched to insert hyperlink, it has made no difference. I still experience the same issue.

SAVEDAVE gravatar imageSAVEDAVE ( 2013-04-23 00:05:47 +0200 )edit

4 Answers

Sort by » oldest newest most voted
1

answered 2013-04-22 15:30:19 +0200

oweng gravatar image

updated 2013-04-26 07:17:23 +0200

This is a contentious matter. There are a pair of old bugs AOO#56160 / FDO#50063 relating to this. It is really a terminology issue though. The problem is the name of the required Category and Function pair:

  • Edit > Hyperlink = insert a new hyperlink (via Hyperlink dialog).
  • Insert > Hyperlink = edit a highlighted hyperlink (via Hyperlink dialog).
  • Insert > Insert Hyperlink = insert a new hyperlink (via Character dialog).

You are probably using the first second one, when what you require is the second last entry. The first and second entries are conflated in terms of naming vs action.

EDIT: To clarify what I am doing here (with respect to the second and third options) I am including screenshots of the Customize dialog for Ubuntu, Win7HP, and MacOS 10.6.8. Assignment of CNTL+SHIFT+G (Ubuntu/Win7) / ⇧⌘G (MacOS 10.6.8) to "Insert > Hyperlink" and CNTL+SHIFT+H (Ubuntu/Win7) / ⇧⌘H (MacOS 10.6.8) to "Insert > Insert Hyperlink" works exactly as expected (excepting naming/action differences) on all systems. That is, Insert > Insert Hyperlink allows insertion at the point of the cursor, while highlighting an existing hyperlink and using the Insert > Hyperlink shortcut allows editing of that hyperlink. All screenshots and tests performed with LO v4.0.2.2.

It is possible that MacOS 10.8.3 and / or WinXPSP3 experience different behaviour, but that would be a platform-specific issue.

edit flag offensive delete link more

Comments

Thanks owen g. You were right, in as much as I was using hyperlink, not insert hyperlink, but having now switched to insert hyperlink, it has made no difference. I still experience the same issue.

SAVEDAVE gravatar imageSAVEDAVE ( 2013-04-23 23:34:15 +0200 )edit

That is odd. Did you have a read through the bugs? There may be some help there. Otherwise I am out of ideas. You may have found a platform-specific bug, in which case it may be worthwhile commenting in the FDO one about your situation.

oweng gravatar imageoweng ( 2013-04-24 04:10:35 +0200 )edit

Hi OwenG. I think I have understood things a little better, and it's slightly weird. I can now get the insert hyperlink to work, but not exactly with the keyboard shortcut I expected. On the customize menu I currently have the insert hyperlink shortcut set to shift-ctrl-H. Symbols are: ⇧ (up arrow), ^ (up arrow without stem), H.

But to get it to actually work I have to press shift+cmd+H.
I haven't tested to see if other shortcuts will have this error. Am I doing something wrong?

SAVEDAVE gravatar imageSAVEDAVE ( 2013-04-24 14:48:00 +0200 )edit

Try setting it to the key combo I mention above. It certainly works here, as indicated.

oweng gravatar imageoweng ( 2013-04-25 05:11:51 +0200 )edit
1

thanks oweng. this does resolve the issue for me. i still find it confusing that the previous setup I had made in the customize dialog box, shift+ctrl+H, required me to press shoft+cmd+H to get it to work. I suppose the customize menu is a buggy part of the programme at present, and should I create any other shortcuts I should expect to have to play with them a little to get them to work. I am relatively new to Libreoffice and am enjoying using it generally. SD

SAVEDAVE gravatar imageSAVEDAVE ( 2013-04-25 15:43:07 +0200 )edit

Yeah, I am not sure why your particular combination behaved as it did, but I am glad you got it working.

oweng gravatar imageoweng ( 2013-04-25 16:00:30 +0200 )edit
1

answered 2013-04-25 17:53:56 +0200

ROSt52 gravatar image

updated 2013-04-26 06:10:09 +0200

I think that I now found the "insert hyperlink" functioin in the category "insert".

I assigned also "insert" & "insert hyperlink".

image description

Wihen I use ctrl+shift+K ("insert"&"hyperlink") there is no reaction at all

Wehen I use ctrl+shift+M "insert" & "insert hyperlink") the following window opens

image description

when I use ctrl+shift+L ("edit"&"hyperlink") I get:

image description

this is for LibO 3.6.6.2 and 4.0.2.2

I hope I am now on the same track.

edit flag offensive delete link more

Comments

That is right in your example about CNTL+SHIFT+K (Insert > Hyperlink). It only works if you first highlight an existing hyperlink. Your CNTL+SHIFT+L (Edit > Hyperlink) works regardless, thus as it says in fdo#50063 the action of these two functions appears to be transposed. I can see now that I have not made this as clear as I could, so will edit my answer. The Insert > Insert Hyperlink function works as expected. Sorry for the confusion.

oweng gravatar imageoweng ( 2013-04-26 07:09:05 +0200 )edit

@oweng - I think you not create confusion. There is IMHO a bit confusion in Writer and I hope this discussion contributed to clarification and additional information to fdo#50063 . In turn I hope our devs will have soon some time to improve this.

ROSt52 gravatar imageROSt52 ( 2013-04-26 09:14:08 +0200 )edit
0

answered 2013-04-25 03:02:04 +0200

ROSt52 gravatar image

@Savedate - I think you did not do anything wrong. @oweng's bugs listening (thanks for that) made me looking into this because I am a fan of short cut keys.

Observations: When assigning a the short cut "insert" & "hyperlink" and "edit" & "hyperlink" the asssinged text in the shortcut window says in both cases only "hyperlink"

When using the shortcut key for "insert hyperlink" nothing happens, when using the shortcut key for "edit hyperlink" the Hyperlink windows opens and I can insert or edit a hyperliink.

I tested with LibO: Version 3.6.6.2 (Build ID: f969faf) and Version 4.0.2.2 (Build ID: 4c82dcdd6efcd48b1d8bba66bfe1989deee49c3) on XP Pro / SP3

and added a comment https://bugs.freedesktop.org/show_bug.cgi?id=50063

It would be good if you report your findings as well.

edit flag offensive delete link more

Comments

Can you please confirm that the shortcut shown is "Hyperlink" rather than "Insert Hyperlink" as per my screenshots above? I set both for clarity. Thanks. EDIT: I have just realised (from reading fdo#50063) you are using the "Edit > Hyperlink" shortcut. Re-read my answer above. You will see that to edit a hyperlink the shortcut is "Insert > Hyperlink".

oweng gravatar imageoweng ( 2013-04-25 05:13:22 +0200 )edit
0

answered 2013-04-25 09:57:51 +0200

ROSt52 gravatar image

@oweng - Please have a look at the screen shots.

Insert Hyperlink

image description

Edit Hyperlink

image description

edit flag offensive delete link more

Comments

1

Ros, I think you need to use a different option for insert hyperlink. It should be Insert>Insert Hyperlink, not Insert>Hyperlink

SAVEDAVE gravatar imageSAVEDAVE ( 2013-04-25 15:45:11 +0200 )edit

@ROSt52, yeah I know both those options will produce an entry titled "Hyperlink" in the shortcuts list, but this is because both use a Function with the same name. My point in my answer was that a differently named Function (as @SAVEDAVE indicates) is required.

oweng gravatar imageoweng ( 2013-04-25 16:03:58 +0200 )edit

Question Tools

Stats

Asked: 2013-04-22 15:12:03 +0200

Seen: 2,068 times

Last updated: Apr 26 '13