Still happens in 12.10. Very simple testcase:
#include <gtk/gtk.h> gboolean timeout(gpointer data) { gtk_window_unmaximize(GTK_WINDOW(data)); return FALSE; } int main (int argc, char *argv[]) { GtkWidget *window; gtk_init(&argc, &argv); window = gtk_window_new(GTK_WINDOW_TOPLEVEL); g_signal_connect(window, "destroy", G_CALLBACK(gtk_main_quit), NULL); g_timeout_add(100, timeout, window); gtk_window_set_decorated(GTK_WINDOW(window), FALSE); gtk_window_maximize(GTK_WINDOW(window)); gtk_widget_show(window); gtk_main(); return 0; } The window should not have decorations, but it does. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to chromium-browser in Ubuntu. https://bugs.launchpad.net/bugs/711567 Title: Double window controls in Chromium after enabling "Use System Title Bar and Borders" Status in Chromium Browser: Unknown Status in Compiz: Confirmed Status in Compiz Core: Confirmed Status in “chromium-browser” package in Ubuntu: Triaged Status in “compiz” package in Ubuntu: Confirmed Bug description: Binary package hint: unity Steps to reproduce: 1) Make sure "Use System Title Bar and Borders" is unticked (It is in the right click menu of the tab bar) 2) Maximize Chromium 3) Tick "Use System Title Bar and Borders" 4) Untick "Use System Title Bar and Borders" 5) Restore Chromium Result: At step 2 we see two sets of window controls, one drawn by Chromium and one in the top panel. After step 3 we see two sets of window controls, one in the top panel, one in Chromium's titlebar. When step 5 is executed we will find again that we have two sets of window controls, but this time one is drawn by Chromium and one by Unity. Expected result: At step 2: One set of window controls, the one drawn by Chromium. At step 3: One set of window controls; in the top panel (Unity). At step 5: One set of window controls, the one drawn by Chromium. ProblemType: Bug DistroRelease: Ubuntu 11.04 Package: unity 3.4.0-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.38-1.28-generic 2.6.38-rc2 Uname: Linux 2.6.38-1-generic x86_64 Architecture: amd64 CompizPlugins: [core,bailer,detection,composite,opengl,decor,mousepoll,vpswitch,regex,animation,snap,expo,move,compiztoolbox,place,gnomecompat,wall,ezoom,workarounds,staticswitcher,resize,fade,scale,session,unityshell] Date: Tue Feb 1 18:52:53 2011 InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110127) ProcEnviron: LANGUAGE=en_US:en LANG=en_US.UTF-8 LC_MESSAGES=en_US.utf8 SHELL=/bin/bash SourcePackage: unity To manage notifications about this bug go to: https://bugs.launchpad.net/chromium-browser/+bug/711567/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp