Giter VIP home page Giter VIP logo

Comments (29)

AmonBune avatar AmonBune commented on May 17, 2024 1

@srevinsaju
image

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

oh Lord ๐Ÿ˜‚.

this was one of the issues pointed out by one of my clients using guiscrcpy. there are few steps to fix this:

  • download and install guiscrcpy 2.0
  • resize the window to make guiscrcpy visible

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

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju Oh Lord, yes. ๐Ÿ˜‚
The main window is actually not very much of a problem. Surely it is annoying and looks horrible when everything is scrambled like that, but the greater issue is the floating action bars. They cannot be resized per design and it's hard to guess what each button does or even click the correct one because they overlap each other in some cases.

Anyway, it would be great to have a nice GUI with high DPI screens without fiddling with the window sizes on every startup ๐Ÿ’ƒ

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

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?

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju Version 2.0 looks like this:

image

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

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune Hope this will be fixed in v3.0, releasing in few minutes

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune please see V3.0

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju I'm not able to install version 3.0 correctly. Something seems to be wrong.

image

pip --version
pip 20.0.2 from c:\python38\lib\site-packages\pip (python 3.8)

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...
image
image

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune seems like your pip packages are messed up completely.
try this

pip uninstall '-uiscrcpy'

the way to run guiscrcpy is

python -m guiscrcpy

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 guiscrcpy only and make it run.
alternatively, if you prefer the exe compiled files, you can get it from the releases.

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju image
Nothing seems to work... I also never got a desktop or a start menu shortcut. Also not with version 1.x or 2.x. I'll try to uninstall python, pip and all packages and see if it behaves the same again or if it is fixed then.

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@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
https://pypi.org/project/guiscrcpy/
guiscrcpy ยท PyPI

Copy paste the code specified in the website, and then it should work.

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

Alternatively, try the exe also ;)

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@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:
No module named guiscrcpy.__main__; 'guiscrcpy' is a package and cannot be directly executed
image

And there is actually no __main__.py in the folder.
image

And I randomly opened the __init__.py whose content confuses me. Version 2? It said it installed Version 3 when executing the pip install.
image

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.

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune my mistake, I tested it again after removing all my installation on Windows, and it shows the same error
Fixed on 11b5b26

Thanks for finding that bug, it was a potential security fix on many devices including MacOS

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune I have made a package for you, you may test it, so I can push it to v3.1

guiscrcpy-3.0.post17.dev0.tar.gz

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju I cannot install the tar.gz package on my machine. I uninstalled the existing guiscrcpy with pip uninstall guiscrcpy.

image

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune no need to extract the tar.gz,
do

pip install guiscrcrpy-3.0.post17.dev0.tar
gz

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju In the window with the red error I tried just that. I just wanted to show that both methods don't work.

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune does
pip3 install https://github.com/srevinsaju/guiscrcpy/archive/master.zip work?

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

I guess the last option is :

git clone https://github.com/srevinsaju/guiscrcpy
cd guiscrcpy
pip install .

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

Install works, but I get the same error as before :(
image

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

@AmonBune try only guiscrcpy
if that fails too, please let me know,
for the sake of this issue, try

python -c 'from guiscrcpy.launcher import bootstrap; bootstrap ()'

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju It works, but adb.exe and scrcpy.exe don't get shipped with the pip install.
image

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

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 guiscrcpy work now or did you use python -c .... that one?

thanks, when this gets released, I will give credits to you for sure!

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

guiscrcpy worked. python -c ... did not work and threw some error

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

ok thanks for that, is the DPI error fixed too?

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju When I start up the application, everything is good:
image

But I can resize it a little bit too much. Just increase the min height a little bit here:
image

I have to test the other windows later, I have no phone here at the moment

from guiscrcpy.

AmonBune avatar AmonBune commented on May 17, 2024

@srevinsaju The sizing of the icons look good to me:
image

from guiscrcpy.

srevinsaju avatar srevinsaju commented on May 17, 2024

Thanks for testing @AmonBune, I will close the issue with my open PR for version 3.2
Keep looking for more features,
wifi + automatic scrcpy installer (as suggested in your previous issue) + update checker

from guiscrcpy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.