! 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 !
xfdesktop menu not refreshing root window?
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Alex Garcia 2004-10-18 07:11:22 CEST
A screenshot of the error I'm encountering is here:
http://www.u.arizona.edu/~ajgarcia/screenshot.png

I removed xfce 4.0.6 and all config files, then installed 4.1.90. It seems like
when the xfdesktop desktop menu is destroyed, all of the application windows are
refreshed, but the root window isn't? I'm not quite sure what's causing this,

I'm using gtk+-2.5.3, librsvg-2.8.0, and libart-2.3.16. I'm running XFree86 4.3.0.2.

Reproducible: Always
Steps to Reproduce:
Comment 1 Brian J. Tarricone (not reading bugmail) 2004-10-18 15:42:04 CEST
do you have the compositor enabled in xfwm4?

olivier: could composite be causing this?
Comment 2 Olivier Fourdan editbugs 2004-10-18 20:08:26 CEST
Nope, it can't be the compositor, there is no compositing extention in XFree86
(at least not in 4.3.0 not in 4.4.0)
Comment 3 Brian J. Tarricone (not reading bugmail) 2004-10-18 20:29:16 CEST
(In reply to comment #2)
> Nope, it can't be the compositor, there is no compositing extention in XFree86
> (at least not in 4.3.0 not in 4.4.0)

meh.  go me, way to not pay attention.  also way to not look at the screenshot.
 sorry, didn't get much sleep last night.

i'm not sure what to say.  i've never seen anything like it.  xfdesktop sets the
back pixmap of its virtual root window to your selected backdrop, so it doesn't
need any manual repainting on expose events and whatnot.

oh, my.  gtk 2.5.3.  that could be your problem.  can you install the latest gtk
in the 2.4.x series and see if the problem's still there?  if it's not, i'm not
interested in fixing this bug at this point, at least not until 2.6.0 comes out
and it's shown that the bug is still present.  the 2.5.x series is (possibly
buggy) development code, and supporting it would not be the best use of my time.
Comment 4 Alex Garcia 2004-10-18 23:44:50 CEST
Wala! I installed gtk+-2.4.13 and everything's fine. That was weird. :)
Comment 5 Brian J. Tarricone (not reading bugmail) 2004-10-19 02:25:22 CEST
meh, beta code bites.
Comment 6 Brian J. Tarricone (not reading bugmail) 2004-11-02 01:20:44 CET
*** Bug 446 has been marked as a duplicate of this bug. ***
Comment 7 Brian J. Tarricone (not reading bugmail) 2004-11-12 19:18:33 CET
*** Bug 491 has been marked as a duplicate of this bug. ***
Comment 8 Brian J. Tarricone (not reading bugmail) 2004-12-17 17:23:13 CET
for reference: http://bugzilla.gnome.org/show_bug.cgi?id=161561
Comment 9 Olivier Fourdan editbugs 2004-12-17 19:42:11 CET
I don't see this with gtk+-2.6.0
Comment 10 younker 2004-12-18 00:36:37 CET
Even I upgrade to gtk+ 2.6.0, the problem is still there.

I think this is a bug about XFDesktop.
Comment 11 Brian J. Tarricone (not reading bugmail) 2004-12-18 00:46:29 CET
Yes and no.  It's possible that I was doing something somewhat dodgy in
xfdesktop, but the fact remains that the gtk devs went and changed a behavior
between minor releases, which is (IMHO) a big no-no.
Comment 12 Olivier Fourdan editbugs 2004-12-18 09:03:16 CET
Actually Jasper pointed to the explanation from Owen here:
http://bugzilla.gnome.org/show_bug.cgi?id=159012

As a side note, that bug doesn't show at all when using the compositor because 
windows are rendered off screen and there is no refresh problem as the
compositor handle all this nicely.

I think that bug should be reopened and fixed, I could eventually help, what do
you think Brian?
Comment 13 Olivier Fourdan editbugs 2004-12-18 09:59:47 CET
(Just to clarify, about reopening the bug, I'm obviously talking about *our* bug
#403, not the gtk bug.)
Comment 14 Brian J. Tarricone (not reading bugmail) 2004-12-18 10:46:46 CET
i'm still unable to fix this, even by allowing the widget to be double-buffered.
 hooking into expose-event and calling gtk_widget_queue_draw_area() makes the
entire window not get drawn period.

any ideas?
Comment 15 Brian J. Tarricone (not reading bugmail) 2004-12-18 11:21:33 CET
ok, this is fixed now.  gdk_draw_drawable() appears to be the key.  i still
think this is a behavior change in gtk 2.6 that shouldn't have happened, but
whatever.  it works, and that's all i care about.

Bug #403

Reported by:
Alex Garcia
Reported on: 2004-10-18
Last modified on: 2009-07-14
Duplicates (2):
  • 446 Desktop will not refresh after the desktop menu popup
  • 491 xfdesktop menus won't disappear with Xorg 6.8.1

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
3 users

Version

Attachments

Additional information