Flowbox doesn't adapt size immediately

Bug #962379 reported by Niels Avonds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Maya
Fix Released
Low
Niels Avonds

Bug Description

When adding a lot of guests to a new event, the flowbox will not expand its height until at least one guest is added to the second line or until a resize event is generated for the widget.
Similar behavior can be seen when guests are removed. When a line becomes empty, it isn't removed immediately.

Changed in maya:
importance: Undecided → Low
milestone: none → luna-beta1
status: New → Confirmed
summary: - Adding many guests makes flowbox fail
+ Flowbox doesn't adapt size immediately
Revision history for this message
Corentin Noël (tintou) wrote :

I've made a patch, but It needs tests…

Changed in maya:
status: Confirmed → Fix Committed
assignee: nobody → Corentin Noël (tintou)
Revision history for this message
Niels Avonds (niels-avonds) wrote :

Did you push the fix? It doesn't seem fixed, for me at least.

Changed in maya:
status: Fix Committed → Confirmed
Revision history for this message
Corentin Noël (tintou) wrote :

I was thinking that it was the case, but it's not fixed, The code from flowbox has maybe to be rewritten, because flowbow don't consider the entry widget while resizing the content.

Changed in maya:
assignee: Corentin Noël (tintou) → nobody
Revision history for this message
Niels Avonds (niels-avonds) wrote :

The weird thing is that this is no problem in Postler, which is where I got the Flowbox code from.

Changed in maya:
assignee: nobody → Niels Avonds (niels-avonds)
Changed in maya:
status: Confirmed → Fix Committed
Changed in maya:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.