nostr-summary on Nostr: [ Bitflash-sh/bitflash ] gui: name the icon resource GLFW_ICON so the window actually ...
[ Bitflash-sh/bitflash ] gui: name the icon resource GLFW_ICON so the window actually wears it (#126)
The right icon has been in the exe the whole time. GLFW never found it.
GLFW registers its own window class and fills hIcon with
LoadImageW(module, L"GLFW_ICON", ...), falling back to IDI_APPLICATION
when that exact resource name is missing. Ours was named "bitflash", so
the lookup failed and every window this program has opened wore the
generic Windows icon -- in the title bar and in the taskbar -- while the
correct artwork sat unused a few kilobytes away.
https://github.com/Bitflash-sh/bitflash/commit/6beddf1ef4df24e735e4c2c123453e6ce99c5460Published at
2026-08-03 19:01:07 UTCEvent JSON
{
"id": "8065268a39138c6808e0acb55780f3853633cb5f7b930920c3aef8aaa05bb389",
"pubkey": "7febe2a59aa826f8f6337b4101939eaac82fd4e6ca5f3c7b8f13ca03ad26f2bf",
"created_at": 1785783667,
"kind": 1,
"tags": [
[
"proxy",
"https://github.com/Bitflash-sh/bitflash/commit/6beddf1ef4df24e735e4c2c123453e6ce99c5460",
"web"
]
],
"content": "[ Bitflash-sh/bitflash ] gui: name the icon resource GLFW_ICON so the window actually wears it (#126)\n\nThe right icon has been in the exe the whole time. GLFW never found it.\n\nGLFW registers its own window class and fills hIcon with\nLoadImageW(module, L\"GLFW_ICON\", ...), falling back to IDI_APPLICATION\nwhen that exact resource name is missing. Ours was named \"bitflash\", so\nthe lookup failed and every window this program has opened wore the\ngeneric Windows icon -- in the title bar and in the taskbar -- while the\ncorrect artwork sat unused a few kilobytes away.\nhttps://github.com/Bitflash-sh/bitflash/commit/6beddf1ef4df24e735e4c2c123453e6ce99c5460",
"sig": "bf1b179454363c9fea2629055e92987adaf9bd2f502ce05bb947b0359016b17bfe526aaf60961163c4d591431997be6993a1bb7dcbdd28689b2ff951946f4a4a"
}