OpenRV icon indicating copy to clipboard operation
OpenRV copied to clipboard

[Bug]: saveSession asACopy doesn't work

Open mircotornow opened this issue 4 months ago • 0 comments

What happened?

When trying to save a session only as a copy (shouldn't become the current sessions name) it still saves it normally. There doesn't seem to be a difference between asACopy=false or true.

commands.saveSession(<fileName>, asACopy=true) -> This is the same in mu and python

From the documentation (mu command api):

Function: saveSession

Path: commands.saveSession

saveSession (void; 
              string fileName,
              bool asACopy = false,
              bool compressed = false,
              bool sparse = false)

Description Save a .rv file for the session as fileName. If asACopy is true then fileName will not become the session's file name. If compressed is true the file will be a compressed binary .rv file otherwise it will be human readable UTF-8 encoded text file. If sparse is true the session file will not contain most properties that still have their default values.

Tested on: OpenRV 2.2.0

List all the operating systems versions where this is happening

Windows 10, AlmaLinux9

On what computer hardware is this happening?

any

Relevant console log output

/

Environment variables

No response

Extra information

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

mircotornow avatar Sep 19 '25 07:09 mircotornow