Codectory / AutoActions

Application-based actions to change Windows settings ( display, audio) or run any program or action
GNU General Public License v3.0
486 stars 18 forks source link

Cant return to my native resolution using the display action #151

Open axios343 opened 1 year ago

axios343 commented 1 year ago

Describe the bug When I set 2560x1440 as a display action (for after an app closes) while I have set my resolution higher 3413x1920 (DSR) nothing happens. It will not return to my native Res.

To Reproduce Steps to reproduce the behavior:

  1. Change resolution to 3413x1920 (DSR)
  2. Choose either action shortcuts or create a new profile with a display action
  3. Set a display action to change resolution back to native 2560x1440
  4. Run display action and...See error (NO resolution change)

Expected behavior I expected the resolution to change to what I specified my native res (1440)

Files "ApplicationStarted": [ { "$type": "AutoActions.Profiles.Actions.DisplayAction, AutoActions", "DisplayUID": 4355, "ChangeHDR": false, "ChangeResolution": true, "ChangeRefreshRate": false, "ChangeColorDepth": false, "EnableHDR": false, "Resolution": "3413, 1920", "RefreshRate": 165, "ColorDepth": 0 } ], "ApplicationClosed": [ { "$type": "AutoActions.Profiles.Actions.DisplayAction, AutoActions", "DisplayUID": 4355, "ChangeHDR": false, "ChangeResolution": true, "ChangeRefreshRate": false, "ChangeColorDepth": false, "EnableHDR": false, "Resolution": "2560, 1440", "RefreshRate": 165, "ColorDepth": 0 } ], "ApplicationGotFocus": [], "ApplicationLostFocus": [], "RestartApplication": false } ], "ApplicationProfileAssignments": [ { "$type": "AutoActions.ApplicationProfileAssignment, AutoActions", "Application": { "$type": "AutoActions.ApplicationItem, AutoActions", "PackageError": false, "DisplayName": "launcher", "ApplicationName": "launcher", "IsUWP": false, "IsUWPWepApp": false, "UWPFamilyPackageName": "", "UWPIdentity": "", "ApplicationFilePath": "C:\Users\Worthy\AppData\Local\Programs\Opera GX\launcher.exe", "UWPFullPackageName": "", "UWPApplicationID": "" }, "ProfileGUID": "0e610d59-b6e2-46ea-9257-98ce9ae62221", "Position": 0 } ] }

**Desktop

**Hardware

Additional context Tried with a custom non DSR resolution (Nvidia control panel) Same issue, so it cant be because of DSR.

axios343 commented 1 year ago

I have tried setting it to 1920x1080 for testing and that worked fine! It just wont go to 2560x1440...

iHaired commented 8 months ago

Same problem here. I've set a profile to return from 2560×1080 144 hz to native 3840×1080 120 hz and nothing happens.