[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#605401: d-i window does not account for GNOME pannels and window decoration

Package: debian-installer
Severity: normal
Tags: patch

I looked into this and determined that the attached patch solves the
issue when a WM is in use. If, for some reason, the fullscreen fails
(e.g. no WM is in use) then the window size will still be set to the
screen size.

I did a test live-build of a squeeze image using gnome-desktop package
list, live-installer (daily), debian-installer-launcher and this patch. When
launched from the desktop, the installer starts fullscreened so all
elements of the UI are now visible.

Index: src/modules/frontend/gtk/di.c
--- src/modules/frontend/gtk/di.c	(revision 66242)
+++ src/modules/frontend/gtk/di.c	(working copy)
@@ -158,6 +158,7 @@
     screen = gtk_window_get_screen(GTK_WINDOW(window));
     gtk_widget_set_size_request(window, gdk_screen_get_width(screen),
+    gtk_window_fullscreen(GTK_WINDOW(window));
 /** Setup d-i specific bits.

Reply to: