The File Thumbnail Dialog focus

Bug #1699113 reported by hilaire on 2017-06-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dr. Geo II
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
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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers