Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactive window images do not zoom #406

Closed
zooba opened this issue Jun 12, 2015 · 2 comments
Closed

Interactive window images do not zoom #406

zooba opened this issue Jun 12, 2015 · 2 comments
Assignees
Labels
Milestone

Comments

@zooba
Copy link
Member

zooba commented Jun 12, 2015

Start an IPython interactive window and plot something. Then zoom in and out in the editor - the image stays the same size.

@zooba zooba added this to the 2.2 milestone Jun 12, 2015
@int19h
Copy link
Contributor

int19h commented Jun 15, 2015

Worse yet, there's no resize handle, so there isn't even a workaround.

@zooba
Copy link
Member Author

zooba commented Jun 17, 2015

All the required pieces are there, but the events are not bubbling into the interactive window properly.

Looking at ZoomableInlineAdornment:

  • MouseRightButtonDown makes it but two context menus open and you can't see the adornment one
  • PreviewMouseLeftButtonDown arrives but MyContent is never focused
  • GotFocus and LostFocus never arrive
  • Other events require GotFocus to arrive, so not sure whether they make it

I'd guess the problem is just that the adornment is not allowed to get focus. Hard to tell why that's the case and I can't tweak enough properties in the debugger to make it work, but the rest of the functionality seems to be there.

@zooba zooba self-assigned this Jul 6, 2015
@zooba zooba mentioned this issue Jul 7, 2015
@zooba zooba closed this as completed in #555 Jul 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants