Uploaded image for project: 'Qt for Python'
  1. Qt for Python
  2. PYSIDE-1022

the example tabbedbrowser can't handle "open link in a new tab"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.12.4
    • 5.12.3
    • PySide
    • None
    • Windows
    • 1e8896f509bd3435b97b6036c02fb177e5f5e526 (pyside/pyside-setup/5.12)

    Description

      When I use the example PySide2examples\webenginewidgets\tabbedbrowser  to open https://cn.bing.com/ , type a word and search it. Bing showes the search results.

      But when I click one of the search results. the browser does nothing.

      I guess the tabbedbrowser example doesn't handle the event open link in a new tab.

      If I use Bing by Firefox or Chrome, they all show the result in a new tab when I click a search result.

      The default behavior of clicking a search result of Bing is opening the link in a new tab.

       

      the example PySide2examples\webenginewidgets\simplebrowser.py also has this issue.

       

      Could you please fix the tabbedbrowser and make it support "open link in a new tab"?

       

      Attachments

        Activity

          People

            kleint Friedemann Kleint
            yinkaisheng kaisheng yin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: