Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

[Bug]: Cider is not remembering window position #1362

Closed
2 tasks done
Naxterra opened this issue Aug 14, 2022 · 10 comments
Closed
2 tasks done

[Bug]: Cider is not remembering window position #1362

Naxterra opened this issue Aug 14, 2022 · 10 comments
Assignees
Labels
bug Something isn't working main Issue or feature related to the main process of Cider.

Comments

@Naxterra
Copy link

Describe the Bug

When I restart Cider, it always opens in full screen mode. I am changing window position every time I restart the app but still it is not remembering last used window position.

I tried enabling and disabling Native Title Bar and setting hardware renderer to WebGPU and default but nothing changed.

Steps to Reproduce

1- Start Cider
2- Adjust window position
3- Close and start Cider again
4- It open in full screen mode.
5- When I double click on top bar, it switches to windowed mode but not to my configured window size.

Environment Information

  • OS: Windows 11
  • App Version and/or Commit ID: 1.5.4 Beta 49

Anything else?

No response

Code of Conduct

Disclaimer

@Naxterra Naxterra added bug Something isn't working needs-triage Awaiting triage. labels Aug 14, 2022
@yazninja
Copy link
Member

yazninja commented Aug 14, 2022

Your window config might be bugged. In any case try deleting Cider's appdata

rmdir /S /Q %appdata%\Cider just type this into cmd and restart the app.

*Note: this would make you sign in to apple music again

@Naxterra
Copy link
Author

I deleted C:\Users\xxx\AppData\Roaming\Cider folder completely and then started Cider again. I entered my Apple credentials, adjusted window, started a playlist, and closed Cider. After that I reopened Cider again but window position got reset. At least it is not opening in full screen mode anymore.

@coredev-uk coredev-uk added main Issue or feature related to the main process of Cider. and removed needs-triage Awaiting triage. labels Aug 16, 2022
@DeN-AlB
Copy link

DeN-AlB commented Aug 16, 2022

Same here. Window position is not remembered. Just changed the properties of the desktop shortcut and enabled "maximized" so Cider starts in fullscreen now. Would be great if Cider is remembering the window position.

@ozumado
Copy link

ozumado commented Aug 17, 2022

Same here. It does not remember position/size of the window, would be great if it did...

@cryptofyre
Copy link
Member

I'm investigating the issue.

@cryptofyre cryptofyre self-assigned this Aug 18, 2022
@cryptofyre
Copy link
Member

Technically this should work but it appears that it's not saving the attributes on close. This may be because the user is alt+f4'ing the application causing the exit event not to trigger therefore not saving the final size/position.

I'll keep an eye on this for now.

@DeN-AlB
Copy link

DeN-AlB commented Aug 20, 2022

This may be because the user is alt+f4'ing the application

I'm just closing the app with the help of the close button, not pressing ALT+F4.

@GGrandma
Copy link
Contributor

I was having the same issue, deleting window-state.json fixed the issue for me. The file can be found at %APPDATA%/Cider/window-state.json. Although it is odd entirely deleting the Cider folder did not fix this issue for most.

@Alikbra
Copy link

Alikbra commented Oct 9, 2023

why not save directly new window position after releasing the window? this should prevent the alt+f4 "bug"

@SynergiAios
Copy link

It is not just not saving it onclose, it is also not loading it onstart.

"visual": { "appearance": "auto", "layoutType": "default", "layoutView": "HHh LpR FFf", "useAdaptiveColors": false, "adaptiveColorPercent": 10, "viewTransitions": true, "prefersReducedMotion": false, "hardwareAcceleration": "default", "windowSize": [ 1024, 1024 ], "windowPosition": [ 0, 0 ], "titleBarStyle": "default", "artworkLoadingMethod": "lazy", "artworkBlurMap": { "fpsLimit": 30 },

You can set windowSize to whatever you want, it is ignored onStart.

@coredev-uk coredev-uk closed this as not planned Won't fix, can't repro, duplicate, stale May 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working main Issue or feature related to the main process of Cider.
Projects
Status: Completed / Merged into Main 🚀
Development

No branches or pull requests

9 participants