After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 303412 - Gnome Drawer causes Gnome Panel to crash when changing size near edge of screen
Gnome Drawer causes Gnome Panel to crash when changing size near edge of screen
Status: RESOLVED WONTFIX
Product: gnome-panel
Classification: Other
Component: panel
2.10.x
Other Linux
: Normal critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
--do_not_change-- [gnome3-wontfix]
: 332916 343447 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-05-07 21:32 UTC by Sebastien Bacher
Modified: 2011-03-29 04:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed Patch (2.10 KB, patch)
2005-06-15 14:32 UTC, Srirama Sharma
rejected Details | Review

Description Sebastien Bacher 2005-05-07 21:32:52 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"
Comment 1 Olav Vitters 2005-05-07 21:48:13 UTC
Can't reproduct, seems related to bug 164259.
Comment 2 Olav Vitters 2005-05-07 22:07:37 UTC
Can reproduct it now, using:

4b: Open the drawer
Comment 3 Srirama Sharma 2005-06-15 14:29:24 UTC
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.
Comment 4 Srirama Sharma 2005-06-15 14:32:19 UTC
Created attachment 47808 [details] [review]
Proposed Patch
Comment 5 Vincent Untz 2005-07-03 09:00:39 UTC
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.
Comment 6 Daniel Holbach 2005-11-11 12:22:20 UTC
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.
Comment 7 Vincent Untz 2005-12-31 11:15:17 UTC
Bug caused by the mess in panel-toplevel.c. There are already workarounds for stuff like this (search for FIXME).
Comment 8 Vincent Untz 2007-06-29 14:23:18 UTC
*** Bug 332916 has been marked as a duplicate of this bug. ***
Comment 9 Vincent Untz 2007-06-29 14:27:06 UTC
*** Bug 343447 has been marked as a duplicate of this bug. ***
Comment 10 Vincent Untz 2011-03-29 04:51:36 UTC
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.