gtk_window_set_decorated(window, FALSE) does not work when called before showing the window
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+2.0 (Ubuntu) |
Fix Released
|
Low
|
Cody Russell |
Bug Description
Binary package hint: libgtk2.0-0
Calling gtk_window_
I'm using Ubuntu 10.04 alpha, up to date as of 14:30PST February 24th. The gtk package version is 2.19.5-1ubuntu6. This is reproducible with both Metacity and Compiz, so it is most likely not a WM issue.
Changed in gtk+2.0 (Ubuntu): | |
importance: | Undecided → Low |
assignee: | nobody → Ubuntu Desktop Bugs (desktop-bugs) |
assignee: | Ubuntu Desktop Bugs (desktop-bugs) → nobody |
tags: | added: gtk-csd |
Changed in gtk+2.0 (Ubuntu): | |
status: | In Progress → Fix Released |
I took a look at the documentation for the function to make sure this behavior wasn't intentional, and it actually recommends calling set_decorated before showing the window, even though that's what triggers the bug:
"Depending on the system, this function may not have any effect when called on a window that is already visible, so you should call it before calling gtk_window_show()."