AttorneyOnline / AO2-Client

An off-the-cuff courtroom drama simulator
https://aceattorneyonline.com
GNU General Public License v3.0
61 stars 58 forks source link

[Feature] Restore Window Position #1012

Closed Salanto closed 4 months ago

Salanto commented 4 months ago

Currently the client always opens wherever the underlying window system decided to put it, which is suboptiomal for setups with multiple monitors.

The easiest way we could implement it is using this example from Qt : https://doc.qt.io/qt-6/restoring-geometry.html However, we might want to add some extra fluff, such as:

in1tiate commented 4 months ago

whats with these homies restoring my window position

i dont think its necessary to have window positions remembered for every individual window. just spawn all new windows relative to the position of the main window, that should be good enough

Salanto commented 4 months ago

I would still do it for the three most relevant ones, i.E Lobby, Courtroom and Settings. The rest is probably ignorable for now.

stonedDiscord commented 4 months ago

someone is gonna drag AO behind their taskbar on their 720p laptop