Saving a map with empty textfields possible

Bug #1544474 reported by kaputtnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Low
Unassigned

Bug Description

1. Load a map
2. Enter Map options
3. Delete all Text from Mapname, Author and Description
4. The OK button is still activated and works
5. Save the map -> All text fields are empty

Loading such a map is still possible. The OK button in Map options is then deactivated.

I would expect that deleting the texts would result in an disabled OK button. Or hitting OK checks the fields and provide a error message showing what is wrong.

kaputtnik (franku)
tags: added: ui
GunChleoc (gunchleoc)
tags: added: editor
GunChleoc (gunchleoc)
Changed in widelands:
status: New → Confirmed
Revision history for this message
GunChleoc (gunchleoc) wrote :

I think that we should only make the map name mandatory. We could check during saving whether it is empty or "No Name" and simply use the filename then. That would be the least intrusive option.

tags: added: lowhangingfruit
Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Confirmed → 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.