Skip to content

issue #3119: drag the execution viewport to navigate the canvas - #7932

Merged
hansva merged 1 commit into
apache:mainfrom
mattcasters:issue-3119
Aug 13, 2026
Merged

issue #3119: drag the execution viewport to navigate the canvas#7932
hansva merged 1 commit into
apache:mainfrom
mattcasters:issue-3119

Conversation

@mattcasters

Copy link
Copy Markdown
Contributor

What

The execution information canvas painted a minimap but never started a viewport drag, so the blue overlay did nothing on desktop Hop GUI or Hop Web. This wires mouse handling so you can drag the overlay (and click the rest of the minimap) to move the view.

Why

Fixes #3119. The issue was reported for Hop Web, but the same mouseDown path was missing on desktop.

How

  • Call setupDragViewPort() from pipeline and workflow execution viewers
  • Click the minimap outside the overlay to jump the view, then drag
  • On Hop Web, apply the final offset on mouse up (RAP does not send mouse-move events)
  • Shared overlay math in ViewPortNavigator with unit tests
  • Hover cursor over the minimap on editor and execution canvases

Testing

  • Unit tests: ViewPortNavigatorTest
  • Manually: drag the blue overlay and click the minimap in the Execution Information perspective (desktop). Hop Web applies the new view on mouse up.

The execution viewers painted the minimap but never started a viewport
drag on mouse down, so the blue overlay did nothing on desktop or Hop
Web. Wire setupDragViewPort, allow click-to-jump on the minimap, and
apply the final offset on mouse up in RAP.
@hansva
hansva merged commit 61a69d7 into apache:main Aug 13, 2026
3 checks passed
jefersonminatozaki pushed a commit to jefersonminatozaki/hop that referenced this pull request Aug 14, 2026
…apache#7932)

The execution viewers painted the minimap but never started a viewport
drag on mouse down, so the blue overlay did nothing on desktop or Hop
Web. Wire setupDragViewPort, allow click-to-jump on the minimap, and
apply the final offset on mouse up in RAP.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Hop Web - Execution Information Perspective - Viewport don't allow mouse drag and drop to navigate over the canvas.

2 participants