<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>AppleDev@Laoself | OKHK 👀</title><description>个人数字泔水\(⁠◔⁠‿⁠◔⁠)✨ Thinking...</description><link>https://tg.okhk.net</link><item><title>Electron在macOS 26 Tahoe上引起系統卡頓的問題，最終被定位到是Electron多年前用私有API修復translucent window圓角的bug</title><link>https://tg.okhk.net/posts/7056</link><guid isPermaLink="true">https://tg.okhk.net/posts/7056</guid><pubDate>Sun, 28 Sep 2025 09:34:53 GMT</pubDate><content:encoded>Electron在macOS 26 Tahoe上引起系統卡頓的問題，最終被定位到是Electron多年前用私有API修復translucent window圓角的bug。Apple後來已經修復了這個問題，但是Electron一直沒有移除這個workaround，直到Tahoe修改了這個私有API的行為，override它會導致memorization失效造成卡頓。&lt;br /&gt;用私有API真的還是要至少針對大版本做判別處理，對未知的大版本默認不使用才是比較正確的選擇。&lt;br /&gt;當然，我覺得這個問題完全逃過了至少3個月里Apple自己的測試和Electron、Electron下游這麼多開發者的眼睛，很可能也是因為大家對Electron app本來就沒有什麼流暢的期待……&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://github.com/electron/electron/issues/48311&quot; target=&quot;_blank&quot;&gt;https://github.com/electron/electron/issues/48311&lt;/a&gt;&lt;br /&gt;&lt;a href=&quot;/search/result?q=%23AppleDev%40Laoself&quot;&gt;#AppleDev@Laoself&lt;/a&gt;&lt;a href=&quot;https://github.com/electron/electron/issues/48311&quot; target=&quot;_blank&quot;&gt;
  
  &lt;div&gt;GitHub&lt;/div&gt;
  
  &lt;div&gt;Electron-based apps cause a huge system-wide lag on macOS 26 · Issue #48311 · electron/electron&lt;/div&gt;
  &lt;div&gt;Maintainer update From @MarshallOfSound (#48311 (comment)): Hey folks, anyone experiencing this issue can you please raise a Feedback (via Feedback Assistant) with Apple. Make sure you send it whil...&lt;/div&gt;
&lt;/a&gt;</content:encoded></item></channel></rss>