1. The "Choose Server or Database" dialog may take a while to load depending on how many connection files there are and where the files reside. While tracing the code, I notice that the schema tree is built twice when the dialog is initialized.
2. When closing the "Choose Server or Database" dialog, CTreeList.updateList is called for each connection node in the dialog.
3. Tooltip for connection nodes consists of the server properties of the connection. If login/password info is to be retrieved from an external process, it may cause a delay in the rendering code to set up the tooltip.
1. For each root node, SelRootNode.rebuild was called once when we build the schema tree and then once more when we expand the first level of the schema tree.
The first call is now removed. There is only one call to SelRootNode.rebuild for each root node.
2. When closing the dialog, we called DirConnectionNode.disconnect, which disconnects the database connection and calls CTreeList.updateList to update the schema tree.
Fixed the code to only disconnect the database connection when closing the dialog.
3. Tooltip for the connection nodes now displays only the database type. Other server properties (login name, database name, etc.) are not displayed.
Issue #13101 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 15.0.14-14 |
No time estimate |
1. For each root node, SelRootNode.rebuild was called once when we build the schema tree and then once more when we expand the first level of the schema tree.
The first call is now removed. There is only one call to SelRootNode.rebuild for each root node.
2. When closing the dialog, we called DirConnectionNode.disconnect, which disconnects the database connection and calls CTreeList.updateList to update the schema tree.
Fixed the code to only disconnect the database connection when closing the dialog.
3. Tooltip for the connection nodes now displays only the database type. Other server properties (login name, database name, etc.) are not displayed.