Color tweaks not reset on plymouth exit
Jan Engelhardt
jengelh at inai.de
Thu Jul 12 17:38:36 PDT 2012
When plymouth-0.8.5.1 is made to switch from splash view to console
(both in classic 80x25 mode), it fails to reset the color palette to the
original. This leads to an unusual blue tint to the text console:
https://bugzilla.novell.com/attachment.cgi?id=498485 [png]
What would have been expected:
https://bugzilla.novell.com/attachment.cgi?id=498486 [png]
So far, I at least identified the "culprit" that's changing my colors,
but I suspect it just forgets to change back the colors in
text/plugin.c:stop_animation(). You probably know which function call is
to be inserted there.
--- plymouth-0.8.5.1.orig/src/plugins/splash/text/plugin.c
+++ plymouth-0.8.5.1/src/plugins/splash/text/plugin.c
@@ -175,21 +175,6 @@ view_start_animation (view_t *view)
terminal = ply_text_display_get_terminal (view->display);
- ply_terminal_set_color_hex_value (terminal,
- PLY_TERMINAL_COLOR_BLACK,
- 0x000000);
- ply_terminal_set_color_hex_value (terminal,
- PLY_TERMINAL_COLOR_WHITE,
- 0xffffff);
- ply_terminal_set_color_hex_value (terminal,
- PLY_TERMINAL_COLOR_BLUE,
- 0x0073B3);
- ply_terminal_set_color_hex_value (terminal,
- PLY_TERMINAL_COLOR_BROWN,
- 0x00457E);
-
- ply_text_display_set_background_color (view->display,
- PLY_TERMINAL_COLOR_BLACK);
ply_text_display_clear_screen (view->display);
ply_text_display_hide_cursor (view->display);
More information about the plymouth
mailing list