VirtualBox

Opened 9 years ago

Closed 9 years ago

#13983 closed defect (fixed)

Documentation Says "SaveState" in MachineShortcuts for Save State and Exit, should be "Save"

Reported by: tim 2001 Owned by:
Component: documentation Version: VirtualBox 4.3.18
Keywords: SaveState Save State Exit Cc:
Guest type: all Host type: all

Description

In the section on Host Key customization in the docs (9.19.7), it says a shortcut for Save State is set using a "SaveState=<shortcut>" value for GUI/Input/MachineShortcuts, but per the source (at VirtualBox 4.3.18 in UIActionPoolRuntime.cpp) the string should be "Save=<shortcut>".

class UIActionSimplePerformSave : public UIActionSimple
{
    Q_OBJECT;

public:

    UIActionSimplePerformSave(UIActionPool *pParent)
        : UIActionSimple(pParent, ":/vm_save_state_16px.png", ":/vm_save_state_disabled_16px.png")
    {
        retranslateUi();
    }

protected:

    QString shortcutExtraDataID() const
    {
        return QString("Save");   <<--- This is string matched for MachineShortcuts
    }

    void retranslateUi()
    {
        setName(QApplication::translate("UIActionPool", "Save State"));
        setStatusTip(QApplication::translate("UIActionPool", "Save the machine state of the virtual m`
achine"));
    }
};

Change History (2)

comment:1 by Frank Mehnert, 9 years ago

Thanks. This will be fixed in the next maintenance release. Actually the other way around, use "SaveState" instead of "Save". And this will be automatically converted.

comment:2 by Frank Mehnert, 9 years ago

Resolution: fixed
Status: newclosed

Tha fix is part of VBox 4.3.28.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use