Community
Participate
Working Groups
Build Identifier: 20110301-1815 If a shell with a grid layout has a menu, the window is incorrectly sized on Ubuntu 11.04. The bottom part (which corresponds to the height of the menu) of the shell is cut off (see attachment). The problem disappears if the menu is removed from code. OS: Ubuntu 11.04 with the classic view (not Unity) GNOME: 2.32.1 SWT used: Linux (x86/GTK 2) 3.735 This does not happen on Windows or Ubuntu 10.10 (see attached screenshot). Reproducible: Always Steps to Reproduce: 1. Create a simple shell with a grid layout and a menu (see attachment for test code used). 2. Run the code.
Created attachment 201223 [details] Ubuntu 11.04 (incorrect sizing) Added screenshot that shows how a shell is incorrectly sized on Ubuntu 11.04.
Created attachment 201224 [details] Ubuntu 10.10 (correct sizing) Added a screenshot that shows how the shell is supposed to look (Ubuntu 10.10 used)
Created attachment 201225 [details] Sample code Added a sample code that can be used to reproduce this bug.
I can't reproduce this issue. The GTK and Ubuntu versions are quite old, please open a new bug if the issue pops up again.