-
-
Notifications
You must be signed in to change notification settings - Fork 209
[Windows] GUI renders wrong when using high DPI monitors #45
Comments
oh Lord 😂. this was one of the issues pointed out by one of my clients using guiscrcpy. there are few steps to fix this:
thanks for letting me know. I would add the screen size to the configuration file so that you won't have to resize over an over |
@srevinsaju Oh Lord, yes. 😂 Anyway, it would be great to have a nice GUI with high DPI screens without fiddling with the window sizes on every startup 💃 |
Ok @AmonBune thanks for the review, It seems like the toolbar icons are oversized comaparative to the window. Did you install 2.0 and check? |
@srevinsaju Version 2.0 looks like this: As you can see, the buttons are pretty small. It would be nice if they could be made a little larger (according to the dpi percent). Also the two buttons (or whatever that is) on the bottom left edge of both button panels look a little weird to me. The main window is the same as in Version 1.x |
@AmonBune Hope this will be fixed in v3.0, releasing in few minutes |
@AmonBune please see V3.0 |
@srevinsaju I'm not able to install version 3.0 correctly. Something seems to be wrong. pip --version Also I managed to install some weird "-uiscrcpy" package. Don't ask me how I did that. I cannot uninstall it because of the dash in the name... |
@AmonBune seems like your pip packages are messed up completely.
the way to run guiscrcpy is
you can do the above in any directory, it's not necessary to go to that folder. PS: I don't know why exactly you are not able to run |
@srevinsaju |
@AmonBune, there is no need to uninstall pip, you can manually delete the folders Go that directory where you went before, C:/users/.../../site-packages/ in your explorer, remove all the guiscrcpy and uiscrcpy files and then go for a clean install of guiscrcpy Copy paste the code specified in the website, and then it should work. |
Alternatively, try the exe also ;) |
@srevinsaju I can try the plain windows exe later. Regarding pip:I deleted all folders regarding guiscrcpy and the uiscrcpy stuff. I reinstalled and got the error: And there is actually no And I randomly opened the I thought it is a problem with using an administrator shell, but I have tried the same thing with a user shell and I have the same results. |
@AmonBune I have made a package for you, you may test it, so I can push it to v3.1 |
@srevinsaju I cannot install the tar.gz package on my machine. I uninstalled the existing guiscrcpy with pip uninstall guiscrcpy. |
@AmonBune no need to extract the tar.gz,
|
@srevinsaju In the window with the red error I tried just that. I just wanted to show that both methods don't work. |
@AmonBune does |
I guess the last option is :
|
@AmonBune try only
|
@srevinsaju It works, but adb.exe and scrcpy.exe don't get shipped with the pip install. |
yea, we have to manually download scrcpy release from https://github.com/Genymobile/scrcpy/releases , actually I am not supposed to add scrcpy.exe to the package as it's copyrighted. does running thanks, when this gets released, I will give credits to you for sure! |
guiscrcpy worked. python -c ... did not work and threw some error |
ok thanks for that, is the DPI error fixed too? |
@srevinsaju When I start up the application, everything is good: But I can resize it a little bit too much. Just increase the min height a little bit here: I have to test the other windows later, I have no phone here at the moment |
@srevinsaju The sizing of the icons look good to me: |
Thanks for testing @AmonBune, I will close the issue with my open PR for version 3.2 |
When using a monitor over 100% DPI (for example a 4K display) the whole GUI and controls render wrong. Here a Screenshot of the issue:
The text was updated successfully, but these errors were encountered: