Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ctrl-V and Sending keys to iframe seems not work #30

Open
jabobian opened this issue Aug 8, 2022 · 4 comments
Open

Ctrl-V and Sending keys to iframe seems not work #30

jabobian opened this issue Aug 8, 2022 · 4 comments

Comments

@jabobian
Copy link

jabobian commented Aug 8, 2022

I embed an webpage in neutron gui, I can input by typing, but Ctrl-C, Ctrl-V, and Send keys are not working.

@G33kDude
Copy link
Owner

G33kDude commented Aug 8, 2022

Can you share some code that demonstrates your issue?

@jabobian
Copy link
Author

jabobian commented Aug 8, 2022

I just embed the Bing translator.

And I found a solution for activex using WM_KEYDOWN message handler , but I have not tested if it works for Neutron yet.

@jabobian
Copy link
Author

jabobian commented Aug 9, 2022

Can you share some code that demonstrates your issue?

The html with iframe to load is modified from the simple.html example file, and with only an iframe in the body.

<!DOCTYPE html>
<html>
<head>

<body>
  <!-- Title Bar -->
  <header>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <style/>
</head>
<body>
    <span class="title-bar" onmousedown="neutron.DragTitleBar()">Neutron Bing Translator</span>
    <span class="title-btn" onclick="neutron.Minimize()">0</span>
    <span class="title-btn" onclick="neutron.Maximize()">1</span>
    <span class="title-btn title-btn-close" onclick="neutron.Close()">r</span>
  </header>
  <!-- Main content area -->
  <div class="main">
  <iframe src="https://cn.bing.com/translator" width="100%" height="550" allow="autoplay" allowfullscreen="true" overflow="hidden"></iframe>
  
  
  </div> <!-- /main -->
</body>
</html>

@SaifAqqad
Copy link
Contributor

SaifAqqad commented Aug 9, 2022

I do get an error when i click on the input fields but other than that Ctrl+v seems to work fine

2022-08-09.12-33-10.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants