Skip Menu |

This queue is for tickets about the Tickit CPAN distribution.

Report information
The Basics
Id: 105582
Status: resolved
Priority: 0/
Queue: Tickit

People
Owner: Nobody in particular
Requestors: leonerd-cpan [...] leonerd.org.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.53
Fixed in: 0.54



Subject: ->raise on new child window fails
my $sib = $rootwin->make_sub( 6, 0, 2, 40 ); $sib->raise; Fails with: Tickit::Window[40x2 abs@0,6] is not a child of Tickit::Window[80x25 abs@0,0] at ... Needs a 'later' tick first. -- Paul Evans
On Tue Jun 30 17:54:34 2015, PEVANS wrote: Show quoted text
> Needs a 'later' tick first.
The reason for that being that 'insert' of new child windows is deferred. I'm sure I recall reasons related to input event handling in T:W:Menu that would break if this wasn't the case. But I've just tried it out without deferral, and no widget tests break in any widget dist. So I've now added some more tests relating to it in core, and removed the deferral. So far so good... -- Paul Evans
This was fixed in Tickit 0.54 -- Paul Evans