#6 panel flickers

open
nobody
None
5
2005-04-29
2005-04-29
The Anarcat
No

Sometimes, mostly after a background image change (my
background picture changes each 10 minutes), the panel
flickers for some time. It looks like it's being
painted and repainted, and sometimes stops after some time.

I have a complex setup here, and that might be the
cause of the problem:

My desktop is a custom one. It's a mix of ROX, sawfish
and gnome. More precisely, what happens is that
"rox-session" (a session manager) starts all the
applications, starting with the ROX-Filer itself, which
paints the background using the Wallpaper application,
starts sawfish and gnome-panel. I have a few other
things configured, namely gkrellm and sawfish-pager,
but I don't think those should affect the problem.

The ROX desktop: http://rox.sf.net/
ROX-Filer:
http://rox.sourceforge.net/phpwiki/index.php/ROX-Filer
ROX-Session:
http://rox.sourceforge.net/phpwiki/index.php/ROX-Session
Wallpaper:
http://rox.sourceforge.net/phpwiki/index.php/Wallpaper
Sawfish: http://sawmill.sourceforge.net/
Gnome-panel: http://gnome.org/ :)

In the same conditions, gnome-panel doesn't flicker,
for what it's worth.

I'm available for further debugging.

Discussion

  • The Anarcat
    The Anarcat
    2005-05-09

    Logged In: YES
    user_id=246797

    This peculiar case of flickering is fixed in 2.3-rc.
    However, now workrave makes the panel flicker. When workrave
    changes its display in the panel notification area, the
    whole panel gets redrawn.

     
  • The Anarcat
    The Anarcat
    2005-05-10

    Logged In: YES
    user_id=246797

    Copy-paste of a recent mail:

    > As for the flickering, I've found that Sawfish generates
    extraneous
    > events which result in panel updates. I haven't found a
    good way to
    > get around this without degrading performance for 'better
    behaving'
    > window managers or adding specific checks for Sawfish.

    I found out that when workrave is removed, the flicker
    stops. It's only
    workrave that provokes the refresh when it changes its
    display. Not sure
    about sawfish's responsability in there: I tried with
    blackbox and
    openbox and get the same results: the second workrave
    redraws its
    applet, the whole panel gets redrawn.

    Just to be sure, if you tested this, here is my preferences
    setup:

    User interface -> Applet:

    [X] Applet enabled
    Placement: Place all timers in one spot
    Cycle time: 2
    Micro-break: show
    Rest break: show
    Daily limit: show only when this timer is first due

    .. i hope you can reproduce.

     
  • The Anarcat
    The Anarcat
    2005-05-17

    Logged In: YES
    user_id=246797

    Still occurs with pypanel-2.3: it seems that this behavior
    is caused by workrave changing its size, although I *think*
    I saw the same behavior back when the dock size was fixed.

     
  • The Anarcat
    The Anarcat
    2005-05-17

    Logged In: YES
    user_id=246797

    I just made another test.. I've logged in my workstation
    downstairs. Now the panel flickers *really* quickly, and is
    completely unusable the second workrave is started. Usually,
    I work in a remote X session, through a dumb X terminal, so
    there a noticable delay when redrawing stuff on the screen,
    and I see about one or two refreshes per second. But
    straight on the workstation, the panel flickers madly at an
    extremely high rate, and clicking anywhere on it has no effect.

    In other words, it's just because I'm upstairs using my
    remote X session that the panel is usable at all with
    workrave. On a fast display, it eats all the cpu and becomes
    unusable.