macvim-dev / macvim-dev/macvim

Catalina 10.15.1, MacVim 8.1.2234 full screen before sleep, full screen is broken on wake

Đang mở
#996 11 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Vim Script
Star
7.9k
Fork
691
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Describe the bug

After waking the computer up, MacVim which used to be full screen is no longer full screen. The "full screen window" where MacVim is supposed to live is still there, but the MacVim window itself is not full screen, and exists on a Desktop "window". I'm not sure of the correct term here, but by "window" I mean the full screen switcher which appears at the top of the screen when in what used to be called expose mode.

The MacVim window is mostly unresponsive -- keypresses do not have any visible affect, and clicking the window doesn't either. When using the macOS application switcher, the "full screen window" is activated when attempting to switch to MacVim, but the screen is black.

If only one MacVim window is open, sometimes the green full-screen button works and will put the window back. Sometimes not. I believe that when multiple windows are open, the green full screen button never works.

Often the only way to get back to a working application is to force quit macvim.

If the terminal with which I launched MacVim is still open, a message like this is printed:

2019-12-23 05:57:59.389 MacVim[10882:9934680] not in fullscreen state

To Reproduce

This is a bit of a head scratcher for me, but I believe I'm able to reproduce it intermittently in this way. I see this bug several times a week, but it is not consistent.

  • Open a file in MacVim - I usually do this with mvim in the terminal.
  • Full Screen MacVim
  • Put computer to sleep for a while -- short sleeps don't seem to trigger it.
  • Wake computer

Expected behavior

The application should not lose it's full screen status.

Screenshots

I will attempt to take a concise screen recording next time I see the problem.

Environment:

  • Vim version 8.1.2234
  • OS: macOS 10.15.1 (19B88)
  • stock macOS terminal.

I cannot see how it would matter, but my vim config is on github as is my list of plugins

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện lỗi xảy ra không thường xuyên với MacVim 8.1.2234 trên macOS 10.15.1: mở một tệp bằng mvim, chuyển sang chế độ toàn màn hình, cho máy tính vào chế độ ngủ rồi đánh thức máy. So sánh hành vi khi có một cửa sổ và khi có nhiều cửa sổ, bao gồm cả thông báo “not in fullscreen state”. Được xem là hoàn tất khi MacVim vẫn phản hồi và giữ nguyên trạng thái toàn màn hình sau khi thức dậy.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
macos, vim
Lĩnh vực
desktop, operating-systems
Loại issue
Lỗi
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
28/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.