Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#96 fbpanel under ion3

open
nobody
None
5
2010-08-12
2010-08-12
Arnout Engelen
No

fbpanel is great! Unfortunately, since revision 282 it no longer works under my windowmanager of choice, ion3/notion.

Ion is a window manager that is rather strict about placing windows. The 'if panel wasn't at requested position, then send another request' code is executed several times, fbpanel briefly flashes and then becomes invisible. Debug logging:

panel.c:panel_configure_event:286 : ENTER
panel.c:panel_configure_event:287 : cur geom: 1651x24+0+1054
panel.c:panel_configure_event:288 : req geom: 1651x24+134+1056
panel.c:panel_configure_event:308 : move 134,1056
panel.c:panel_configure_event:310 : RETURN
panel.c:panel_configure_event:286 : ENTER
panel.c:panel_configure_event:287 : cur geom: 1651x24+0+1014
panel.c:panel_configure_event:288 : req geom: 1651x24+134+1056
panel.c:panel_configure_event:308 : move 134,1056
panel.c:panel_configure_event:310 : RETURN
panel.c:panel_configure_event:286 : ENTER
panel.c:panel_configure_event:287 : cur geom: 1651x24+0+1054
panel.c:panel_configure_event:288 : req geom: 1651x24+134+1056
panel.c:panel_configure_event:308 : move 134,1056
panel.c:panel_configure_event:310 : RETURN
panel.c:panel_configure_event:286 : ENTER
panel.c:panel_configure_event:287 : cur geom: 1651x24+1+1095
panel.c:panel_configure_event:288 : req geom: 1651x24+134+1056
panel.c:panel_configure_event:308 : move 134,1056
panel.c:panel_configure_event:310 : RETURN
panel.c:panel_configure_event:286 : ENTER
panel.c:panel_configure_event:287 : cur geom: 1651x24+0+1054
panel.c:panel_configure_event:288 : req geom: 1651x24+134+1056
panel.c:panel_configure_event:308 : move 134,1056
panel.c:panel_configure_event:310 : RETURN
panel.c:panel_configure_event:286 : ENTER
panel.c:panel_configure_event:287 : cur geom: 1651x24+1+1015
panel.c:panel_configure_event:288 : req geom: 1651x24+134+1056
panel.c:panel_configure_event:308 : move 134,1056
panel.c:panel_configure_event:310 : RETURN

I'm not sure exactly what's going on, but when I comment out this code, fbpanel works well for me again:

/* if panel wasn't at requested position, then send another request */
//if (e->x != p->ax || e->y != p->ay) {
// DBG("move %d,%d\n", p->ax, p->ay);
// gtk_window_move(GTK_WINDOW(widget), p->ax, p->ay);
// RET(FALSE);
//}

Discussion

  • Arnout Engelen
    Arnout Engelen
    2011-01-22

    This is still an issue on version 6.1