[KDE/Mac] Qt4/KDE4 issue with persistent window size across restarts on OS X 10.9
jpwhiting at kde.org
Fri Feb 13 16:42:21 UTC 2015
As you describe this problem, the first thing that comes to mind is
KMainWindow's restoreWindowSize and saveWindowSize
which are usually called from ctor and dtor from what I remember when the
applications I maintained were kdelibs4 based.
On Fri, Feb 13, 2015 at 8:44 AM, René J.V. <rjvbertin at gmail.com> wrote:
> I stumbled across a rather strange issue with window size caching/memory
> across application restarts. I'm used to the fact that my applications
> retain their last window size after a restart After I had to replace my
> external monitor, applications began opening with a size other than the one
> they had before, and for some reason I couldn't make the intended size
> Purely by accident I noticed that this is only when I resize and then exit
> them on my laptops internal screen, which happens to be the 2ndary screen
> (i.e. the one that doesn't have the menubar). When I move the application
> (or window for multi-window apps?) back to the main screen and then exit
> it, size is remembered perfectly.
> I checked, this is only an issue with KDE4 applications, pure Qt4
> applications (like Assistant) appear not to be affected. I am not aware of
> anything particular that KDE4 does to be able to restore window size and
> position; I was under the impression that this feature was inherited
> directly from Qt.
> NB: come to think of it, KDE4 applications never restored their last
> position correctly for me.
> Is there somewhere I could look for missing code required for (full)
> support of window size & position restore, or rather is there a call to
> deactivate it that I should look for? It seems not unlikely that restoring
> is deactivated in, say, kdelibs, because it's supposed to be handled by the
> window or session manager on Linux desktops. That would evidently not be
> appropriate on OS X (or MS Windows).
> kde-mac at kde.org
> List Information: https://mail.kde.org/mailman/listinfo/kde-mac
> KDE/Mac Information: http://community.kde.org/Mac
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kde-mac