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

QWebEngineView unresponsive #12

Closed
deirdrebridges opened this issue Nov 20, 2020 · 4 comments
Closed

QWebEngineView unresponsive #12

deirdrebridges opened this issue Nov 20, 2020 · 4 comments

Comments

@deirdrebridges
Copy link

Embedded QWebEngineView widget is laggy and unresponsive, as in does not respond to anything unless I click somewhere else on the screen. For example, I embedded a QWebEngineView widget in the home page using this code:
self.browser = QWebEngineView()
self.ui.verticalLayout_10.addWidget(self.browser)
self.browser.load(QUrl("http://www.google.com"))
self.show()
The embedded widget will remain blank unless I click somewhere else for example my code editor. Then when google shows up you are not able to see what you type in until you click somewhere else on the screen.
It works totally fine if it is not embedded (achieved through not adding the widget to the layout)
This is a great project, thank you so much!

@Wanderson-Magalhaes
Copy link
Owner

QWebEngine is not part of this project, it could be an implementation error you are making.
Try veriricar on the official website qt.io

@pArtheum
Copy link

Hi QWebEngineView has an issue in QT regarding event handling. You have to put an eventFilter on a child of QWebEngineView instead.

@nekooee
Copy link

nekooee commented Mar 16, 2024

Hi QWebEngineView has an issue in QT regarding event handling. You have to put an eventFilter on a child of QWebEngineView instead.

I have the same problem that only happens with this Template. There is no problem without using this template. When I use QWebEngineView, changes are not displayed, not even text selection! Until I change the window's size... but when I display it in an independent window with a title bar and do not use this template, there is no problem.
I did not understand your solution! I will get the events and then what should I do??

QWebEngine is not part of this project, it could be an implementation error you are making. Try veriricar on the official website qt.io

Unfortunately, this problem occurs only by using this Template. I don't know how to solve it

@nekooee
Copy link

nekooee commented Mar 16, 2024

Embedded QWebEngineView widget is laggy and unresponsive, as in does not respond to anything unless I click somewhere else on the screen. For example, I embedded a QWebEngineView widget in the home page using this code: self.browser = QWebEngineView() self.ui.verticalLayout_10.addWidget(self.browser) self.browser.load(QUrl("http://www.google.com")) self.show() The embedded widget will remain blank unless I click somewhere else for example my code editor. Then when google shows up you are not able to see what you type in until you click somewhere else on the screen. It works totally fine if it is not embedded (achieved through not adding the widget to the layout) This is a great project, thank you so much!

Please tell me what you did if you could solve the problem so far. I need a solution.

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

4 participants