[GH-ISSUE #1421] App occasionally prevents macOS from restarting #802

Closed
opened 2026-05-05 06:43:39 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @UeharaYou on GitHub (Sep 6, 2023).
Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/1421

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
Originally created by @UeharaYou on GitHub (Sep 6, 2023). Original GitHub issue: https://github.com/MonitorControl/MonitorControl/issues/1421 ### Before opening the issue, have you...? - [X] Searched for existing issues - [X] Looked through [the wiki](https://github.com/MonitorControl/MonitorControl/wiki) - [X] 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 2. Restart via `System Menu > Restart` 3. 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) ```markdown - 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 ```
gitea-mirror 2026-05-05 06:43:39 -06:00
Author
Owner

@stale[bot] commented on GitHub (Sep 10, 2024):

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require attention? This issue may be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:2339473510 --> @stale[bot] commented on GitHub (Sep 10, 2024): Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require attention? This issue may be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/MonitorControl#802
No description provided.