Ajaxy / telegram-tt

Telegram Web A, GPL v3
https://web.telegram.org/a
GNU General Public License v3.0
2.2k stars 462 forks source link

Issue with Black screen after CMD + W on MacOS in Electron #330

Open ulugmer opened 6 months ago

ulugmer commented 6 months ago

Telegram A Electron v10.0.25, MacOS, Sonoma 14.0, Apple M1 Pro. https://www.loom.com/share/6d1c687140a443a1851239dd95d88b55?sid=cc25fbf1-be4a-4c4e-ad39-10118fd62258

ulugmer commented 6 months ago

I think there is a bug in Electron, but other Electron apps also exit full screen before closing the window.

Ajaxy commented 6 months ago

Can you provide a short description of what's going on? We are not aware of such bug.

ulugmer commented 5 months ago

I attached the video above. When pressing CMD W in full screen mode on MacOS, the application does not hide in the dock, but a black screen appears. To avoid this, you need to close the full screen mode before hiding in the dock. Then everything works as intended. Other electron applications also do this. For example, Linear.