Hello,

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

Thanks,
René
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to