The File Thumbnail Dialog focus

Bug #1699113 reported by hilaire
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo
Fix Released
Medium
Unassigned

Bug Description

This dialog does not have anymore the focus when open by default.

It is a problem when the user wants to browse with mouse wheel the sketch previews. Indeed he needs to first click on the dialog then he can browser with the mouse wheel.

The user click should be unnecessary.

description: updated
Revision history for this message
hilaire (hilaire-fernandes) wrote :

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.

Changed in drgeo:
status: New → In Progress
Changed in drgeo:
status: In Progress → Fix Committed
tags: added: pharo-api
Changed in drgeo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.