GNOME Bugzilla – Bug 303412
Gnome Drawer causes Gnome Panel to crash when changing size near edge of screen
Last modified: 2011-03-29 04:51:36 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/10095 "1)Create a vertical panel that touches the top of the screen 2)Add a drawer to the panel 3)Change the size of the drawer to its smallest value 4)put the drawer at the top of the panel 5)increase the size of the drawer Causes gnome panel/applets to freeze"
Can't reproduct, seems related to bug 164259.
Can reproduct it now, using: 4b: Open the drawer
The panel does not crash as reported in the synopsis but it becomes unusable as it enters into an infinite loop. I am able to reproduce this bug when a drawer is added to the panel, near the edge of the screen and the user tries to increase the size of the drawer. This issue is seen on all panel orientations. The panel seems to get into an infinite loop when the x or y co-ordinate of the panel frame coincides with the end co-ordinates of the screen. Setting the edge of the panel frame (ie keeping the bevel) in this case, will resolve this issue. Will be attaching a patch soon.
Created attachment 47808 [details] [review] Proposed Patch
Thanks for the patch. Unfortunately, keeping the bevel is not an option here since we don't want it if the panel is on the edge.
New comment on our bug: I had the applet near the edge of the screen. The only time I was able to crash it was on size 70 and 71. 69 and 72 were fine along with the other numbers I tested.
Bug caused by the mess in panel-toplevel.c. There are already workarounds for stuff like this (search for FIXME).
*** Bug 332916 has been marked as a duplicate of this bug. ***
*** Bug 343447 has been marked as a duplicate of this bug. ***
For GNOME 3, we removed the drawers from gnome-panel -- we believe they don't fit that well in GNOME 3, and there were always many issues (including usability issues) with them. We feel it's better this way.