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

QtWebengine fixes #13

Merged
merged 3 commits into from Jun 11, 2021
Merged

QtWebengine fixes #13

merged 3 commits into from Jun 11, 2021

Conversation

iDarkTemplar
Copy link
Contributor

Three improvements for QtWebengine support:

  1. don't try using linkClicked signal. There is no such signal when using QtWebengine.
  2. Allow to open new windows with shift+click. Dialog windows need implementation, but other window types work fine.
  3. select appropriate item in contents tab when url changes.

@gyunaev gyunaev merged commit 99a6d94 into gyunaev:master Jun 11, 2021
@gyunaev
Copy link
Owner

gyunaev commented Jun 11, 2021

Thank you!

@@ -142,11 +142,13 @@ ViewWindow * ViewWindowMgr::addNewTab( bool set_active )
if ( set_active || m_Windows.size() == 1 )
m_tabWidget->setCurrentWidget( tabdata.widget );

#if defined (USE_WEBKIT)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementing the linkClicked signal is pretty simple and it allows you to use the same proven code for both WebKit and WebEngine. What is the advantage of your solution?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've implemented what's working for me. There is no other reason.

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

Successfully merging this pull request may close these issues.

None yet

3 participants