This bug was fixed in the package gtk+3.0 - 3.10.8-0ubuntu1.1

---------------
gtk+3.0 (3.10.8-0ubuntu1.1) trusty; urgency=medium

  * debian/patches/unset-titlebar.patch:
    - Allow titlebars to be unset (LP: #1325767)
 -- Robert Ancell <[email protected]>   Wed, 04 Jun 2014 08:51:04 
+1200

** Changed in: gtk+3.0 (Ubuntu Trusty)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+3.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1325767

Title:
  Can't unset titlebar

Status in “gtk+3.0” package in Ubuntu:
  Fix Released
Status in “gtk+3.0” source package in Trusty:
  Fix Released

Bug description:
  [Impact]
  In GTK+ unsetting a titlebar [1] does not work. This was fixed in upstream 
GTK+ [2]. Since Ubuntu does not work well with GtkHeaderBar it is desirable for 
applications to be able to conditionally unset their titlebar to work well in 
Ubuntu.

  [Test Case]
  1. Write an application that uses a Gtk.HeaderBar and unsets it [3]
  2. Run application
  Expected result:
  Window is shown with window decorations
  Observed result:
  Window is shown without window decorations

  [Regression Potential]
  Potential for breaking existing cases where the titlebar is reset. This seems 
low probability given the simplicity of the patch.

  [1] 
https://developer.gnome.org/gtk3/stable/GtkWindow.html#gtk-window-set-titlebar
  [2] 
https://git.gnome.org/browse/gtk+/commit/?h=gtk-3-12&id=8db2ba425aaff107faaa4c7468be63f8ef2fa8e9
  [3]
  int main (string[] args)
  {
     Gtk.init (ref args);

     var w = new Gtk.Window ();
     var hb = new Gtk.HeaderBar ();
     hb.visible = true;
     w.set_titlebar (hb);
     w.set_titlebar (null); /* Doesn't restore decorations on GTK 3.10 */

     var l = new Gtk.Label ("Hello world!");
     l.visible = true;
     w.add (l);

     w.visible = true;

     Gtk.main ();

     return 0;
  }

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+3.0/+bug/1325767/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to