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

qtableview hangs application when simple style is applied

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 4.7.3
    • Widgets: Itemviews
    • None
    • Windows 7, Ubuntu

      Applying simple style

      QTableView
      {
      border: 1px solid #CCCCCC;
      border-right: none;
      }

      will hang application when size of qtableview is close to the height of displayed rows.

      Steps to reproduce problem.

      1. Open attached .ui file in Qt Designer.
      2. Start resizing form decreasing its height using bottom edge till last row in qtablewidget will be hidden.(The form can be resized in normal editing mode or when it is previewed)
      3. Then, using the same bottom edge of window, try VERY SLOWLY increase its hwight to show last row.
      4. When bottom edge of last row will be shown. QTableWidget will start continuously change visibility of vertical and horizontal scrollbars (last one should never be shown in this case). Leave the form in this size. After some time this will hang application.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            peppe Giuseppe D'Angelo
            severin Severin Bednarz
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes