Bug 842996

Summary: Control center does not install nor allow to start recording macros
Product: [openSUSE] openSUSE Tumbleweed Reporter: Humberto Sachs <hws>
Component: YaST2Assignee: E-mail List <yast2-maintainers>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: hws, mvidner
Version: 13.1 Beta 1   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Humberto Sachs 2013-09-28 17:06:55 UTC
User-Agent:       Mozilla/5.0 (X11; Linux i686; rv:23.0) Gecko/20100101 Firefox/23.0

Following KDE instructions fails to open as well as to install macro.ycp. Therefore I cannot run macros which are so important to report bugs as well as carry other recording tasks. 
The instructions: 
Start a YaST2 module in Qt (grahpical) mode - from the YaST2 control 
center, from the KDE control center, from the desktop menu or via command line.
    To record a macro, press Alt-Ctrl-Shift M The sequence of first Alt, then 
Ctrl, then Shift is important! A file selection box opens prompting you to 
enter a file name for the macro. Make sure you have write permission to the 
directory you select.
    Work with the YaST2 module as usual.
    Press Alt-Ctrl-Shift M again to stop recording. When the module is finished 
of course recording stops automatically.
    Start the same module again.

    To play a macro, press Alt-Ctrl-Shift P.

    A file selection box opens. Select the macro file you recorded earlier.
    Watch the YaST2 module replay the same you did when recording the macro. 
The command line also does not work:
/usr/lib/YaST2/bin/y2base some_yast2_module qt --macro /wherever/macro.ycp

    

Reproducible: Always

Steps to Reproduce:
1.Open control center (YaST); or try the command line; or try hot keys
2.The control center does not have a link to macros
3.The command line or hot keys do not work.
Actual Results:  
Nothing happens exept that the Konsole replies "No such client module some_yast2_module
The search path follows. It does not include the current directory.
  /y2update/clients
  /home/hws01/.yast2/clients
  /usr/share/YaST2/clients




Expected Results:  
Start the recording, or at least allow me to install it -
Comment 1 Stefan Dirsch 2013-09-30 09:49:43 UTC
Correcting component.
Comment 2 Martin Vidner 2013-10-01 11:04:04 UTC
I suppose you are following this documentation: http://doc.opensuse.org/projects/YaST/openSUSE11.3/tdg/bk10ch01s04.html (source: https://github.com/yast/yast-ycp-ui-bindings/blob/a3112616c91272c3aae6bba19c0ab486fd53cf37/doc/macro-recorder.xml )

What are you trying to use macros for?
Comment 3 Humberto Sachs 2013-10-02 01:23:20 UTC
The macros are intended to allow me to build presentations, such as the combined used of tmED Calculus 101, Genius lab, and LibreOffice Formulas.
Comment 4 Martin Vidner 2013-10-03 07:40:32 UTC
Um, I don't see how *YaST* macros are supposed to help with *LibreOffice* or some other programs (which I don't recognize). But anyway:

The macros are not supposed to work in YaST Control Center, only in the individual modules launched from it.

From the YaST Control Center, I select User and Group Management, then Alt-Ctrl-Shift-M gives me the macro file selection dialog, as documented. Playback works as well.

As for the command line, you are supposed to substitute some_yast_module with a real module name, which you can obtain by choosing from the output of `yast2 -l`.
Comment 5 Humberto Sachs 2013-10-03 20:05:10 UTC
I do not understand how this bug is close - I never said that the recording is a YaST tool or activity or whatever.  It is a KDE tool, clearly referenced in its documentation. Yast was only mentioned because I could not install the tool <install macro.ycp>
Comment 6 Steffen Winterfeldt 2013-11-19 10:21:12 UTC
You were referring to the yast macro recorder documentation. The yast macro
recorder is (as Martin said) only for yast modules. But you seem to be looking
for a general macro recorder.

I'm not aware of a special kde macro recorder. But you could try xnee.