Plymouth script refresh problem (ESC - ESC and some sprites disapear)
LAHAYE Olivier
olivier.lahaye at cea.fr
Wed May 17 17:46:03 UTC 2017
Hi,
My SystemImager theme is working perfectly, but I still have a question about refresh behavior.
Indeed, if I press ESC twice (switch to text mode then come back to plymouth), some sprites won't be back and I'm unable to understand what could have made them disappear (not refreshed).
Any idea where to look for?
I have no idea at all of what could be wrong?!?!?!
What is refreshed without doing anything are:
- wallpaper_sprite
- banner.sprite
- status_sprite[i]
- message_sprite[i]
What is not refreshed:
- step_init.sprite
- step_preinstall.sprite
- step_partition.sprite
- step_format.sprite
- step_imaging.sprite
- step_bootloader.sprite
- step_postinstall.sprite
- progress_title.sprite
- progress_unit.sprite
- progress_box.sprite
- progress_gauge.sprite
- progress_hide.sprite
I thought that it could be Scaled images, but it isn't as if I resize the banner.sprite, it's still refreshed.
Then I thought that it could be related to the fact that I set opacity to 0.0 (or 0; tested both) at start, but even if I remove that, it behave the same (no refresh).
I then tought it could be related to creating a sprite without intermediate variable (Sprite(image.Scale(w,h)) but even if I use an intermediate image, it doesn't help.
So I'm puzzled.
Any idea?
Cheers,
PS: The whole theme is available here (with a script that test the theme):
https://github.com/finley/SystemImager/tree/initrd-from-imageserver-and-dont-package-initrd/lib/dracut/modules.d/51systemimager
Pressing ESC twice during the test and you'll see that some sprites have disappeared.
--
Olivier LAHAYE
CEA DRT/LIST/DIR
More information about the plymouth
mailing list