! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
gtk_widget_size_allocate(): Error on adding pager to panel, Desktop crashes w...
Status:
RESOLVED: WORKSFORME
Product:
Xfce4-panel
Component:
Workspace Switcher

Comments

Description Johannes Loose 2007-06-04 15:13:16 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.8.1.3) Gecko/20070527 Firefox/2.0.0.3
Build Identifier: 

Error in xsession-errors:
(xfce4-panel:6126): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 1
Repeated every 2 seconds after adding pager to panel

System: Up-to date gentoo, xfce 4.4.1, xorg, xdm
2 Monitor system, Graphics driver mga (Matrox G450 Dual Head)

When switching (pinned) apps using the context menu or the pager plugin on Screen2 the desktop and context menu disappears. No additional output in xsession-errors.

Reproducible: Always

Steps to Reproduce:
1. 2 monitor system (gentoo), 2 or more pinned apps running on screen 2
2. Add pager Plugin to panel
3. Switch pinned applications by context menu or icon-box plugin

Actual Results:  
Desktop disappears without any output in .xsession-errors

Expected Results:  
Switch between running applications
Comment 1 Jasper Huijsmans editbugs 2007-06-11 19:24:13 CEST
Hmm, if the desktop disappears, there is at least also a problem in the xfdesktop code. 

Does the pager itself show up properly? Also, does it only occur with pinned applications?

Hmm, I just tested a pinned application. Changing to it from the xfdesktop menulist gives me: 

(xfdesktop:5907): libxfcegui4-CRITICAL **: netk_workspace_activate: assertion `NETK_IS_WORKSPACE (space)' failed

And clicking on the icon in the iconbox gives:

(xfce4-panel:5931): libxfcegui4-CRITICAL **: netk_workspace_activate: assertion `NETK_IS_WORKSPACE (space)' failed

So, I think I have an idea about where to look. I don't think it has anything to do with the pager, though, so there might also be another problem.

Thanks for the report.
Comment 2 Johannes Loose 2007-06-11 22:20:45 CEST
Yes, the pager itself shows up properly and it seems to be fully functional. As soon as I add the pager, the following output starts running:

(xfce4-panel:4372): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -3 and height 1

I have only been able to reproduce the error when the pager is part of the panel and I switched between 2 pinned applications.Then the desktop and the context menu (right click) disappear. The panel is still there and functional. No output in .xsession-errors (apart of the output mentioned above).
Comment 3 Nick Schermer editbugs 2008-10-23 17:53:15 CEST
Closing this bug since we switched to wnck. Please reopen if you still have this problem with the Xfce 4.6 panel.
Comment 4 Steve Kelem 2010-03-18 17:03:24 CET
In xfce4-panel 4.6.1 on Ubuntu 9.10, my .xsession-errors file has hundreds of lines that look like:

(xfce4-panel:1787): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -11 and height 1

Is there a way to tell what's causing this?

Bug #3317

Reported by:
Johannes Loose
Reported on: 2007-06-04
Last modified on: 2010-03-18

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Version:
Unspecified

Attachments

Additional information