Project

General

Profile

Actions

Bug #14862

closed
RM RM

WLeafletMap in WStackedWidget is not loaded properly when being selected with an animation

Bug #14862: WLeafletMap in WStackedWidget is not loaded properly when being selected with an animation

Added by Romain Mardulyn about 1 month ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
10/06/2026
Due date:
% Done:

0%

Estimated time:

Description

When a WLeafletMap is in a WStackedWidget, selecting the WLeafletMap as the item to show with an animation will not indicate to the leaflet api that the size changed, leading to the map not being correctly loaded. Adding a layout in the container containing the WLeafletMap fixes the issue.

This is likely caused by reApplySize() in JavaScript being called before the end of the animation of the WStackedWidget.

RM Updated by Romain Mardulyn about 1 month ago Actions #1

  • Description updated (diff)

RM Updated by Romain Mardulyn about 1 month ago Actions #2

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn

RM Updated by Romain Mardulyn about 1 month ago Actions #3

  • Target version changed from 4.16.0 to 4.15.0

RM Updated by Romain Mardulyn about 1 month ago Actions #4

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

ED Updated by emil de keyser about 1 month ago Actions #5

  • Assignee set to emil de keyser

ED Updated by emil de keyser about 1 month ago Actions #6

  • Status changed from Review to Resolved
  • Assignee changed from emil de keyser to Romain Mardulyn

RM Updated by Romain Mardulyn 30 days ago Actions #7

  • Status changed from Resolved to Implemented @Emweb

RM Updated by Romain Mardulyn 10 days ago Actions #8

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: PDF Atom