Fixes in NetPhantom 5.10 Build 5100

These are fixes done since version 5.00 Build 5000 in chronological order.
 

Version 5.00 Build 5062

  • Listbox disable problem
    In the case where a horizontal scrollbar should be enabled (i.e. the contents of the column(s) is bigger than the container), it sometimes was not. This in the case when a panel was first opened under the circumstances described above.
     
  • Listbox paint problems
    The lower part of a listbox horizontal scrollbar was sometimes not painted correctly (was not visible).
     

Version 5.00 Build 5061

  • Host field protection
    The protected host fields can sometimes be written in. This happens when the terminal screen is first opened, when the terminal has been synchronized (changed fields are sent to the host) the protection mechanism works.
     
  • Terminal focus problem
    Sometimes the terminal pane in the terminal window lost focus when changing between GUI and terminal windows (as with mapped vs. unmapped host screens). The terminal window, in those cases, appeared to have the focus; cursor flashing and frame highlighted. Nonetheless, all keys sent to the terminal were buffered and released only when the terminal pane was clicked. Selecting the window frame did not release the buffer.
     
  • Keyboard mapping problems
    1. For the terminal definition of keyboard mappings, it was not possible to specify a new key to map. When pressing “OK” the key map dialog should close and the new value should be registered. The value remained the same and the dialog stayed open. The only way to close is was to press “Cancel”.
    2. In the Editor, the key map dialog did not open when selecting one of the keys.
     
  • Host color definition
    The terminal color definitions for the terminal were not saved after the session was ended. That meant that the settings needed to be re-applied as soon as a new session was started.
     
  • Hot spot definition
    Terminal hotspots come in two different flavors: Keys and Links. These types can be configured and activated separately in the terminal property definition. If any of the types were active, the other type was also marked as active.
     
  • Print focus
    When print initiated from the application (panel or terminal alike) a print dialog is shown. When printing is finished, the focus should be returned to the panel or terminal. This was not done and the focus was lost and needed to be re-established with a mouse click.
     
  • Closing of windows
    There were a number of problems related to the closing of windows:
    1. Cascading close: In a panel containing a notebook, not all contained pages got called with a "closeID" when the outer panel was closed.
    2. Menu alternatives connected to a "close" action were not close were not called when the window was closed.
    3. StackOverflowException when closing a dialog in the Editor: The message box specifying the error is shown and the dialog is left open. This error only occurs when the frame X button (top-right) is used to close the dialog. Any other means of closing works like at it is supposed to.
     

Version 5.00 Build 5048

  • Merge tooltip files
    Merging applications containing empty tooltip files failed.
     
  • Starting the Editor causes last opened project to be loaded
    If the Editor is closed without loaded project, it should, when restarted, not reload the last opened project.
     
  • NLS characters in paths
    An application can become impossible to load if it utilizes certain NLS characters. The policy is that an application should, if it is possible to build, be self-contained and portable. Hence, these characters are not allowed anywhere in the application definition.
     
  • Initial menu bar size
    Sporadically, the menu bar component height was not correctly calculated at panel creation. The consequence of this was that other components in the main part of the panel were displaced during a short instance. The final layout of the panel was however correct.
     
  • Scrollbar flicker when changing panels
    For some panels (containing status-, tool- as well as menu-bars) there were scrollbars shown at the panel creation. After the fraction of a second of stabilization, the panel was shown correctly.
     

Version 5.00 Build 5042

  • Added support in the Editor for restart of Web Server after recompile of HTML application
    When an application is rebuilt and it is referred to by the Server, a question whether it should be reloaded is shown to the developer. However, if the same application is used as HTML application, the Web Server had to be restarted manually. A question is now put to the developer if the Web Server should be restarted.
     
  • Removed reference and distribution of sms.jar
    The Jar file "sms.jar" is obsolete because it included support for sending SMS using a product that is no longer on the market. A new interface "se.entra.phantom.server.sms.Client" allows any SMS integration into NetPhantom version 5. The "sms.jar" file is now removed from the distribution and also all references to it.
     
  • File selector
    1. Hidden files/directories were shown as selectable items in the file selector dialog. However, the operating system blocked access to these resources. Now, only selectable items are shown in the file selector.
    2. When selecting a different file filter alternative, the file selector did not find any files regardless of the chosen filter.
     
  • Added deprecated append/read long string methods in Transaction class
    In NetPhantom version 4, the methods appendLongString, appendLongUnicodeString and readLongString were removed. This could cause classes not to run or compile properly if these were not changed to use the appendString and readString methods. Thus, the old methods are added back into the se.entra.phantom.common.Transaction class and marked as deprecated.
     
  • Fixed problem with spaces in file name in CompileDistribution.bat
    If the JDK is located in a path containing spaces, e.g. "C:\Program Files\Java\jdk1.6.0_18", this causes problems in the batch file CompileDistribution.bat if quotes were not added at the appropriate places. Quotes are now placed at correct places in the file, thus making it easier to specify the JAVA_HOME variable.
     
  • Spaces in file name for EEM file of an EE host session
    Using an EEM file that has spaces in the path (e.g. "c:\Users\Manuel Barcelona\Documents\MANUAL.EEM)" causes the host session not to be able to be created. Using the Server Administration program to edit the host session was not possible due to the spaces in the EEM file path.
     
  • Removed reference and distribution of jaws_1_3.jar
    The Jar file "jaws_1_3.jar" is obsolete in NetPhantom version 5 and is now removed from the distribution and also all references to it.
     

Version 5.00 Build 5039

  • Non-administration rights installation in a Windows Domain environment
    NOTE: This only concerns NetPhantom Editor installations (using the "setup.exe" program, not using the "preinstall.jar" method). It is not possible to install on a machine that belongs to a Windows Domain without Administrator's rights running a Windows version localized to a language where the user groups "Users" and "Administrators" doesn't exist, e.g. French or German. An error message is shown stating that "Users is not a valid user or group". The installation process is then aborted. To solve this problem, we have made changes to how the system is installed. If this problem occurs when upgrading an existing installation, please use the following procedure:
    1. Make a full copy of the NetPhantom installation directory (normally C:\NetPhantom5).
    2. Uninstall NetPhantom.
    3. Install the NetPhantom again using the installation package (Build 5039 or better).
    4. Transfer all configurations from the copied directory. This includes ".ini" and ".dat" files, application directories and such.
     
  • Close project during lengthy compile
    Background compilation in the Editor could be interrupted in an undefined state if the application or the editor was closed during a compilation session. This resulted in that compilation errors (in REXX/Java code) were listed next time the application was opened.
    This has been fixed by waiting until any ongoing compilation is terminated (while showing a progress bar).
    Workaround: If errors are indicated while opening an application, the application should be cleaned.
     
  • Remove of host identification field
    When editing a host screen definition the user is asked if the opened definition should be adjusted to match the current screen in the Terminal Editor. This can be done by adjusting the definitions or removing them. If the user selects to remove option, this change will not be saved (however, the adjust option works as intended).
     
  • Field popup order
    In the Terminal Editor, information about the host fields is shown as tooltip panels. If a field has been defined as both a host identification and host value field the most significant information should be shown depending on which mode the Editor was in. This was not always the case.
     
  • Reading of combobox files
    Reading combobox definition files sometimes produced a NullPointerException.
     
  • Native library locking
    The server log contains a message stating that "The process cannot access the file because it is being accessed by another process". This is a client side problem which only happens in specific circumstances:
    1. The application has a native library (.dll or .so) included (explicitly defined in the application definition).
    2. Two instances of the same application is run on the same client.
    3. One of the instances is actively running the code segment that is located in the library at the same time as the second instance is starting up.
    The workaround is to close the second instance and restart at a later point in time (when no other instance is locking the library).
     
  • Tooltip text error in Server Administration - File manager causing NullPointerException
    Under certain Java 1.6 updates running the Client as an Applet, the File manager panel in the Server Administration program can cause a NullPointerException as:
      UserWindow(RCONSOLE_FILEMANAGER): java.lang.NullPointerException
          at javax.swing.ArrayTable.put(ArrayTable.java:100)
          at javax.swing.ActionMap.put(ActionMap.java:91)
          at javax.swing.ToolTipManager.registerComponent(ToolTipManager:376)
          at javax.swing.JComponent.setToolTipText(JComponent.java:2962)
          at cuserwin2.RCONSOLE_FILEMANAGER.b
          ...
     
  • Pressing F22 on a keyboard with 24 function keys causes Print window
    Using a computer equipped with a keyboard with 24 function keys, the "Print window" function is activated when pressing F22.
     

Version 5.00 Build 5030

  • Compile Distribution could omit conversion of file names to upper case
    If e.g. a translation file is called "rp.phx" on disk, the Compile Distribution function in the Editor placed this file inside the Jar file without converting it to upper case (e.g. "rp.PHX" rather than "RP.PHX"). At the same time, the application produced (erroneously with wrong case for the file name characters) could not be loaded by the Server. The way to solve this issue is to apply this patch and recompile the distribution.
     
  • Conversion error in PHE files when migrating from version 3 to version 5
    When the migration of a version 3 (or 4) PHE file is performed, containing NLS characters (such as ÅÄÖÜ), these are written in the wrong codepage in the new PHE version 5 Unicode format. The affected part of the PHE file is the screen identification rectangles. To cure the problem, migrate the PHE file again from version 3 (or 4) to version 5 or edit the screen identification in the Editor and update the screen identifications when a message prompts you for this operation.
     
  • Texts displayed on the client side in English not always correct
    This typically applies to Client Jar files and when the Client is disconnected. The German and Swedish texts were not affected.
     
  • The Terminal Application is no longer displayed in the Client locale
    When German or Swedish locale is used on the Client side, this locale is not used to set the appropriate language for the Terminal Application. This is also valid when the locale is specifically defined with the Client parameter "LANG", as well as other application using different locales.
     
  • LANG parameter does not work for Applet
    Changing the language for the pure Java parts of the Client visible parts of the system is possible using the LANG user parameter. This does not work for the Applet-based Client; the default language is always used.
     
  • Cursor lock state
    The panel lock state is indicated by the cursor symbol (hourglass, arrow etc). When the panel is waiting for a host update, this state is correctly indicated but only for a fraction of a second. After that, the panel is indicated as active.
     
  • Using old style printing fails
    Specifying the user parameter "PRTV3" for using the native print dialog fails with a link (NPCDDE) problem logged.
     

Version 5.00 Build 5015

  • Install is interrupted
    Installation with the Microsoft Installer is sometimes interrupted with an error message: "The installer has insufficient privileges to modify this file: C:\NetPhantom5\RegisterWindowsNTEventLogDLL64.exe".
    The workaround is to delete the files "RegisterWindowsNTEventLogDLL.exe" and "RegisterWindowsNTEventLogDLL64.exe" in the NetPhantom installation directory.
     
  • Enable/disable notebook page (in Java)
    Calling the "setEnabled" method through VirtualInterface in Java will not update the user interface of the Client. After the page has been accessed via the GUI, the panel will update as expected.
    Work-around: Set the option "Preload all notebook pages" for the notebook control in the Panel Editor.
     
  • Scroll in Combobox
    Scrolling in a combobox list is sometimes locked at one entry. Moving beyond that entry is not possible but scrolling back up is. Mouse selection works as expected. This is an error that effects both NetPhantom Versions 3 and 5.
     
  • Parameters POPMENU and PRTV3 not available in applet
    The two parameters POPMENU (control of pup-up menu sorting) and PRTV3 (printer dialog style switch) are not available if the application is accessed via a browser (i.e. run as an applet).
     

Version 5.00 Build 5009

  • Checking of build prerequisites
    The checking of what is needed for building applications in terms of environment has been improved. This checking is done before any attempt to build is done.
     
  • Notebook page reference in REXX not working
    References in REXX to notebook pages (the panel) of the type "<panelID>/*PANEL" does not work.
     
  • User exit for application start using interface IClientStart error output not verbose enough
    If an error occurs during the call to the application start user exit using the Java interface IClientStart, the logged event in the server is not verbose enogh, e.g. just "NullPointerException" is logged rather than the full stack trace.
     
  • Tab order in Configure Project in Distribution page not correct
    The last 3 comboboxes were not in the correct tab order.
     
  • Combobox drop-down frame not drawn correctly in Editor
    When sizing the combobox in the Panel Editor, it is sometimes not redrawn properly. A new dotted blue line now indicates the outline of the drop-down compared to the previous solid gray rectangle.
     

Version 5.00 Build 5006

  • Web application messagebox
    The buttons in web applications are displayed correctly but have erroneous function. Yes -> Cancel, No -> Yes and so on.
     
  • Pop-up menu error (Regression error)
    Selecting a pop-up menu produces an error message in the Java console. In addition, menu items are duplicated.
     

Version 5.00 Build 5004

  • Client inactivity timeout
    If the server is configured to handle client inactivity timeout and at the same time uses client-ping, the timeout will not work. This in the case when the ping time ("pingClientTimeout" in the server.ini file) configured is shorter than the inactivity timeout ("inactivityTimeout").
     
  • List box traverse problem
    Moving through a sorted list (in a listbox component) using right/left arrows does not work. The lines selected is based on the unsorted list which makes the line selection seem random.
     
  • Combobox tab focus display error
    When a combobox component is put in focus by using tab, the corresponding text field is not marked as being in focus (ie. colored blue). If the panel is resized or the cursor is moved inside the field, the focusing is displayed correctly but not until such actions.
     
  • Combobox tab error
    When a combobox component is selected, the list of possible choices is displayed. If a selection is made and the combobox is left by pressing tab, the list is still displayed. The correct behavior is that this list should be collapsed when the combobox looses focus.
     
  • Client locking problem
    When a client connection times out and the connection is cut before it is terminated (waiting for the user to confirm the "closing connection" message box), the client is locked for a period of time. During the time the time it is locked, the client uses a lot of CPU resources.
     
  • Listing of client sessions also included the Editor client session
    This meant that bringing up the list of current client sessions in the Editor, it was possible to press the "Terminate" button to close the Editor without e.g. saving. The listing of client sessions should never include the Editor session.
     
  • Disabled controls not supported in IE7 and IE8 HTML applications
    Support for disabling controls in IE7 and IE8 was not supported for HTML applications (the file BrowserIdentification.ini only supported IE4 through IE6).
     
  • Jar file in application classpath not supported
    Specifying a Jar file in the Runtime application classpath was not supported. A class referencing another inside that Jar file got ClassNotFoundException when loaded or executed. New support for Jar-in-Jar file has been added.
     
  • Copy HTML from Panel Editor error
    When selecting the menu item "Copy HTML" in the Panel Editor for the combobox and/or spin button controls, the produced HTML code is not always correct when <option> items are added. The text seems corrupt and can in rare cases cause the Editor to crash.