I've set up a pseudo-start button using a floating toolbar and seen some weird glitches in icon handling.
In the first case, I use the command: Go PATH="D:\Games\Icons" FOLDERCONTENT=dblclickmenu,hideext
The path has another layer of sub directories, so it acts like a start menu.
Normally this works fine, but at other times the icons are randomly mixed up. This can be rare, but I found the surest way for me to trigger it is to change the icon of the top level button.
So to try to recreate, try:
- Set up a floating toolbar (or any toolbar, really?) and add a button. For this button use Go PATH={a path} FOLDERCONTENT=dblclickmenu,hideext. Any path should be fine, like /start. Make sure it’s set to use icons but not labels. Click ok.
- Navigate the button normally and make sure all the icons in the subfolders are loaded and cached.
- Go back to the top level button, edit it, and change the icon. (The original button, not the folder that appears when it is clicked.) It seems more likely to go weird if you use an .ico file rather than a dll, exe, or dopus icon.
- Navigate the button and look at the icons, which should now be completely mixed up as if they've been drawn from random sources. Restarting DOpus clears the cache and it goes back to normal.
If it doesn't trigger first time, try step 3 again with a different .ico file, or set it to something random and try the ico file again.
The second issue, which might be related, I also triggered accidentally with Go FOLDERCONTENT. if there is a lot of icons (and they must be icons) in a floating toolbar - we're talking over 300-400 here, the toolbar will usually corrupt and hang. I can confirm this didn't happen in DOpus 12. Once hanged will never unhang, and will eventually force you to kill the toolbar and DOpus because Windows detected it stopped responding - so no crash log. Only happens when images are enabled, not labels. Below is what the crash often looks like, but it can vary. The toolbar is always frozen however.
Picture hasn’t been mis-scaled - that’s what it looks like on-screen!
And sorry for cramming, but this last one is a quicky: if you dock a floating toolbar to the bottom of the screen it can get stuck under the taskbar. It won’t dock to the taskbar itself, at least on my Win11 setup.