Posts: 2
Joined: Mar 2021
Reputation:
0
Have Kodi remember the application windows last position and size in Windows and reopen in that position at that size.
Use case: Open Kodi, put it in windowed mode. Size and position to your liking. Close Kodi. Reopen Kodi.
Current behavior: Kodi will open at the same size but centered on the desktop regardless of the last position.
Desired behavior: Kodi opens at the same size and in the same position on the desktop where the user last left it.
Posts: 26
Joined: Feb 2015
Reputation:
2
Upgrade to 19.4 from 18.1 on Windows 10.
Kodi v.18.1 remembered my window position. Kodi v.19.4 doesn't. Why? Guess I need to downgrade till you get that sorted.
Posts: 13,431
Joined: Mar 2010
Reputation:
481
PatK
Team-Kodi Member
Posts: 13,431
2022-08-24, 14:38
(This post was last modified: 2022-09-12, 16:43 by PatK.)
I do remember some public domain software that re-positioned windows, running Kodi through a batch file would allow entry of the position of the window as last command. You'll have to source out this little pearl (see post #10) or just update to Nexus beta.
Posts: 108
Joined: Feb 2017
Reputation:
3
2023-03-17, 00:12
(This post was last modified: 2023-03-17, 00:13 by mmortal03. Edited 1 time in total.)
I haven't looked at the code, but this seems to have caused an issue with remembering the window size/position that is *slightly* larger or slightly off-screen. A reason for needing this is to avoid the longstanding issue where someone wants the Windowed Mode to fit exactly within the desktop space above the taskbar, such that no clicks at the edge of the screen will accidentally click on windows behind it (such as scrollbars, and close buttons in the top right corner!).
To get around this up until now, I'd made my Kodi shortcut start with the window maximized. Unfortunately, this is now causing a further problem, now opening the Kodi window with space to the bottom and to the right. I recall similar issues in the past having to do with Windows and DPI scaling at higher than 100%, but, unfortunately, DPI compatibility options aren't fixing this issue right now, either.
If I set it back to open as a normal window, remembering the size/position *would* work, but only *if* it could remember size and position *slightly* off-screen. Unfortunately, that's not working, either. I can understand not remembering a window position to the extent that you can't find the window title bar to drag (for safety reasons), but this doesn't seem to be allowing the necessary *slightly* larger window to be remembered.