magefree / mage

Magic Another Game Engine
http://xmage.today
MIT License
1.87k stars 767 forks source link

GUI Feedback Popup windows opening in topleft corner is not ideal. #12281

Open tiera3 opened 4 months ago

tiera3 commented 4 months ago

I am not really sure what the best alternative is, but I find when playing, popups opening in the topleft corner to be uncomfortable positioning.

For example, there might be multiple triggers that I need to select which one to put on the stack first, so a box opens in the topleft corner and asks me to select which trigger to put on the stack first. I move the box to a more comfortable location, select my first trigger - then the box is back in the topleft corner asking me to select the next trigger. (It is probably a new box. I haven't looked at the code to verify, but that would make sense.)

Similar things happen when needing to order blockers for damage distribution. The box opens in the topleft corner covering the opponents creatures and the opponents stats (health, cards, mana, etc), so I need to move it out of the way to get a good look at the battlefield before making my choices. And each time, the next box is back in the topleft corner.

Off the top of my head, top-right of the battlefield (ie just before the chatbox) would probably be a better default location, though still not ideal.

PurpleCrowbar commented 4 months ago

This is actually a regression from a while ago, there was a time when the boxes you described would maintain their position after being interacted with. So if you moved it to the centre of the screen and selected a card (or what have you), it would flicker for a second, presumably to draw a new box, but that box would be in the same position as the previous one.

JayDi85 commented 4 months ago

Some tech details:

tiera3 commented 4 months ago

Thanks for the information. Now I understand why topleft is used (and why my suggested topright is not a good choice).

Edit: I am wondering, if just to the right of the player stats block would be an option (but suspect that might still be a little complicated due to possible varying resolution size).

JayDi85 commented 4 months ago

Little more details:

Standard use case for auto-save and auto-restore position and size: