Minimap can become too big at 2x Zoom
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
High
|
Unassigned |
Bug Description
The size of the minimap of a 512x512 map is very big. I guess this is normal... but if i click 2x zoom the minimap gets a size where the bottom buttons aren't reachable anymore (screen resolution 1680x1050). In this situation it is not possible to get the minimap into normal zoom again. Closing it with right click and reopen it again, shows the minimap in 2x zoom status. The only way to get to a normal status is to exit the game and reload a saved game.
Steps to reproduce:
1. Start editor
2. Create a new map with 512x512 dimension
3. Open minimap
4. click 2x zoom on the bottom of the minimap
Depending on your resolution of the screen (my resolution: 1680x1050) the buttons at the bottom of the minimap switch below the bottom edge of the screen.
Maybe the 2x Zoom button should be disabled when the resulting height would be greater than the resolution of the screen?
summary: |
- Too big minimap, size of minimap not resetted + Too big minimap |
summary: |
- Too big minimap + Too big minimap at 2x Zoom |
Changed in widelands: | |
milestone: | none → build20-rc1 |
tags: | added: ui |
tags: | added: lowhangingfruit |
Changed in widelands: | |
importance: | Undecided → High |
Changed in widelands: | |
milestone: | build20-rc1 → build21-rc1 |
Disabling the button is a good idea.
The window will also need to subscribe to the GraphicResoluti onChanged notes in order to enable/disable the zoom button with fullscreen switches if appropriate. Also, if the user switches from fullscreen to windowed mode and the map is set to 2x zoom, the zoom factor will need changing if it won't fit to the resolution afterwards.