Project

General

Profile

Actions

Bug #13786

open

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

Added by Michael Seibt 5 months ago. Updated about 7 hours ago.

Status:
Implemented @Emweb
Priority:
High
Target version:
Start date:
06/19/2025
Due date:
% Done:

100%

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 4 months ago

  • Target version set to 4.12.2
Actions #2

Updated by Romain Mardulyn 4 months ago

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

Updated by Romain Mardulyn 4 months ago

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

Updated by Romain Mardulyn 4 months ago

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

Updated by Romain Mardulyn 4 months ago

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

Updated by Matthias Van Ceulebroeck about 8 hours ago

  • Assignee set to Matthias Van Ceulebroeck
Actions #7

Updated by Matthias Van Ceulebroeck about 7 hours ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF