Skip to content
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

App occasionally prevents macOS from restarting #1421

Open
3 tasks done
UeharaYou opened this issue Sep 6, 2023 · 0 comments
Open
3 tasks done

App occasionally prevents macOS from restarting #1421

UeharaYou opened this issue Sep 6, 2023 · 0 comments
Labels
Type: Bug Issue is a bug (e.g. Crash, …)

Comments

@UeharaYou
Copy link

Before opening the issue, have you...?

  • Searched for existing issues
  • Looked through the wiki
  • Updated MonitorControl to the latest version (if applicable)

Describe the bug

MonitorControl occasionally interrupts macOS from shutting down / restarting inited from system menu. Forced restart from command line is not affected by this bug.

Steps to reproduce

Step to Reproduce

Notice: These steps can not 100% reproduce the bug.

  1. App Settings:
  • General:
    • Start up on login: YES
    • General options (4 entries): ALL YES
  • App Menu:
    • Menu Icon: ALWAYS HIDE
  1. Restart via System Menu > Restart
  2. Other step before restart that might be related:
  • Switch to other logged-in account and sign out
  • Change startup disk via System Settings

Issue Behavior

  1. After confirming the restart, the macOS Menu Bar disappears, but no further shutdown procedure executed. No dialog indicating processes interrupting shutdown. Other apps closed but still can launch, IO all functioning.
  2. Reopen MonitorControl (which shows the app settings), select Quit application in App Menu tab ALWAYS immediately resume the shutdown procedure.
  3. Force restarting / shutting down via sudo reboot immediately executes the shutdown / reboot.

Expected behavior

MonitorControl should Quit immediately upon System Restart and should never interrupt it.

Anything else?

Some speculation upon the cause of the bug:

  1. Corrupted internal state in MonitorControl causing mishandling appShouldClose delegated function or other system events upon restart.
  2. Issues related to API used by MonitorControl whose internal states interrupts the restart (less likely).

Screenshots & recordings will be available next time I encounters this bug. (I shuts down my Mac roughly every 2 days, and it happened 1~3 times a week.)

Environment Information (please complete the following information)

- macOS version: 14.0 Beta (23A5337a) & 13.5.1
  - Bug happens on BOTH systems
- Mac model: Mac Mini M2Pro 2023
- MonitorControl version: 4.1.0 (build 7034)
- Monitor(s): External: AOC Q27N3G5R4
- Apple Silicon/M1 (yes or no): yes
@waydabber waydabber added the Type: Bug Issue is a bug (e.g. Crash, …) label Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue is a bug (e.g. Crash, …)
Projects
None yet
Development

No branches or pull requests

2 participants