[Solved] App taskbar button icon is wrong
Posted: Sat Jan 28, 2023 1:34 pm
When I start a new app, even something simple like below, the window's icon in the taskbar button is often from another of my apps, even though that icon is not used or referenced in the new app anywhere. This has happened for many years now, but I've been too lazy to mention it.
Window icon when new app is running:

And how it appears in the taskbar:

And also, when I right-click the taskbar button, the name of one of my other non-running apps shows up (instead of the window title "test" per above), even though the new app hasn't been saved or had any properties entered for it in the Compiler Options.
// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)
Code: Select all
OpenWindow(0,400,200,640,240,"test",#PB_Window_SystemMenu)
Repeat
ev=WaitWindowEvent()
Until ev=#PB_Event_CloseWindow

And how it appears in the taskbar:

And also, when I right-click the taskbar button, the name of one of my other non-running apps shows up (instead of the window title "test" per above), even though the new app hasn't been saved or had any properties entered for it in the Compiler Options.
// Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)