HdyLeaflet only changes into single box mode when in same stack
What problem did you encounter?
If there are two stacks, and I am on the first while HdyLeaflet is on the second, until I move to the second stack, HdyLeaflet doesn't resize itself and messes up the animation between Stack 1 -> Stack 2 with a resize animation for the window size.
In what part of libhandy did you experience the problem? Note that multiple boxes may be checked.
- build system
- example application
- [*] HdyLeaflet
- somewhere else (please elaborate)
What is the actual behaviour?
If I just opened the app and put it into the Mobile phone size, then when I move to stack 2 which has HdyLeaflet, the animation slide between moving of stacks is interuppted with the right panel moving out in HdyLeaflet, something which should have happened in the background automatically.
What is the expected behaviour?
If I resize the application while on Stack 1 without HdyLeaflet, HdyLeaflet should automatically set itself to the Mobile mode, so when I move to stack 2, the animation isn't jarring and unneeded because it happened much later than the resizing.
How to reproduce?
Any basic GTK app with two stacks, and stack 1 having no HdyLeaflet while stack 2 does, and has two children. then, open the app (so HdyLeaflet is in Desktop mode), and now resize the app while on stack 1, and now move to stack 2 (whether with a button, whatever. In my case, it was me programatically moving to stack 2 when a row was clicked). The opposite also happens when the Leaflet is in Mobile size and you maximize the window in Stack 1 and move to stack 2. Please provide steps to reproduce the issue. If it's a graphical issue please attach screenshot. video recording attached.
Which version did you encounter the bug in?
- [*] I compiled it myself. If you compiled libhandy from source please provide the
git revision via e.g. by running
git log -1 --pretty=onelineand pasting the output below.
6179d1503f9d8ef7bf5a6f53e3f9c86ef623801b (HEAD -> master, origin/master, origin/HEAD) title-bar: Drop useless definitions and inclusions
What hardware are you running libhandy on?
- amd64 qemu image
- Librem5 devkit
- [*] other (please elaborate) Fedora 29 Acer laptop
Please provide relevant logs with
** (organizer:2): CRITICAL **: 13:39:06.868: hdy_leaflet_set_visible_child_name: assertion 'contains_child' failed