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

Changing the zoom level while in a city dialog causes the dialog to close #729

Closed
jwrober opened this issue Nov 19, 2021 · 1 comment · Fixed by #870
Closed

Changing the zoom level while in a city dialog causes the dialog to close #729

jwrober opened this issue Nov 19, 2021 · 1 comment · Fixed by #870
Labels
bug Something isn't working gui This issue requires changes to the user interface

Comments

@jwrober
Copy link
Collaborator

jwrober commented Nov 19, 2021

Describe the bug
Changing the zoom level while in a city dialog causes the dialog to close

To Reproduce
Steps to reproduce the behavior:

  1. Go to default zoom (ctrl-backspace) -- or use the view menu
  2. Open a city dialog box
  3. Zoom in one level (shift-+) -- or use the view menu
  4. Notice the dialog closes and then the map zooms in one level

Expected behavior
The map zooms in one level and so does the city center and the city dialog's size shifts to match the new dimensions.

Screenshots
N/A

Platform and version (please complete the following information):

  • OS: All
  • Freeciv21 version: 3.0-Alpha9
  • Ruleset/Longturn game (if applicable): N/A

Additional context
None

@jwrober jwrober added bug Something isn't working Untriaged This issue or PR needs triaging labels Nov 19, 2021
@lmoureaux lmoureaux added gui This issue requires changes to the user interface and removed Untriaged This issue or PR needs triaging labels Nov 19, 2021
@lmoureaux
Copy link
Contributor

This is because changing the zoom level reloads the tileset, and reloading the tileset closes the city dialog.

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 This issue requires changes to the user interface
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants