lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Saving and restoring window geometry


From: Vadim Zeitlin
Subject: Re: [lmi] Saving and restoring window geometry
Date: Wed, 18 Apr 2018 15:43:25 +0200

On Wed, 18 Apr 2018 12:33:52 +0000 Greg Chicares <address@hidden> wrote:

GC> On 2018-03-11 21:14, Vadim Zeitlin wrote:
GC> > On Sun, 11 Mar 2018 17:08:42 +0000 Greg Chicares <address@hidden> wrote:
GC> [...]
GC> > GC> If I start lmi and unmaximize it, then resize it and exit, the new 
size
GC> > GC> isn't remembered when I start lmi again. I assume that's what you're
GC> > GC> talking about here, and I guess you'd like to be able to remember the
GC> > GC> resized dimensions of other windows like the tabbed input dialog as
GC> > GC> well.
GC> > 
GC> >  Yes, exactly.
GC> [...patch...]]
GC> > or, in the PR form, https://github.com/vadz/lmi/pull/75
GC> 
GC> With that PR applied (I just pushed it now),

 Thanks!

GC> try the following; I describe what I see under 'wine':
GC> 
GC>  - resize and reposition lmi in some recognizable way
GC>      (I made it a tiny window at lower left)
GC>  - close and reopen
GC>      the recognizable size and position have been restored
GC>  - close and reopen, then minimize, then close and reopen, and unminimize
GC>      the recognizable size has been restored
GC>      but the position has been forgotten--lmi is centered

 I don't see this under msw-7, the position is correctly restored. I'll try
it later under Wine because I think this might be another Wine-specific
problem and, hopefully, not one really important in practice, as you probably
don't often close lmi in minimized state.

 FWIW I even wonder if we really want to reopen the window in the minimized
state if it was minimized when closed. There are some applications for
which it could make sense, but I don't think it really does for lmi and lmi
users might be confused if the application window doesn't come up after
launching it. Or I could also be over-thinking things.

GC>  - close and reopen, then maximize, then close and reopen, and unmaximize
GC>      neither size nor position is restored
GC>      it's the same size as a maximized window

 I do see this and it's indeed a (known) problem. It's actually even worse
for me because the window appears as maximized on the wrong (primary)
monitor instead of the one on which I had maximized it before, so it's
really annoying. I'd like to fix this, but I think it would involve doing
it in wxWidgets itself, so I probably need to do it very soon, before you
upgrade the version used by lmi. Could you please let me know when (at the
earliest) will this happen?

 Thanks,
VZ


reply via email to

[Prev in Thread] Current Thread [Next in Thread]