leits / MeetingBar

🇺🇦 Your meetings at your fingertips in the macOS menu bar
https://meetingbar.app
Apache License 2.0
4.36k stars 188 forks source link

Bug: Closed laptop still open next meet #541

Closed GianlucaBobbioScale closed 11 months ago

GianlucaBobbioScale commented 1 year ago

App version

4.2.1

Installation source

App Version

Calendars provider (selected in app)

Describe the bug Closed laptop still open next meet. People find me on calls when my laptop is closed. Now I have to close and open the app everytime I leave.

To Reproduce

Expected behavior Meeting bar not runnning when laptop is closed677

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

jgoldhammer commented 1 year ago

Hi @GianlucaBobbioScale - so it means that Meetingbar autojoins your meeting while macos is in sleep mode or only the screens are going to sleep?

I guess we have to pause and resume the opening of events depending on the state: https://developer.apple.com/documentation/appkit/nsworkspace/1530075-willsleepnotification https://developer.apple.com/documentation/appkit/nsworkspace/1530973-didwakenotification https://developer.apple.com/documentation/appkit/nsworkspace/1530288-screensdidsleepnotification https://developer.apple.com/documentation/appkit/nsworkspace/1524606-screensdidwakenotification

What do you think @leits ? It is worth to create a PR for this?

Apple Developer Documentation
willSleepNotification | Apple Developer Documentation
A notification that the workspace posts before the device goes to sleep.
Apple Developer Documentation
didWakeNotification | Apple Developer Documentation
A notification that the workspace posts when the device wakes from sleep.
Apple Developer Documentation
screensDidSleepNotification | Apple Developer Documentation
A notification that the workspace posts when the device’s screen goes to sleep.
Apple Developer Documentation
screensDidWakeNotification | Apple Developer Documentation
A notification that the workspace posts when the device’s screens wake.
llimllib commented 1 year ago

This one is really awkward for me because zoom auto-joins the meeting, and I have to explain to my coworkers why there are two of me in the meeting

FynnMazurkiewicz commented 11 months ago

I also suffer from this issue. I am happy to donate 50€ for fixing this issue. Thank you for this great open-source tool!

leits commented 11 months ago

Thanks, folks Added to the next release scope!

It's a good motivator, @FynnMazurkiewicz 😄

FynnMazurkiewicz commented 11 months ago

@leits Thank you so much, I am glad it helped 🥳 Do you know approx. when you will do the next release?

I will contact you via the e-mail in your Github profile to discuss your preferred way of transferring the bounty 💸

leits commented 11 months ago

Released 🚀