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

[Bug]: Right click to view options on polygon no longer works - polygon pans instead #2950

Open
SebastianoF opened this issue Jan 28, 2025 · 2 comments
Assignees
Labels
bug Something isn't working jupyter keplergl for Jupyter

Comments

@SebastianoF
Copy link

SebastianoF commented Jan 28, 2025

Describe the bug
Right click to view options on polygon no longer works

To Reproduce

  1. create a new python virtualenvironment
python3.12 -m venv venv_new
source venv_new/bin/activate
  1. install latest kepler-gl (0.3.6) within the created environment
pip install keplergl    # triggers `Downloading keplergl-0.3.6.tar.gz , ...`
  1. Create a new jupyter notebook, and select venv_new as its kernel
  2. Create an empty Kepler map within the jupyter notebook on vscode
from keplergl import KeplerGl

kmap = KeplerGl()
kmap
  1. use the draw on map tool to create any polygon or rectangle on the map
  2. hover over the rectangle to trigger the pop up menu suggesting "Right click to view options".
  3. Right click as suggested

Expected behavior
The options menu would not open. Instead the polygon/rectangle enter pans mode, as if the left button on the mouse was clicked instead.

  • The menu fails to open only in the map integrated into VSCode.
  • The menu opens correctly when right clicking on the jupyter notebook opened on the browser.

Raising the issue here as I am not sure if the culprit is latest VSCode version, or it has to do with KeplerGl, or both.

The menu to copy the geometry opens correctly if the Notebook is opened on the browser
Image

The menu to copy the geometry does not open when embedded in a Jupyter notebook in VSCode
Image

Desktop (please complete the following information):

  • OS: iOS 15.1.1
  • Browser: None
  • IDE: VSCode Version: 1.96.3
@SebastianoF SebastianoF added the bug Something isn't working label Jan 28, 2025
@igorDykhta
Copy link
Collaborator

Note: right click popup works in demo-app

@SebastianoF
Copy link
Author

Please add Jupyter tag if you have permission. I can no longer do it from my side. Thank you

@igorDykhta igorDykhta added the jupyter keplergl for Jupyter label Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jupyter keplergl for Jupyter
Projects
None yet
Development

No branches or pull requests

3 participants