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:
-
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).
-
Load file "1page_withoutMapping.qxw", open virtual console.
-
Observe the "External controls" of the page "Page 1". The list is empty.
-
Load file "1page_withKeyMapping.qxw", open virtual console.
-
Observe the "External controls" of the page "Page 1". There is one external (keyboard) control: "Enable", by using Shift + X.
-
Load file "1page_withoutMapping.qxw" again.
-
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:
Desktop (please complete the following information):
- OS: Linux
- QLC+ Version: 5, latest git version (79f9100)
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:
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).
Load file "1page_withoutMapping.qxw", open virtual console.
Observe the "External controls" of the page "Page 1". The list is empty.
Load file "1page_withKeyMapping.qxw", open virtual console.
Observe the "External controls" of the page "Page 1". There is one external (keyboard) control: "Enable", by using Shift + X.
Load file "1page_withoutMapping.qxw" again.
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:
Desktop (please complete the following information):