Eric Bergman-Terrell's Blog

Old Windows 7 Tree Icons Never Die, They Just Fade Away
April 29, 2010

The following bug has been fixed in Vault 3 running on Windows 7. In previous versions of Vault 3, when input focus was on the outline, and the program was minimized for multiple minutes and then restored, the expand/contract icons on the outline were invisible. The icons would eventually become visible, after focus was moved away from the outline, and the mouse was moved over the outline.

This problem is fixed in version 0.32.

Windows 7 Tree Icons
Vault Outline with Visible Expand/Contract Icons

The fix was simply to remove focus from the outline when Vault 3 is restored:

getShell().addListener(SWT.Deiconify, new Listener() {
@Override
public void handleEvent(Event event) {
// Work-around for the following issue in Windows 7: When the app has focus on the tree, and is minimized for a few minutes,
// when it's restored the expand/contract graphics on the tree will be invisible and will remain invisible until focus goes 
// away from the tree and comes back.

Globals.getMainApplicationWindow().getShell().forceFocus();
}
});
Keywords: Windows 7, Tree, Icons, Fading, Input Focus, Vault 3

Reader Comments

Comment on this Blog Post

Recent Posts

TitleDate
.NET Public-Key (Asymmetric) Cryptography DemoJuly 20, 2025
Raspberry Pi 3B+ Photo FrameJune 17, 2025
EBTCalc (Android) Version 1.53 is now availableMay 19, 2024
Vault 3 Security EnhancementsOctober 24, 2023
Vault 3 is now available for Apple OSX M2 Mac Computers!September 18, 2023
Vault (for Desktop) Version 0.77 ReleasedMarch 26, 2023
EBTCalc (Android) Version 1.44 is now availableOctober 12, 2021