[squeak-dev] 5.3, focus follows mouse, image "save as..."

Tim Johnson digit at sonic.net
Fri Jul 31 04:30:53 UTC 2020

Hi all,

In 5.3, when using the World menu, "Save as...," on macOS / OS X, with focus-follows-mouse[1] turned on, I enter my new file name, and when I press return or Cmd-S, the dialog does not go away.  (Even if I leave the mouse focus in that input field.)  My "changes are accepted," so to speak (the orange triangle goes away), but the image is not saved and the dialog does not go away.  It seems like I still have to go click "accept".  

I think in every previous version of Squeak I've used, in the dialog that appears upon choosing World menu -> "save as...", I can just type the new name and hit return or Cmd-S and the dialog will go away and the image will be saved.

With focus-follows-mouse turned off, 5.3 works as intended:  enter/return dismisses the dialog and the image is saved with the new name.

Wondering if this can be categorized as a regression[2].  To verify, I just tested in 5.2.  Indeed, in 5.2, whether focus-follows-mouse is turned on or off, I can enter a new file name and press enter/return and the image will be saved under the new name.  I don't have to move my mouse to click the "accept" button.

Could this somehow related to any other issues with where keyboard focus and/or events are going?  (Specifically talking about how entire windows are refreshing with every keypress into a code pane, for example.)  


[1] Preferences valueOfFlag: #mouseOverForKeyboardFocus

[2] regression meaning: since I care, I have to fix it? :)   Or, regression meaning: I file a bug in Mantis?  :) 

More information about the Squeak-dev mailing list