KyroFrCode / moonlight-chrome-tizen

GameStream client for Tizen OS (Samsung Smart TV's)
GNU General Public License v3.0
91 stars 18 forks source link

keyboard to fill in IP address of new host disappears immediately #6

Open Sp0Q1 opened 1 year ago

Sp0Q1 commented 1 year ago

Somehow I cannot fill in the IP address of a new host. The onscreen keyboard flickers in a single time, but disappears immediately. I also tried with a bluetooth keyboard (flipper zero) and a hardware keyboard which had a usb dongle, but none worked.

I'm on a S90C with Tizen version T-PTMCDEUC-1212.7, E2301500, BT - S

Sp0Q1 commented 1 year ago

I used the Dockerfile at https://github.com/KyroFrCode/moonlight-chrome-tizen-docker/blob/main/Dockerfile, but now I see that it differs from the one in this repo. Maybe I should try that. I will dive in a bit :)

adambenovic commented 1 year ago

Tried to fiddle with the code a bit but can't see anything obvious. What I did instead is I provided a "default IP" when the input field is empty. This way you will always connect successfully to your PC but given that the IP does not change - be sure to reserve it in your router settings.

In these files wasm/platform/index.js wasm/static/js/index.js

Change add line inputHost = inputHost ? inputHost : 'YOUR_HOST_PC_IP'; under the line var inputHost = $('#dialogInputHost').val();

OneLiberty commented 1 year ago

No problem on my end, Samsung S95B Works ok with a Logitech MX Keys via bluetooth and dongle. Try pressing "TAB" (a few times ?) to enter the input field

AlexPresso commented 1 year ago

Same issue here on Samsung S95C, the TV virtual keyboard appears for a second and then disappears like if it has been pressed enter or something

rodrigopiccelli commented 1 year ago

Same issue here on Samsung 65QN85C, virtual Keyboard blinks on screen and then there's no way to type the IP

AlexPresso commented 1 year ago

Same issue here on Samsung 65QN85C, virtual Keyboard blinks on screen and then there's no way to type the IP

As Adam said, in the wait, you can fork the repo and fill the input with your PC IP address : https://github.com/KyroFrCode/moonlight-chrome-tizen/compare/samsung_wasm...AlexPresso:moonlight-tizen:samsung_wasm

pbaja commented 1 year ago

I have the same problem on Samsung S90C. There is a split second, after the window appears and disappears, to enter a character with a bluetooth keyboard. I did that, one character at a time. Unfortunately even after typing in a whole IP address I wasn't able to press anything to continue (the window was just disappearing).

Fortunately, the auto detecting suddenly worked and a pairing window appeared - but there is another problem, i cannot pair successfully. Every time I enter a pin in the Sunshine, on the TV a message appears saying that pairing failed.

mat926 commented 11 months ago

Has this been fixed? I'm getting the same issue.

AlexPresso commented 11 months ago

If you're getting the same issue, then it hasn't been fixed :)

OneLiberty commented 11 months ago

Has this been fixed? I'm getting the same issue.

Kinda in my fork. It's more like a workaround that clearly has its own issue, but should do the job in your case

cloud-aspect commented 10 months ago

Same issue here, reporting in o7

Running Sunshine 0.21.0 on Windows 11 installer TV DUID: UN75CU8000BXZA

Moonlight on my phone from Google Play works perfectly fine, as a side note. I'll try the workarounds when I get a chance, just wanted to add my report.

OneLiberty commented 10 months ago

Might be partially fixed over on my fork, can one of you test it for me ? hard to tell using tizen emulators...

adambenovic commented 10 months ago

Sorry for the long "quiet" period, finally got around to test your fork and wow man, brilliant idea with that selectors :) Just might be a good idea to keep your PC's IP as close to 0 as possible(99 was not really that quick to get to but as one off thing is okay). Also showing volume up/down infographic, very nice :)

OneLiberty commented 10 months ago

@adambenovic thanks ! Yeah, it's best to keep it low (you might be able to set up a static IP in your router setting)

Were you able to try the old input field with my latest commit ? on emulator keyboard shows up and stays, but i don't if you can write anything...

adambenovic commented 10 months ago

Tried it now. Keyboard stays up but input is not shown, nor written to the field for that matter. Doesn' even matter, for 99% of uses the increment fields are way more practical imo.

AlexPresso commented 10 months ago

Yeah I agree 👍 If I can just make a suggestion it would be great to be able to go bellow 0 and jump to 254 in case of very far IP byte

OneLiberty commented 10 months ago

Tried it now. Keyboard stays up but input is not shown, nor written to the field for that matter. Doesn' even matter, for 99% of uses the increment fields are way more practical imo.

Ok, thanks for the feedback, i'll keep looking. I know that most user will only use local IPv4, but some might want access to PC outside the network or IPv6, hence why the input field.

@AlexPresso I will look into that, seems like a good idea.

ganey commented 3 months ago

i have this issue on the samsung tv fork :(

i managed it eventually with a lot of tabbing blind and eventually putting in the IP on a usb keyboard