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] Zoom to saved region not working properly with "Constrain display resolution to computational settings" #3502

Open
HuidaeCho opened this issue Mar 15, 2024 · 0 comments
Labels
bug Something isn't working display GUI wxGUI related

Comments

@HuidaeCho
Copy link
Member

HuidaeCho commented Mar 15, 2024

Describe the bug
Zoom to saved region with "Constrain display resolution to computational settings" draws a small red rectangle in the middle of the monitor, but the rendering is zoomed in. On pan, the full extent of raster is rendered.

To Reproduce
Steps to reproduce the behavior:

# NC sample dataset
d.mon wx0
g.region rast=elevation
d.rast elevation
# zoom to a small region
# Save display geometry to named region "test"
# Constrain display resolution to computational settings
# zoom to full extent
# Zoom to saved region "test"
# see the screenshot below
# pan and see how rendering *expands* to a bigger region

Expected behavior
Zoom to saved region properly and pan should recognize the new region.

Screenshots
image

System description (please complete the following information):

  • Operating System: Linux
  • GRASS GIS version: main branch

Additional context
Zoom to saved region works fine without "Constrain display resolution to computational settings" so I think it's a problem with the constraining setting.

The test was done without #3500.

Related issues: #3503, #3504

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working display GUI wxGUI related
Projects
None yet
Development

No branches or pull requests

1 participant