Repository navigation
Ariadne: a closed peer camera window comes back from the View menu - #962
Merged
Merged
Conversation
The built-in Windows menu (§5.9) left out the windows a `repeat:` makes, so conference_roster.ari's per-peer camera windows, once closed with their X, could only come back by clicking that peer's name in Users, which nothing pointed to. - The Windows menu now lists each instance of a repeated window under the title it shows (its bind:, else its label), following the repeat's count each frame. Ticking one opens it and brings it to the front. A repeated closable window also counts as closable, for the menu bar a document without one gets. - conference_roster.ari sets `windows_menu: View`, so the cameras are listed by name at the end of its View menu. Each camera window's open state now stays with the person when the roster reorders, like their cam/mic/volume. The name in Users has a "Show their camera" tooltip.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closing another person's camera window in the conference left no visible way to get it back. Ariadne's built-in Windows menu (§5.9) skipped any window made by
repeat:, and the per-peer cameras are made that way. Clicking the person's name in Users did reopen it, but nothing said so.What changes
ariadne.cpp): the Windows menu now lists each instance of a repeated window.bind:, else its label with{i}filled in).conference_roster.ari:windows_menu: Viewlists the peer cameras by name at the end of the View menu, after a separator.ctl.<pid>.win), like cam/mic/volume. Before, it was per row index, so when the roster reordered (someone joining with a lower pid), a closed window moved to someone else.Tests
AriadneRuntime.WindowsMenuListsEachRepeatedWindowUnderItsTitlecovers:WindowsMenuWithoutADocumentMenubaris updated: a repeated closable window now gets the menu.ariadne_runtime_test246/246,ariadne_loader_test210 passed (2 skipped).ariadne_host_testhas the same 11 failures (~39 s timeouts) before and after this change on this machine, so they are environmental.