Details
-
Fix
-
Status: Known Issue (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
None
-
None
Description
Current Situation
- When opening a hot folder in the file system then JOE shows the directory listing starting from top of the list. The same behavior applies when navigating to sub-folders.
- Should a number of directories be available then this behavior forces the user to scroll down to find the active, i.e. highlighted, folder.
Desired Behavior
- JOE should focus on the active, i.e. highlighted, folder.
- This should work when traversing a number of folders by use of the "open hot folder" dialog.
Known Issue
The fundamental problem is a poor design decision in the Folder Browser dialog. First, we need to realize that the Folder Browser dialog is not a JAVA control, but is rather the Common Dialog and is part of Windows. The designer of this dialog elected not to send the Tree View control a TVM_ENSUREVISIBLE message after the dialog is displayed and an initial folder is selected. This message causes a Tree View control to scroll so that the currently selected item is visible in the window.
Because the Folder Browser is not really a JAVA control, it does not have an internal Controls collection. This means that we can't just find and access the Tree View child control from JAVA. This is the reason, we can not fix this.