longturn / freeciv21

Develop your civilization from humble roots to a global empire
GNU General Public License v3.0
219 stars 42 forks source link

Additional city exit method #1407

Open Corbeau-1 opened 1 year ago

Corbeau-1 commented 1 year ago

When city window is opened, clicking anywhere outside the relevant area (outside of all windows and city area) closes city window.

At the moment it's Escape or the x button. This makes it quicker and easier for us who like to do some things quickly.

lmoureaux commented 1 year ago

Not sure we want this. Isn't Esc fast enough? (I usually keep my left hand on the keyboard so I'm biased.)

Note that clicking on another city will already switch to it.

lmoureaux commented 7 months ago

I often try to click units from within the city dialog. Having to close it first is annoying.

Corbeau-1 commented 7 months ago

Ok, this is an older ticket an you guys are right. ESC is fine and clicking somewhere else may be too much so this ticket may go to the bin. But in the meantime I realised something else is bothering me:

image

This build units window is more hard to close. You have to click somewhere else (anywhere, yes, this is what I was initially asking for the city window), and ESC doesn't work at all. The problem with clicking somewhere else is that the click activates whatever I'm clicking on so I have to be careful. Ok, with time I learned what to do, but adding ESC to exit this window would be helpful.