Windows transparent margins composite as black: bundled GLFW redirection alpha is uninitialized
メンテナーはふだん 2 日以内に返信
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 22/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp
調査の方向性
Start with the bundled GLFW 3.4 Win32 windowProc, specifically the WM_PAINT branch, and compare it with the upstream fix in glfw/glfw#2815 that is referenced in the issue. Then run the transparent_window_viewer fixture on Windows and check the corner RGBA values. Done means the transparent margin shows the desktop instead of black, opaque windows are unchanged, and the four backend Release build/test checks pass. The work is already in progress by the author, so coordinate before starting.
索引モデルが issue の本文から書いたものです。
説明
Reproduction
Windows 11 build 26200, NVIDIA RTX 3070 Ti Laptop GPU, driver 32.0.15.9174, MSVC 19.44 x64. EUI dev 89c2d0f.
Build and launch the GLFW/OpenGL transparent_window_viewer fixture. Its 36px outer margin intermittently becomes black even though framebufferTransparent is true. The user confirmed black margins on the actual desktop. Mirage reproduces black rounded corners with the same dependency.
Confirmed isolation and repair
Instrumenting the actual fixture reports corner RGBA=0,0,0,0 with glGetError=0. Clearing the GL default framebuffer was an initial hypothesis; it did not reliably fix the real fixture and has been discarded. A controlled compositor test can also pass on the old code when DWM's backing allocation happens to be zeroed, which explains the intermittent behavior.
The missing initialization is in GLFW's Win32 DWM redirection surface, independently of GL framebuffer alpha. GLFW already tracks this issue in https://github.com/glfw/glfw/issues/2816 and proposed fix https://github.com/glfw/glfw/pull/2815. The bundled 3.4 windowProc has only a damage notification for WM_PAINT and does not define that surface's alpha.
Backporting the small transparent-only WM_PAINT PatBlt(BLACKNESS) repair restores actual desktop transparency on this machine: the formerly black outer margin now shows the wallpaper and desktop icons. Opaque window handling, renderer framebuffer and application geometry stay unchanged; no region crop or color key is used.
A compositor regression uses an owned known-color background and cached UI rendering. Four backend Release build/test checks and relevant fixture inspection are in progress. The separate existing Windows SDL2 compilation blocker is tracked in #110 so it can be reviewed independently.
- 主要言語
- C++
- スター
- 2k
- フォーク
- 177
- 平均マージ
- 19時間 58分
- マージ済み PR(30日)
- 9
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sudoevolve/EUI-NEO のほかの issue
-
SDL2 Windows build fails: move/resize fallback helper is inside the X11 guard対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
sudoevolve/EUI-NEO#110 ·
メンテナーはふだん 2 日以内に返信
-
在linux上使用触摸屏没法直接滑动翻页オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
sudoevolve/EUI-NEO#116 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
perf(text): avoid repeated glyph outline loads during measurement対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
sudoevolve/EUI-NEO#113 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 32/100
sudoevolve/EUI-NEO#106 ·
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 18/100
sudoevolve/EUI-NEO#89 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
sudoevolve/EUI-NEO の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
metasequoiaime/msime#9113 ·
メンテナーはふだん 1 日以内に返信
-
Locked plugin flip-flops position on every refresh after being disabled対応中かも @Illustar0 が今日担当しました。 オープンissue report
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
ModOrganizer2/modorganizer#2449 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
メンテナーはふだん 1 日以内に返信
-
enhancement P5
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
open-astro/AlpacaBridge#1468 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信