grass icon indicating copy to clipboard operation
grass copied to clipboard

[Bug] d.rast.num not aligned right after Zoom to saved region

Open HuidaeCho opened this issue 1 year ago • 1 comments

Describe the bug d.rast.num rendering is not aligned immediately after Zoom to saved region.

To Reproduce Steps to reproduce the behavior:

In NC sample dataset,

  1. Start g.gui (same issue with d.mon wx0)
  2. Add elevation raster
  3. Zoom to a small region
  4. Save display geometry to named region "test"
  5. Zoom to full extent
  6. Zoom to saved region "test"
  7. Add raster cell numbers and Yes to the display resolution dialog; No with -a flag (Align grid with raster cells) results in the same issue
  8. Select elevation and OK
  9. Panning away fixes the alignment

Expected behavior Nicely aligned number grid.

Screenshots image

System description (please complete the following information):

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

Additional context The test was done without #3489.

Related issues: #3502, #3504

HuidaeCho avatar Mar 15 '24 04:03 HuidaeCho

This issue is a combination of #3504 (base map redrawing) and #3505 (aspect ratio).

HuidaeCho avatar Mar 15 '24 06:03 HuidaeCho