-
Jorge Escobar
- PowerBuilder
- Friday, 12 June 2026 03:21 PM UTC
I migrated my application to PB 2025 R2 and found a bug with popup menus when using custom icons.
The first time the menu is displayed, the icons appear correctly, but the second time the images seem to be missing.
I moved the icons to the main directory (I was previously using a resources subdirectory), but the issue persists.
The value returned by GetCurrentDirectory() is the same before and after the popup menu is displayed. I initially thought the current directory was changing after displaying the popup menu.
Here are two screenshots showing the difference between the first time the popup menu is displayed and subsequent displays.


Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.