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

Handlebar of the splitter is invisble

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.2.1
    • None
    • Qt 5.2.1 opensource
      Mingw w64 (latest download)
      Windows 7 Enterprise SP1 32Bit
      Intel Core i5-3320M CPU@2.6GHz
      8GB RAM
      Intel HD Graphics 4000.

    Description

      I created a simple GUI using Designer, which contains splitters. The splitter functionality works, but the handle bar of the splitter is invisible. So when I move the mouse, where I know the bar should be, I can see that the mouse cursor changes to indicate that I can move the bar, and I can also drag it, but the bar itself is never painted.
      I also tried to look into the code, because I thought that the bug may be in the QSplitterPrivate::insertWidget function not calling show(), but this is not the case so it must be somewhere else.
      I'm using the Qt open source 5.2.1 build with Mingw w64 with the following configure command:
      configure -prefix d:\opt\qt-5.2.1 -opensource -nomake tests -confirm-license

      This problem not only exists when I run my own code. It can also be shown when I design the GUI with Designer and press CTRL-R to preview the window.

      Steps to reproduce:
      1. Create new QFrame
      2. Drag Push Button to frame
      3. Drag another Push Button to frame
      4. Select both buttons (CTRL-Mouse)
      5. Choose splitter layout (doesn't matter if horizontal or vertical)
      6. Press CTRL-R to preview.

      Attached is a screenshot to show the problem.

      Attachments

        1. Qt5_Splitter.jpg
          55 kB
          Gerhard Gruber
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            peppe Giuseppe D'Angelo
            lightweave Gerhard Gruber
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes