Reconcile window opens invisible on El Capitan

John Ralls jralls at ceridwen.us
Wed Nov 18 01:01:58 EST 2015


> On Nov 17, 2015, at 6:39 PM, David Bergum <dib at red-sky.us> wrote:
> 
> 
>> On Nov 17, 2015, at 10:45, John Ralls <jralls at ceridwen.us> wrote:
>> 
>> Since we don’t call set_transient_for() on our dialogs, Gtk puts them at monitor coordinates 0,0. I wonder if those coordinates might be off-screen in your case: You said “upper” monitor, suggesting that your secondary is positioned on top of your primary in Display Settings>Layout (from memory, I’m on my MBA right now). Perhaps your secondary is wider than your primary so the upper left corner of the primary isn’t 0,0. If that sounds plausible to you, try changing the monitor layout so that they’re side-by-side and see if that makes the dialog box visible without repositioning it.
> 
> My external monitor is above my builtin, and slightly to the right, probably making 0,0 to the left of the external monitor.  This shows the arrangement setting:
> 
> 	https://dl.dropboxusercontent.com/u/89166116/Screen%20Shot%202015-11-14%20at%2012.11.36.png
> 
> With this setup, my mouse runs continuously from my internal display to the external display, just because of the physical orientation.
> 
> And yes, it is the staring parameters window associated with the reconcile action.


The image seems to be a train-fare matrix.

With that information I’m able to replicate the problem. The work-around is to make sure that the left edges line up or the upper monitor extends to the left of the lower one: Then the dialog box is presented on the left edge of the lower monitor instead of somewhere off-screen. Gtk-quartz needs a more sophisticated default dialog box positioning algorithm so it recognizes when a location will be invisible.

We could call set_transient_for() for all of the dialog boxes to get them to pop up in the middle of the window they belong to, though there’s a downside to that because the Mac stacking model is a bit different from Gtk’s and it can result in dialog boxes getting hidden behind other windows and making it seem that the program has locked up.

Regards,
John Ralls


More information about the gnucash-user mailing list