-
-
Notifications
You must be signed in to change notification settings - Fork 511
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Moving Button Pages Breaks Links To Buttons On Changed Page #3172
Comments
I wouldn't say that this is a bug, it is just the normal behavior. If you reference page 10, then you reference page 10 by its number. It is the same with a button. If you reference location 1/2/3 and move that button to location 1/2/4, the trigger will not be updated. It actually has to stay that number and I'd consider everything else wrong. |
If the page number assignment was used as the unique key for the page, I would be able to get behind the idea that the current state is the correct behavior as opposed to a bug. However, given that the page order can be moved at all, that would seem to lend itself to the notion that the page number is in fact not a unique identifier for all of the references within that page. What's yo8ur suggesting by creating the ability to reference the page by its name that would then follow it to whatever order it is ultimately positioned in seems like an unnecessary extra step. Obviously I'd be grateful for a solution in whatever form it comes in, just my thoughts though. Cheers! |
This is a tricky one to think about, as there are differing opinions on what the 'default' behaviour should be. For example:
Also, not touching the page number is consistent with how we don't and have never updated any references to a button as it gets moved around the page. So to me, not updating the references is predictable and consistent with other things. But I do see value in there being either an alternate action, or an option, or some other way to tell companion that one of these is 'pinned' to a particular page, and not a page number. |
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
Moving a page to a new location breaks the links to all of the buttons that were linked to the page and any other pages that were reassigned as a result of that move. That is to say the references from other pages and triggers do not follow to the new page number assignments. The same behavior is true if you delete pages or insert new pages; any references throughout companion to any page numbers higher than the pages that were deleted/inserted will be incorrectly pointing to whatever page fell into place at the referenced location.
Steps To Reproduce
Assign a trigger to do a button press with assignment 10/0/0
Buttons Tab
Pages sub-tab
Move page 10 to page 6
Check your trigger, it still says 10/0/0 and whatever page fell into place for page 10 will be what the trigger fires.
Expected Behavior
All references for button presses, feedback duplication, etc. should follow the page to it's new location assignment.
Environment (please complete the following information)
Additional context
No response
The text was updated successfully, but these errors were encountered: