Point selection doesn't work at high zoom?
See original GitHub issueđ Bug
When really zoomed inâpixel levelâthe point selection tool doesnât always select points.
To Reproduce
Steps to reproduce the behavior:
- Open Astronaut sample
- Add points layer
- Make a few points
- Zoom in on the points, select one and move it.
- Repeat 4, zoom in, use Select tool to move points.
Expected behavior
Points should âlight upâ on hover and be selectable at high zooms, just as at low zoom.
Environment
napari: 0.4.12 Platform: macOS-12.0.1-arm64-arm-64bit System: MacOS 12.0.1 Python: 3.9.6 | packaged by conda-forge | (default, Jul 6 2021, 08:51:19) [Clang 11.1.0 ] Qt: 5.15.2 PyQt5: 5.15.4 NumPy: 1.21.0 SciPy: 1.7.0 Dask: 2021.06.2 VisPy: 0.7.0
OpenGL:
- GL version: 2.1 Metal - 76.1
- MAX_TEXTURE_SIZE: 16384
Screens:
- screen 1: resolution 1680x1050, scale 2.0
Plugins:
- Measurements (skimage regionprops): 0.1.10
- StarDist: 2021.10.25
- Utilities (skimage regionprops): 0.1.10
- aicsimageio-in-memory: 0.4.1
- aicsimageio-out-of-memory: 0.4.1
- animation: 0.0.2
- clEsperanto: 0.10.7
- console: 0.0.4
- napari-tools-menu: 0.1.3
- ome-types: 0.2.6
- scikit-image: 0.4.12
- svg: 0.1.5
Additional context
I noticed this same behavior using main
when testing the new points cursor.
Also, why isnât the zoom/pan function automatically active when using the Select tool? It seems like it should be, at least to my intuition.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Why does the zoom sometimes stop at a point?
If I'm not mistaken, the reason the zoom stops is because the perspective camera that you're essentially looking reaches the maximum focal ......
Read more >Following the presenter's pointer - Zoom Support
How to follow the presenter's pointer during screen share ¡ Click on View Options. ¡ Hover your mouse over Zoom Ratio. ¡ Select...
Read more >Problem: Zooming to a layer doesn't zoom to the correct extent ...
Technical Article Details : Problem: Zooming to a layer doesn't zoom to the correct extent of the features in the feature class.
Read more >Change Zoom advanced options for accessibility on Mac
Change the size and position of the zoom window while working using the indicated keyboard shortcuts. Set the maximum and minimum levels of...
Read more >Adjust your zoom and view options â Figma Help Center
This allows you to preview how objects will appear on both low and high resolution displays. To enable Pixel preview. Open the zoom/view...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Automatically adjusting zoom would require (as you expected) a similar fix as the one required by #3734 . Thatâs not trivial, cause we need access to the camera zoom from the layer, afaik.
Changing default size is not really a solution, since that would depend on what other underlying data is there and how the camera initializes its zoom depending on it⌠I think the only good solution is to simply rework how points are rendered đ
Closing; further discussion should go to #2894 or vispy/vispy#2078.
Ok, what about a kludge where on mac the size is reduced with zoom? I mean your example
size=1
on my end is perfectly functional both atastronaut
high zoom. In fact, smaller points at high zoom seem more useful!Otherwise, maybe change the default size to maybe 2 or 3 so the effect is less likely to be triggered? Those are both functional at default zoom for
astronaut
on my end.Edit: also i meant close the issue since itâs sort of a dupe.