hinto-janai / festival

Music player
https://festival.pm
MIT License
273 stars 5 forks source link

UI scaling and layout wrong on startup #99

Open Sinono3 opened 3 months ago

Sinono3 commented 3 months ago

OS & Version

Festival v1.4.0 macOS arm64 Collection v3 Audio v0 Playlist v0 State v1 Settings v3 032e7385df350fc5cc1121efd5e31ebf85c3e9cc

Bug

When initially opening Festival, the UI scaling will be messed up (screenshot 1). After maximizing the UI scaling is better, but it is still too big (screenshot 2). Finally, if I move the window to another display, it displays fine. This behavior is consistent throughout every startup. When launching in another display, the UI scaling is still messed up, but in a different way (screenshot 3). I infer this is due to different DPI.

This behavior has only appeared in a macOS computer. Can this be related to #29? I will try to see if updating the egui dependency solves anything.

Steps

Steps to reproduce the behavior:

  1. Open Festival.

Screenshots

If possible, add screenshots to help explain the bug. Screenshot 1: 1 Screenshot 2: image Screenshot 3:

image

PD: Huge thanks for making this app. It has been my music player for almost a year now. It's fast, it does its job and has cool features not seen elsewhere.