Bug 94522 - Keyboard shortcut assigned to a macro is not saved in the document
Summary: Keyboard shortcut assigned to a macro is not saved in the document
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
4.4.3.2 release
Hardware: Other All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevEval
Depends on:
Blocks: Shortcuts-Accelerators
  Show dependency treegraph
 
Reported: 2015-09-26 08:25 UTC by gmolleda
Modified: 2020-08-26 18:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gmolleda 2015-09-26 08:25:33 UTC
Atajo de teclado asignado a una macro no se guarda en el documento:

Falta que LibreOffice guarde la tecla asignada a una macro en el fichero del documento cuando la macro está guardada en tal fichero. Así si creas una macro y le asignas una tecla, al abrir el fichero en otro ordenador, siga funcionando la macro con la misma tecla y no haya que volver a configurar la tecla en cada ordenador donde se vaya a abrir el documento.

Por supuesto que esa asignación debería ser olvidada en cuanto se cerrara el documento o se pasara a otro, pues no afectaría al programa en general, sólo a ese documento que contiene la macro.
______________________________________________________
Klavkombino atribuita al makroo ne konservas en dokumenton:

LibreOffice devas konservi la klavkombinon en la dosiero kiam la makroo estas savita en tiu sama dosiero. Do se vi kreas makroon kaj atribuas klavkombinon, kiam ĝi malfermas la dosieron en alia komputilo, la makroo daŭre funkciigas kun la sama klavkombino kaj ne devas reagordi la klavkombinon en ĉiu komputilo kie malfermos la dokumenton.

Kompreneble, tiu atribuo devus esti forgesita tuj kiam la dokumento estas fermita aŭ interŝanĝis al alia, kiel ĝi ne tuŝus la ĝeneralan programon, nur ke la dokumento enhavanta la makroon.
______________________________________________________
Using English internationally is discriminatory for nationality (racism) and salary (classicism). Esperanto is better as a world's second language.

Keyboard shortcut assigned to a macro is not saved in the document:

LibreOffice need to keep assigned to a macro file in the document when the macro is saved in this key file. So if you create a macro and assign a key to open the file on another computer, the macro continues to operate with the same key and not have to reconfigure the key on each computer where it is to open the document.

Of course, that allocation should be forgotten as soon as the document is closed or switched to a different, as would not affect the overall program, only that the document containing the macro.
Comment 1 gmolleda 2015-09-27 14:49:37 UTC
-------- Español ---------
Mientras se puede crear el atajo de teclado desde la propia macro y luego eliminar el atajo al cerrar el documento tal como enseñan a hacer en este blog:
http://blog.open-office.es/index.php/basic/2015/09/26/macro-para-asignar-una-macro-a-un-atajo-de-teclado

-------- Esperanto ---------
Intertempe vi povas krei la klavkombinon en la makroo kaj poste ĝi forigos la klavkombinon kiam vi fermos la dokumenton kiel ilia instruas en la blogo (en la hispana):
http://blog.open-office.es/index.php/basic/2015/09/26/macro-para-asignar-una-macro-a-un-atajo-de-teclado

-------- English ---------
While you can create a keyboard shortcut for the macro itself and then delete the shortcut to close the document as taught to do in this blog (in Spanish):
http://blog.open-office.es/index.php/basic/2015/09/26/macro-para-asignar-una-macro-a-un-atajo-de-teclado
Comment 2 tommy27 2016-11-26 05:58:54 UTC
enhancement request. status NEW.
needsDevEval to see if this is technically feasible.
Comment 3 Cor Nouws 2017-03-06 14:32:41 UTC
(In reply to gmolleda from comment #0)
> Keyboard shortcut assigned to a macro is not saved in the document:

Hi gmolleda: do you know if this worked in older versions?
I see bug 103586 and that used to work in the past..
Thanks - Cor
Comment 4 gmolleda 2019-04-14 06:44:33 UTC
English in the end of comment:

Esperanto:
Mi ne pensas tion. Kion mi demandas estas, ke se la fulmolavo estas aplikita al makroo ene de Calc-libro, la fulmoklavaroj devas esti konservitaj ene de la dosiero por ĝi estu importita al alia komputilo kiam la dosiero malfermiĝas.
Estus necese apartigi, kiel la makroojn, inter LibreOffice fulmoklavaroj kiel programo, de la fulmoklavaroj de specifa libro aŭ dosiero.

Español:
Yo no creo, lo que pido es que si el atajo de teclado se aplica a una macro dentro de un libro de calc, el atajo de teclado debe guardarse dentro del fichero para poder ser importado en otro ordenador cuando abra el fichero.
Haría falta separar, igual que las macros, entre atajos de teclado de libreoffice como programa, de los atajos de teclado de un libro o fichero concreto.

English:
I do not think. That I'm asking is that if the keyboard shortcut is applied to a macro within a calc book, the keyboard shortcut must be saved inside the file so it can be imported into another computer when the file is opened.
It would be necessary to separate, like the macros, between libreoffice keyboard shortcuts, from the keyboard shortcuts of a particular book or file.
Comment 5 chbok 2020-06-26 19:50:27 UTC
I fully understand the bug. I also tried to associate a keyboard shortcut with a macro inside a document, so that other users could access it easily.

Unfortunately, this is not possible. The customize menu does not allow you to assign a shortcut only to libreoffice, but not to a document (calc or doc). The shortcut therefore only works on the computer that assigned it.