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

Radio buttons and checkboxes don't render properly on Mac with QWebView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • 5.5.1
    • WebKit
    • *Operating system*
      OSX Yosemite
      Version 10.10.5
      Non-retina 13" screen

      *Compiler*
      Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
      Target: x86_64-apple-darwin14.5.0
      Thread model: posix
    • macOS

    Description

      Repro steps:

      • download the latest stable installer at the time of creating this ticket: qt-opensource-mac-x64-clang-5.5.1.dmg from the website (althrough I could obverse the same behavior with Qt 5.4.2)
      • start Qt creator after installation
      • open the fancybrowser example and run it (the one using QWebView)
      • go to this address: http://www.w3schools.com/html/tryit.asp?filename=tryhtml_radio (or any link pointing to a page with radio buttons or checkboxes)
      • the radio buttons do not appear where they are supposed to (see attachement issue.png)

      I was using QWebView with Qt 4 and had not problem with it and QWebView from Qt 4/5 on Windows works just fine. The problem seems to be Mac specific.

      I tried using QWebEngineView on Mac instead of QWebView and it fixes the issue. Running the fancybrowser example which uses QWebEngineView does work as well (see attachement expected.png).

      I added the compilation output to this ticket if that helps.

      Here are some information about my system:
      Operating system
      OSX Yosemite
      Version 10.10.5
      Non-retina 13" screen

      Compiler
      Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
      Target: x86_64-apple-darwin14.5.0
      Thread model: posix

      Attachments

        1. compilation_output.txt
          7 kB
        2. expected.png
          expected.png
          182 kB
        3. issue.png
          issue.png
          113 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            annulen Konstantin Tokarev
            rippalka@gmail.com Guillaume Dumont
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes