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] Using g.gisenv does not refresh the Data catalog properly #1443

Closed
HuidaeCho opened this issue Mar 10, 2021 · 3 comments
Closed

[Bug] Using g.gisenv does not refresh the Data catalog properly #1443

HuidaeCho opened this issue Mar 10, 2021 · 3 comments
Labels
bug Something isn't working GUI wxGUI related
Milestone

Comments

@HuidaeCho
Copy link
Member

Describe the bug
When I switch mapset from the CMD window using g.gisenv and refresh (the current mapset refresh button) the Data catalog, it displays both old and new mapsets as current. I have to collapse either mapset to update the tree correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Start in a mapset
  2. g.mapset another_mapset
  3. Click the refresh current mapset button
  4. See two current mapsets <--- Bug
  5. Collapse either old or new mapset
  6. Now, only one current mapset

Expected behavior
Only the current mapset is labeled as current.

Screenshots

image

System description (please complete the following information):

  • Operating System: Windows
  • GRASS GIS version: master

Additional context

@HuidaeCho HuidaeCho added bug Something isn't working GUI wxGUI related labels Mar 10, 2021
@petrasovaa
Copy link
Contributor

This should be addressed in #1174, it would automatically change the current mapset in data catalog.

@HuidaeCho
Copy link
Member Author

This should be addressed in #1174, it would automatically change the current mapset in data catalog.

Awesome! I'll try #1174 (still draft).

@petrasovaa
Copy link
Contributor

This should be more or less addressed in now merged #1174. Note, that switching mapsets using g.gisenv leaves .gislock behind, so using g.mapset is preferable.

@neteler neteler added this to the 8.0.0 milestone Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working GUI wxGUI related
Projects
None yet
Development

No branches or pull requests

3 participants