The Edit box in the Editor's "Map Options" should have a "save" and "cancel" button to exit this window
Bug #814500 reported by
Astuur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
There is currently no way to cancel modifications to these data, since they seem to get stored immediately.
Closing this window by RMB (now the only way to exit) should work like "cancel".
and to save the modifications, there should be an additional "save" button.
Also it may be good to resize the window (larger!) since most map titles exceed the available space.
Related branches
lp:~widelands-dev/widelands/bug-1390793
- TiborB: Approve
- GunChleoc: Needs Resubmitting
-
Diff: 4352 lines (+1701/-1382)44 files modifiedsrc/editor/CMakeLists.txt (+3/-1)
src/editor/editorinteractive.h (+2/-1)
src/editor/ui_menus/editor_main_menu.cc (+1/-1)
src/editor/ui_menus/editor_main_menu_load_map.cc (+26/-222)
src/editor/ui_menus/editor_main_menu_load_map.h (+10/-28)
src/editor/ui_menus/editor_main_menu_load_or_save_map.cc (+218/-0)
src/editor/ui_menus/editor_main_menu_load_or_save_map.h (+71/-0)
src/editor/ui_menus/editor_main_menu_map_options.cc (+161/-81)
src/editor/ui_menus/editor_main_menu_map_options.h (+32/-11)
src/editor/ui_menus/editor_main_menu_new_map.cc (+1/-1)
src/editor/ui_menus/editor_main_menu_random_map.cc (+1/-1)
src/editor/ui_menus/editor_main_menu_save_map.cc (+159/-297)
src/editor/ui_menus/editor_main_menu_save_map.h (+14/-25)
src/editor/ui_menus/editor_main_menu_save_map_make_directory.cc (+39/-50)
src/editor/ui_menus/editor_main_menu_save_map_make_directory.h (+13/-9)
src/editor/ui_menus/editor_tool_menu.cc (+8/-1)
src/logic/map.cc (+1/-2)
src/logic/map.h (+4/-3)
src/logic/production_program.cc (+1/-1)
src/ui_basic/helpwindow.cc (+1/-1)
src/ui_basic/messagebox.cc (+2/-2)
src/ui_basic/multilineeditbox.cc (+36/-4)
src/ui_basic/multilineeditbox.h (+3/-1)
src/ui_fsmenu/CMakeLists.txt (+1/-3)
src/ui_fsmenu/campaign_select.cc (+42/-43)
src/ui_fsmenu/campaign_select.h (+9/-3)
src/ui_fsmenu/launch_mpg.h (+1/-1)
src/ui_fsmenu/load_map_or_game.cc (+15/-18)
src/ui_fsmenu/load_map_or_game.h (+9/-39)
src/ui_fsmenu/loadgame.cc (+32/-30)
src/ui_fsmenu/loadgame.h (+4/-2)
src/ui_fsmenu/mapselect.cc (+179/-413)
src/ui_fsmenu/mapselect.h (+34/-66)
src/wlapplication.cc (+1/-12)
src/wui/CMakeLists.txt (+16/-0)
src/wui/login_box.cc (+1/-1)
src/wui/mapdata.h (+197/-0)
src/wui/mapdetails.cc (+154/-0)
src/wui/mapdetails.h (+64/-0)
src/wui/maptable.cc (+82/-0)
src/wui/maptable.h (+45/-0)
src/wui/story_message_box.cc (+1/-1)
src/wui/suggested_teams_box.cc (+4/-4)
src/wui/suggested_teams_box.h (+3/-3)
Changed in widelands: | |
status: | Confirmed → In Progress |
assignee: | nobody → GunChleoc (gunchleoc) |
milestone: | none → build19-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
Changed in widelands: | |
assignee: | GunChleoc (gunchleoc) → nobody |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Thanks for adding tags and screenshot :)
Sounds like a reasonable request to me. Not sure how much work it will take to change the current behaviour which always saves, but it shouldn't be impossible.
A (really minor) concern is how this affects consistency with other windows, since they will be default store the changes you do when you close it by rightclicking. Then again most windows I can think of wouldn't fit a save/cancel scenario like this. And I don't think it really matters if the game and editor behaves slightly different as long as they are internally consistent.
I am assigning this for build17 as I know SirVer is working on the editor for this cycle. (Feel free to reassign to later, though)