Project

General

Profile

Actions

Bug #13786

open

WTableView::scrollTo: Does not make (entire) cell visible (vertically)

Added by Michael Seibt 12 days ago.

Status:
New
Priority:
High
Assignee:
-
Target version:
-
Start date:
06/19/2025
Due date:
% Done:

0%

Estimated time:

Description

Affected: WTableView::scrollTo(WModelIndex&, ScrollHint::EnsureVisible) of Wt 4.11.4
with
SelectionBehavior::Items);
SelectionMode::Single);
and having more rows than can be displayed in the browser window and last row partially visible.

  1. Calling WTableView::scrollTo(WModelIndex&, ScrollHint::EnsureVisible) does not make the entire cell visible - a bug.
  2. Go to the next row: Appears entirely at the top - good.
  3. Go back to previous row: Appears entirely at the bottom, but first visible row is only partially visible - arguable.
  4. Go to the next row: Selection changes but viewport remains, cell not visible at all - severe bug.

Files

#0_WTableView_scrollTo_row_0.png (5.75 KB) #0_WTableView_scrollTo_row_0.png Michael Seibt, 06/19/2025 03:16 PM
#1_WTableView_scrollTo_row_10.png (5.74 KB) #1_WTableView_scrollTo_row_10.png Michael Seibt, 06/19/2025 03:16 PM
#2_WTableView_scrollTo_row_11.png (5.75 KB) #2_WTableView_scrollTo_row_11.png Michael Seibt, 06/19/2025 03:16 PM
#3_WTableView_scrollTo_row_10.png (5.58 KB) #3_WTableView_scrollTo_row_10.png Michael Seibt, 06/19/2025 03:16 PM
#4_WTableView_scrollTo_row_11.png (5.51 KB) #4_WTableView_scrollTo_row_11.png Michael Seibt, 06/19/2025 03:16 PM

No data to display

Actions

Also available in: Atom PDF