Project

General

Profile

Actions

Bug #14319

open

WTableView::scrollTo does not consider changed widget size

Added by Michael Seibt 4 days ago. Updated 3 days ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
02/10/2026
Due date:
% Done:

0%

Estimated time:

Description

Affected: WTableView of Wt 4.12.2 and former versions
WTableView::scrollTo has been improved with #13786. Though it does not consider its changed size when the WTableView is resized.

STR:

  • run attached main.cpp
  • open http://127.0.0.1:8080 in small browser window
  • increase the window height by a few rows
  • try to select the second last row

--> rows jump unexpectedly

  • scroll to the bottom
  • select the middle row
  • decrease the window height by a few rows
  • try to select the second visible row

--> rows jump unexpectedly


Files

main.cpp (11.2 KB) main.cpp Michael Seibt, 02/10/2026 10:50 AM
Actions #1

Updated by Romain Mardulyn 4 days ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
  • Target version set to 4.12.4
Actions #2

Updated by Romain Mardulyn 3 days ago

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

Also available in: Atom PDF