Minimap can become too big at 2x Zoom

Bug #1683185 reported by kaputtnik
6
This bug affects 1 person
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?

kaputtnik (franku)
summary: - Too big minimap, size of minimap not resetted
+ Too big minimap
summary: - Too big minimap
+ Too big minimap at 2x Zoom
GunChleoc (gunchleoc)
Changed in widelands:
milestone: none → build20-rc1
tags: added: ui
tags: added: lowhangingfruit
Changed in widelands:
importance: Undecided → High
Revision history for this message
GunChleoc (gunchleoc) wrote : Re: Too big minimap at 2x Zoom

Disabling the button is a good idea.

The window will also need to subscribe to the GraphicResolutionChanged 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.

Changed in widelands:
status: New → Triaged
summary: - Too big minimap at 2x Zoom
+ Minimap can become too big at 2x Zoom
GunChleoc (gunchleoc)
Changed in widelands:
milestone: build20-rc1 → build21-rc1
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.