[squeak-dev] The Inbox: Tools-ct.880.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 16 01:01:33 UTC 2019


A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.880.mcz

==================== Summary ====================

Name: Tools-ct.880
Author: ct
Time: 16 August 2019, 3:01:31.116735 am
UUID: e5349a54-c042-ea41-9400-f109f268dd70
Ancestors: Tools-mt.877

Fix a scaling bug in Debugger: If the global scaleFactor is different from 1.0, SavedExtent was changed each time a Debugger is closed (because of the multiplication in RealEstateAgent class>>initialFrameFor:initialExtent:world:)

=============== Diff against Tools-mt.877 ===============

Item was changed:
  ----- Method: Debugger>>windowIsClosing (in category 'initialize') -----
  windowIsClosing
  	"My window is being closed; if debugging save its extent.  Clean up.  Restart the low space watcher."
  	interruptedProcess ifNil: [ ^ self ].
  	SavedExtent ifNotNil:
  		[ self dependents
  			detect:
  				[ : each | each isWindowForModel: self ]
  			ifFound:
  				[ : topWindow | | isDebuggerNotNotifier |
  				isDebuggerNotNotifier := self dependents anySatisfy:
  					[ : each | each isTextView ].
+ 				isDebuggerNotNotifier ifTrue: [
+ 					SavedExtent := (topWindow extent / RealEstateAgent scaleFactor) rounded ] ]
- 				isDebuggerNotNotifier ifTrue: [ SavedExtent := topWindow extent ] ]
  			ifNone: [ "do nothing" ] ].
  	interruptedProcess terminate.
  	interruptedProcess := interruptedController := contextStack := receiverInspector := contextVariablesInspector := nil.
  	"Restart low space watcher."
  	Smalltalk installLowSpaceWatcher!



More information about the Squeak-dev mailing list