Re: KGeoTag's main window position is not restored

2024-05-30 Thread Tobias Leupold
Hi all again, just fyi: I found it. It was indeed PEBCAK ;-) I use an override closeEvent() function. At the end of this function, I called QApplication::quit(). This bypassed the needed functionality. Passing the close event through to KXmlGuiWindow::closeEvent() fixed the position not being

Re: KGeoTag's main window position is not restored

2024-05-26 Thread Tobias Leupold
E-Mail vom Sonntag, 26. Mai 2024, 18:14:12 CEST: > It is not possible anymore in Wayland because window coordinates cannot be > set. I know (from the KMainWindow sources), but I don't use Wayland. Also, e.g. for KPhotoAlbum (which apparently does exactly same), the position is restored as exptec

Re: KGeoTag's main window position is not restored

2024-05-26 Thread slbtty
ably, this is PEBCAK ;-) > > Currently, KgeoTag's main window position is not restored when closing it and > opening it again. The dock arrangement is restored, and also the window size > -- but the window always appears always in the middle of the screen. > > Initially, I us

KGeoTag's main window position is not restored

2024-05-26 Thread Tobias Leupold
Hi all! I'm a bit lost with this one. Maybe someone with more insight in KXmlGuiWindow could give me a hand about this? Most probably, this is PEBCAK ;-) Currently, KgeoTag's main window position is not restored when closing it and opening it again. The dock arrangement is restored