Scrolling & zooming with the mouse wheel has stopped working when mouse is hovered over the matrixv buttons misplaced after app window resize (smaller)

Issue #345 resolved
Robert Leach created an issue

USE CASE: WHAT DO YOU WANT TO DO?

Scroll a zoomed matrix with the mouse wheel or zoom with option-scroll.

STEPS TO REPRODUCE AN ISSUE (OR TRIGGER A NEW FEATURE)

  1. Open small_133x133.cdt
  2. Zoom in a bit
  3. Hover the mouse over the matrix
  4. Scroll left/right/up/down
  5. Option-scroll up/down

CURRENT BEHAVIOR

The matrix does not scroll or zoom.

EXPECTED BEHAVIOR

The matrix scrolls & zooms.

DEVELOPERS ONLY SECTION

SUGGESTED CHANGE (Pseudocode optional)

Find the bug.

FILES AFFECTED (where the changes will be implemented) - developers only

IMVMouseAdapter InteractiveMatrixView MatrixViewController

LEVEL OF EFFORT - developers only

medium

COMMENTS

This bug appears to have been introduced in the merge of the restructure.

Comments (5)

  1. Robert Leach reporter

    This resolves issue #345.

    I had previously commented out a method which was changing focus on mouseEntered, but I inaccurately also commented out the "hasMouse" call which set the value to true as well, which is checked when mouse wheel events are called. I simply uncommented the setting of hasMouse.

    → <<cset 8f32f1162ba3>>

  2. Robert Leach reporter

    This resolves issue #345.

    I had previously commented out a method which was changing focus on mouseEntered, but I inaccurately also commented out the "hasMouse" call which set the value to true as well, which is checked when mouse wheel events are called. I simply uncommented the setting of hasMouse.

    → <<cset 8f32f1162ba3>>

  3. Log in to comment