Issues with the new map-movement feature
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
Since the title is a bit misleading: I mean the pretty new feature that clicks in the minimap-window zoom out, move to the position and move in again.
When clicking in the minimap a second time while still moving (i.e. zoomed out), the camera finishes the first movement and then zooms out again to do the second one. This might be intentional but personally I would prefer it when the first movement would be canceled when I click again.
What I consider a bug is that the "zoomed in" zoom-level is set on the second click. This means that when the second click is done while being zoomed out, the camera won't zoom in again when the second movement is finished.
A related observation is that the movement effect zooms out farther than it is possible to do with the mouse wheel.
I observed this in bzr8253[trunk]. Also happens when moving to/between messages.
Related branches
- GunChleoc: Approve
-
Diff: 16 lines (+3/-2)1 file modifiedsrc/wui/mapview.cc (+3/-2)
- GunChleoc: Approve
- SirVer: Needs Fixing
-
Diff: 21 lines (+7/-3)1 file modifiedsrc/wui/mapview.cc (+7/-3)
- GunChleoc: Approve
-
Diff: 174 lines (+21/-3)8 files modifiedsrc/scripting/lua_ui.cc (+1/-1)
src/ui_fsmenu/options.cc (+8/-1)
src/ui_fsmenu/options.h (+2/-0)
src/wlapplication.cc (+1/-0)
src/wlapplication_messages.cc (+3/-0)
src/wui/CMakeLists.txt (+1/-0)
src/wui/mapview.cc (+4/-1)
src/wui/mapview.h (+1/-0)
tags: | added: graphics ui |
Changed in widelands: | |
assignee: | SirVer (sirver) → nobody |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
> This might be intentional but personally I would prefer it when the first movement would be canceled when I click again.
It is intetional. This is up for discussion of course.
> [zoom bug]
I can repro this. I'll have a look.
> A related observation is that the movement effect zooms out farther than it is possible to do with the mouse wheel.
This is also intentional because I felt it gives a better feeling for the animation.