Skip to content

[QLC5] VCPage: External keyboard controls are not reset corretly when unloading a project #2016

@mauser

Description

@mauser

Describe the bug

When loading a new project, the external keyboard controls of a virtual console's page (of the currently loaded project) are not emptied correctly. This may lead to situations where the external controls of a previously loaded project will be used for a different project (which has no external keyboard controls in its project file).

To Reproduce
Steps to reproduce the behavior:

  1. Extract the attached zip , it contains two project files
    pageWithAndWithOutExternalControl.zip

    Project file "1page_withoutMapping.qxw" contains a virtual console page without any external control.
    Project file "1page_withKeyMapping.qxw" contains a virtual page with one external control ("Enable", by using Shift + X).

  2. Load file "1page_withoutMapping.qxw", open virtual console.

  3. Observe the "External controls" of the page "Page 1". The list is empty.

  4. Load file "1page_withKeyMapping.qxw", open virtual console.

  5. Observe the "External controls" of the page "Page 1". There is one external (keyboard) control: "Enable", by using Shift + X.

  6. Load file "1page_withoutMapping.qxw" again.

  7. Observe the "External controls" of the page "Page 1". The list should be empty (as in step 3), but it is filled with the event from Step 5:

Image

Desktop (please complete the following information):

  • OS: Linux
  • QLC+ Version: 5, latest git version (79f9100)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions