-
Notifications
You must be signed in to change notification settings - Fork 860
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
[MM-62241] Fix screen sharing from Calls popout window #3258
Conversation
@@ -362,6 +362,12 @@ describe('main/windows/callsWidgetWindow', () => { | |||
urlUtils.isCallsPopOutURL.mockReturnValue(false); | |||
expect(callsWidgetWindow.onPopOutOpen({url: 'http://localhost:8065/notpopouturl'})).toHaveProperty('action', 'deny'); | |||
}); | |||
|
|||
it('should pop out and make sure preload is set', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
@DHaussermann You should be familiar with this since you hit it before while testing unrelated changes. |
/update-brach |
@DHaussermann Updated |
@DHaussermann Can we prioritize QA review on this? Need to cut the RC on Monday. |
@devinbinnie Yes, happy to make this a priority. Perhaps you can assist? I tried testing this yesterday and can't get a Mac build to install.
When I unzip the build for ARM64 and try to launch it Mac OS tells me the app is damaged. Is there another way to do this? I feel like this ☝️ is exactly what I did in the past for desktop PRs |
@DHaussermann You need to add the "Build Apps for PR" label, that creates a signed app that you should be able to run. I've added it for you and you should be able to grab the build from the check when it is finished building. |
Thanks @devinbinnie I may have tried the label in the past at some point but was not sure where the build would be posted. Taking a look now on Community the Desktop Builds channel does not show any new posts for a couple days. https://community.mattermost.com/core/channels/desktop-builds Do they get posted elsewhere? |
@DHaussermann They're in the artifacts for the GitHub Action: https://github.com/mattermost/desktop/actions/runs/12831481292 |
@streamer45 I don't see this issue solved.
Can you please advice if you can repro this? |
@streamer45 @DHaussermann this ideally needs to merged before EOD today so I can cut v5.11-rc.1. Please prioritize or let me know if we plan to push this to a future RC/release. |
@streamer45 I have done a round of testing on this and the fix seems to work once I have the updated plugin build to support it.
But I see a couple issues.
Can you advise if this could also be related or if it's a completely separate?
|
Thanks @DHaussermann
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and passed
- As mentioned above, the share option now works from the expanded view
- The share option will toggle to channel view when sharing
- Confirmed issue with Leave call option in the post is resolved
- Did a click-through test to ensure all options in the modal and the expanded view are functional when using updated Calls build [MM-62241] Fix screen sharing from popout on new Desktop versions mattermost-plugin-calls#948
LGTM!
Thanks @streamer45!
Summary
As of #3174, some of the functionality in the Calls popout window (e.g. screen sharing) stopped working since
desktopAPI
is missing on the window object. Using the local preload seems to be the way to go.Since we are here, I am also adding an extra dynamic menu item to access the developer tools of the popout, which can be helpful in debugging future issues like this one.
/cc @matthewbirtch
Ticket Link
https://mattermost.atlassian.net/browse/MM-62241
Release Note