On Wed, 15 Jan 2014 21:45:06 -0700
William Astle <[email protected]> wrote:
> In full screen mode, a number of the popup windows (file chooser, 
> confirm quit, etc.) pop up *behind* the full screen window.

Probably BR#1738, possibly BR#2047, and BR#2328.  Most were reported on
windows so I doubt linux and/or mate are implicated.

> 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 am no expert on Java GUIs, or even the FreeCol UI, so I could well be
wrong here, but ATM I am most suspicious of the Java libraries.  What I
can say is that FreeCol does not contain any code that tries to dynamically
reorder the windows, maximize, minimize or whatever.  All I can think
of is there is some attempt to place popups in a layer that should be
always in front of the map layer, but this happens at the point they are
created and is never changed.  For any focus sensitive behaviour, we are
using whatever the Java default is, except at the level of focus within
components (i.e. when a particular popup gets focus, we might default the
focus to the "Cancel" button therein).

I do not hold out much hope of progress here.  This is going to take
someone who actually understands Swing, and uses full screen mode.

> 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.

You should be able to drag them back to where they are fully visible.
However I agree this is poor.  This is code I do know something about, as
it is due to my dubious attempts to stop popups overlapping themselves,
which is a common source of complaint.
 
> Perhaps it's only checking for the top left coordinates when 
> selecting a position?

I hope so.  I will look at it.

> It would seem that overlapping would be preferable 
> to appearing mostly off screen.

Not to some users I fear.  As usual with UI stuff, whatever we do,
someone will object.

Cheers,
Mike Pope

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
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