2017-06-21 6:48 GMT+02:00 Hilaire <hilaire@drgeo.eu>:
Is there a way I can manualy change it by code? I did have success to find it.
Ugly hack: DrGFileThumbnailDialog>>#handleFocusEvent: anEvent (anEvent isMouse and: [ anEvent isMouseWheel ]) ifTrue: [ self activeHand releaseMouseFocus: self ]. ^ super handleFocusEvent: anEvent I guess, this will swallow the first scroll event, but all following are handled by the scroll pane. We should fix the openModal: method, to only change the mouse focus if the active focus holder isn't nil.
Le 20/06/2017 à 21:23, Nicolai Hess a écrit :
Hmm. We fixed the mousefocus handling for openModal (see case 14629 <https://pharo.fogbugz.com/f/cases/14629/Morphic-click- event-and-modal-windows-get-stuck> Morphic click event and modal windows get stuck)
But I guess , this now does not work as expected when the actual mouse focus should be nil. Because now the DrGeoThumbnailDialog holds the mouse focus and does not react on scroll events. Only if the current mouse focus is nil the scrollevents are handled by the scrollpane)
-- Dr. Geo http://drgeo.eu