With the current trunk, I've noticed an interesting connundrum, at least 
on my system. I'm running Linux Mint with the MATE desktop. I ordinarily 
operate with focus-follows-mouse but this manifests with the usual 
click-to-focus mode, too.

In full screen mode, a number of the popup windows (file chooser, 
confirm quit, etc.) pop up *behind* the full screen window. Using 
Alt-Tab to switch to another window shows the popup but as soon as 
freecol gets focus back, the popup again hides behind the full screen 
window. This essentially freezes the game. The only way to stop it is to 
kill it from a command prompt.

It seems the full screen mode is also excessively enthusiastic about 
jumping to the front when it gets focus in focus-follows-mouse mode, but 
a case can potentially be made for that. Perhaps it would be better to 
minimize on focus loss in full screen mode, if that's possible at all. I 
don't know how much of that is java behaviour, freecol behaviour, or 
desktop environment behaviour.

I have also noticed some suboptimal placement of various popups, often 
appearing mostly obscured off the edge of the containing window. Seems 
like it would make sense to force a popup to be visible within the 
current confines of the display window since there's no way to scroll to 
reach a window that appears too far off screen. It happens most often 
with the "purchase", "train", and "recruit" popups from the Europe 
screen. It seems they avoid overlapping at the expense of being fully 
visible. Perhaps it's only checking for the top left coordinates when 
selecting a position? It would seem that overlapping would be preferable 
to appearing mostly off screen. This happens in windowed mode. Given the 
previously described issue, I obviously can't test full screen mode 
placement.

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Freecol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freecol-developers

Reply via email to