![無需登出即可刷新 macOS GUI](https://rvso.com/image/1525451/%E7%84%A1%E9%9C%80%E7%99%BB%E5%87%BA%E5%8D%B3%E5%8F%AF%E5%88%B7%E6%96%B0%20macOS%20GUI.png)
我的 macOS 10.12 自 3 天以來出現了一個奇怪的現象:
- 螢幕上的所有內容都不響應我的滑鼠:視窗的 3 個按鈕控制在滑鼠懸停時不顯示其圖標,視窗中的任何元素都不響應滑鼠懸停。
- 滑鼠中鍵不再運作:無法關閉瀏覽器標籤或在新分頁中開啟連結。
- 任務控制可以訪問,但是不能切換空間。
- Dock 圖示不會隨著滑鼠移動而移動。
- 當移動到其他視窗或另一個監視器時,滑鼠不會改變其形式,而是將其形式黏在最後一個聚焦的視窗上。
只要我登出並重新登錄,這種現象就會消失。在 Windows 上,我認為我們必須重新啟動該explorer
過程才能刷新 GUI。
在錯誤發生之前我經歷過的事情:
- Skype
- Firefox(約 10-20 個開啟的選項卡)
- 崇高的文字
- iTerm2
- VirtualBox 具有 1GB RAM,運行 docker-machine。
- 電報
- Docker:4個容器。
我的所有申請都是最新的。提前致謝。
我的日誌在錯誤發生時顯示的內容。
error 15:33:04.283037 +0700 WindowServer CGXGetConnectionProperty: Invalid connection 85671
error 15:33:04.283104 +0700 WindowServer CGXGetConnectionProperty: Invalid connection 85671
error 15:33:04.283150 +0700 WindowServer CGXGetConnectionProperty: Invalid connection 85671
error 15:33:04.283190 +0700 WindowServer CGXGetConnectionProperty: Invalid connection 85671
error 15:33:31.727778 +0700 symptomsd AWDAgent: failed create new libnetcore metric for 0x290007
error 15:35:18.093791 +0700 parsecd network_config_has_proxies_configured network_config_has_proxies_configured is deprecated
error 15:35:18.093835 +0700 parsecd tcp_connection_get_remote API Misuse: Function must be called after tcp_connection_start
error 15:35:18.093904 +0700 parsecd tcp_connection_is_cellular API Misuse: Function must be called after tcp_connection_start
error 15:35:18.110774 +0700 parsecd network_config_has_proxies_configured network_config_has_proxies_configured is deprecated
error 15:35:18.110813 +0700 parsecd tcp_connection_get_remote API Misuse: Function must be called after tcp_connection_start
error 15:35:18.110908 +0700 parsecd tcp_connection_is_cellular API Misuse: Function must be called after tcp_connection_start
error 15:35:18.530763 +0700 parsecd keyboardInputMode property not set, using <private>
error 15:35:18.669932 +0700 parsecd keyboardInputMode property not set, using <private>
error 15:35:18.670896 +0700 parsecd keyboardInputMode property not set, using <private>
error 15:35:18.959840 +0700 parsecd Server endpoint not set, data can't be sent to server
error 15:35:19.417085 +0700 parsecd keyboardInputMode property not set, using <private>
error 15:35:19.838056 +0700 parsecd Server endpoint not set, data can't be sent to server
error 15:35:19.914901 +0700 parsecd Server endpoint not set, data can't be sent to server
答案1
嘗試killall Finder
在終端機中運行作為解決方法。
如果問題仍然存在,您可能想/var/log/system.log
在那時查看內部是否有可疑條目。
也許你很幸運,作業系統更新將「解決」這個問題。