> Does setGeometry() not work? That you for the link. I now use pos().x(), pos().y(), width(). height() to get info, and move() to set location. With only one problem:
With saved location, 1. start lyx, lyx loads location/size and place/resize itself as expected. 2. do nothing, close lyx using Alt-F4, saved location becomes 0, 0 Do you know what just happened? Why pos() returns (0, 0) the second time? Note that if I click the window once, pos() returns correct value. If you want to test it out, I can send you the patch. Bo