Thorandor posted on Mar 17, 2022 5:47:08 AM - Report post
Hi, bit of an edge case, maybe, but let me tell you what is happening currently:
Background: I currently have 2x 4k screens at home, usually the game on one, and trainer / Aurora on the other. I tend to switch between (another trainer team) and Aurora / CH Trainer, depending on the game or if I want a specific option available to me that the other one doens't have (please don't hate...)
The current situation: Anyway, one thing I noticed is that while many applications store the monitor they last appeared on (just like any other app I guess), some apps also tend to store the size they were resized to: for example, if I was to open OneNote, Spotify or Photoshop, the apps 'remember' the window size I set them to be. Ususally that helps to set up my screen as I like it, or to show a certain number of rows or options on the screen, or appear in the bottom right of said screen.
The Problem: Aurora however doesn't seem to store either: every time I start it up, I have to move the window to the location I wanted it to be (e.g. 2nd monitor, bottom left), but I also need to then resize it to the size I wanted it to be (e.g. 20% wider, 40% higher than default).
Is that something you could look into for future updates?
[Edited by Thorandor, 3/17/2022 5:50:22 AM]
Trainer tester Fix supplier
STAFF
0x90 posted on Mar 17, 2022 6:02:41 AM - Report post
Aurora already saves the window size +window position of the main window (not login screen). But you say it does not for you correct? Have you the same DPI on both monitors?
TIER 7
Thorandor posted on Mar 17, 2022 6:56:32 AM - Report post
quote:
originally posted by 0x90
Aurora already saves the window size +window position of the main window (not login screen). But you say it does not for you correct? Have you the same DPI on both monitors?
That's right, it doesn't store it for me. Both monitors are 150% DPI scale.
Trainer tester Fix supplier
STAFF
0x90 posted on Mar 17, 2022 7:15:46 AM - Report post
Aurora settings -> Misc -> Locate global settings file
Move Aurora where you want it to be and then close Aurora and open this file in text editor. Search for "MainWindowTop" / "MainWindowLeft" / "MainWindowWidth" / "MainWindowHeight" write down the values. Open Aurora again, according to what you said it should be placed incorrectly now, close it without "fixing" the position or size. Open the file again and write down the new values. And then tell me all 8 values please.
TIER 7
Thorandor posted on Mar 17, 2022 8:32:52 AM - Report post
Here you go: Changed location and height as I wanted them: "MainWindowHeight": 970.6666666666666, "MainWindowWidth": 1077.3333333333333, "MainWindowTop": 402, "MainWindowLeft": 2580,
Reopened, closed without changes, new values: "MainWindowHeight": 600, "MainWindowWidth": 950, "MainWindowTop": 0, "MainWindowLeft": 3840,
Trainer tester Fix supplier
STAFF
0x90 posted on Mar 17, 2022 8:35:32 AM - Report post
Ok, its set back to default size and top position because it believes it's out of screen. I believe its the DPI setting as there are several other window positioning issues related to that if DPI is anything except 100%.
TIER 7
Thorandor posted on Mar 17, 2022 8:41:35 AM - Report post
Okay, have now tried to move the application to the top left of the 2nd monitor and just pulled the window down (as in, only tried to adjust the height):
First setup: "MainWindowHeight": 960.6666666666666, "MainWindowWidth": 1120.6666666666667, "MainWindowTop": 22.666666666666664, "MainWindowLeft": 2606.6666666666665,
Closed, reopened (it appeared on second monitor, fully top, about 2in from the right) and made no changes, closed again: "MainWindowHeight": 600, "MainWindowWidth": 950, "MainWindowTop": 0, "MainWindowLeft": 3840,
So it looks to me that it counts pixels from the 1st monitor (i.e. the main monitor, with it being left of the 2nd), and then not taking into account scaling, as you surmised. Is it fixable?
[Edited by Thorandor, 3/17/2022 8:46:39 AM]
Trainer tester Fix supplier
STAFF
0x90 posted on Mar 17, 2022 8:55:13 AM - Report post