Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-136667

QWebEngineView cursor style incorrectly applied to QTabWidget bar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.8.2
    • WebEngine
    • None
    • Windows

    Description

      When a QWebEngineView with a CSS cursor: wait; style is added to a QTabWidget, the wait cursor is incorrectly applied to the tab bar itself when the tab containing the QWebEngineView is selected. The cursor remains a wait cursor as long as the mouse hovers over any part of the tab bar, not just the QWebEngineView content.

      Expected Behavior:
      The wait cursor should only be active when the mouse cursor is directly over the content area of the QWebEngineView where the cursor: wait; style is applied. When the mouse is hovering over the tab bar (the tabs themselves), the standard system cursor (e.g., arrow cursor) should be displayed, regardless of the cursor style set within the QWebEngineView's content. The cursor style of the web content should not leak or propagate to the tab bar UI elements.

      Attachments

        1. CMakeLists.txt
          0.3 kB
          Noah Hamerslough
        2. main.cpp
          0.7 kB
          Noah Hamerslough
        3. Screen Recording 2025-05-07 150710.mp4
          1000 kB
          Noah Hamerslough
        For Gerrit Dashboard: QTBUG-136667
        # Subject Branch Project Status CR V

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            noah Noah Hamerslough
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There is 1 open Gerrit change