Buttons and shortcuts for undo and redo are broken

Buttons and shortcuts for undo and redo are broken

Resolution 116997 addresses this issue.

Problem Description:
The Undo and Redo buttons in the RefactoringBrowser text editing toolbar don't work on the Windows and Linux platforms.

Resolution Description:
The Resolution adds new *ToolBarButton*Behavior(s) which makes sure that the Undo and Redo buttons in the RefactoringBrowser text editing toolbar work the same on the Windows and Linux platforms as the buttons work on the MacOS platform.

This Resolution is targeted to VisualWorks® 9.5.1, but testing has shown that it also corrects this issue in VisualWorks 9.5.0, 9.4.1, and 9.4.0 where the Undo and Redo buttons were first introduced.

Changes Manifest:
Added:
Root.Smalltalk.UI.DefaultToolBarButtonBehavior
Root.Smalltalk.UI.ToolBarButtonPartTrackingViewBehavior

Root.Smalltalk.UI.DefaultToolBarButtonBehavior>>requestFocusInResponseToMousePress:view:
Root.Smalltalk.UI.ToolBarButtonPartTrackingViewBehavior>>requestFocusInResponseToMousePress:view:
Root.Smalltalk.UI.ToolBarButtonView>>initialize

Changed:
Root.Smalltalk.UI.ToolBar>>newButtonFor:
Root.Smalltalk.UI.ToolBar>>newButtonFor:previous:newGroup:
Root.Smalltalk.UI.ToolBarView>>newButtonFor:

Download Location:
sftp://ftp.cincom.com/support/VisualWorks/VW9.5.1/Res116997/Res116997.zip

Files:
Res116997.zip - The ZIP file containing the following files.
Res116997_readme.txt - This Read Me file
Res116997.pst - Parcel source file with these changes.
Res116997.pcl - Parcel binary file with these changes.

Applying this patch:
1.  Copy and unarchive the Res116997.zip file to the VisualWorks working directory.
2.  For prudence, ensure you have a saved or archived a copy of the following file(s):
a.  the base VisualWorks image from your working directory $(VisualWorksHome).
3. Launch the VisualWorks image.
4. Load the resolution parcel:
a.  From the VisualWorks Launcher select "Tools" > "Parcel Manager..."
b.  From the Parcel Manager select "File" > "Load Parcel File. . ."
c.  Navigate to and select the file Res116997.pcl, and click the Open button.
d.  Confirm the change(s) identified above have the given Resolution number "Res116997" added in the comment.
e.  Confirm the Patch is loaded by evaluating:
Kernel.ChangeSet patches includes: 'Res116997'.
5.  Save, exit and archive the image for later use.

Test Cases:
Before applying this patch, the Undo and Redo buttons in the RefactoringBrowser text editing toolbar don't work on the Windows and Linux platforms.

After applying this patch, the Undo and Redo buttons in the RefactoringBrowser text editing toolbar work the same on the Windows and Linux platforms as the buttons work on the MacOS platform.

Compatibility:
Listing as of 2026-05-29.

VisualWorks
    9.6.0
    9.5.1
    9.5.0
    9.4.1
    9.4.0 (where the Undo and Redo buttons were first introduced)

Download Location:

    • Related Articles

    • Crash when using TableControl with scrollbars

      Problem: Infinite recursion causes a VisualWorks image to crash when a ViewHolder and an enclosed VisualControl are both configured to have scrollbars. Solution: Resolution 117015 fixes the infinite recursion problem when the ViewHolder and the ...
    • Product Release Catalog April 2026

      What’s New in This Edition The section attempts to describe the major changes since the previous edition of this document. We welcome and solicit your feedback. Please forward any comments on this document to Cincom Support (Cincom customers) or to ...