Project

General

Profile

Actions

Bug #13786

open

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

Added by Michael Seibt about 1 month ago. Updated 8 days ago.

Status:
Review
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
Actions #1

Updated by Matthias Van Ceulebroeck 15 days ago

  • Target version set to 4.12.2
Actions #2

Updated by Romain Mardulyn 8 days ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #3

Updated by Romain Mardulyn 8 days ago

  • Status changed from InProgress to New
  • Assignee deleted (Romain Mardulyn)
Actions #4

Updated by Romain Mardulyn 8 days ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #5

Updated by Romain Mardulyn 8 days ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions

Also available in: Atom PDF