! 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 !
Shaped Ecore/Evas windows broken in XFWM4
Status:
RESOLVED: FIXED

Comments

Description Tilman Sauerbeck 2005-06-05 13:36:50 CEST
Shaped windows that are created by applications that use the Enlightenment
Foundation Libraries, specifically Evas/Ecore_Evas seem to be broken in XFWM.

They work well when in other window managers or when no wm is loaded at all,
that's why we think it's a bug in XFWM.

The transparent areas of the shaped windows aren't always transparent in XFWM,
they are black instead.

Reproducible: Sometimes
Steps to Reproduce:
1. Grab http://code-monkey.de//files/edje_test_shape.c
2. Grab http://code-monkey.de//files/multipass.edj
2. cc edje_test_shape.c `edje-config --cflags --libs` -o edje_test_shape
3. Run "./edje_test_shape multipass.edj euphoria"
4. Move the mouse above the newly created window
5. See the slideouts appear (this doesn't work in all cases, try until it works).
6. Move the mouse out of the window.
Actual Results:  
The slideouts slided back in, and there are now black areas where they were
positioned.

Expected Results:  
Show a transparent areas where the slideouts were positioned.
Comment 1 Olivier Fourdan editbugs 2005-06-06 17:15:56 CEST
Are you using the compositor in xfwm4?

To make sure, from a terminal, do

   kill `/sbin/pidof xfwm4` && xfwm4 --compositor=off

and retest.
Comment 2 Olivier Fourdan editbugs 2005-06-06 20:40:20 CEST
Ok, I did download all of e17 from CVS, build it, install it, get the files you
mentioned, build them... and it works just fine :)

I'm using Xfce 4.2.x w/out compositor.
Comment 3 Olivier Fourdan editbugs 2005-06-07 20:20:56 CEST
Works equally well with compositor enabled too.

So, if you are running Xfce 4.0, I guess you'd better switch to Xfce 4.2 unless
you have a very good reason to stick with 4.0 (in case I'd like to know so I
might investigate a bit further in 4.0 code base)
Comment 4 Tilman Sauerbeck 2005-06-07 20:47:23 CEST
I'm using the following packages:

libxfce4mcs 4.2.2
libxfce4util 4.2.2
libxfcegui4 4.2.2
xfce-mcs-manager 4.2.2
xfwm4 4.2.2

(ie the minimum requirements to get XFWM running).
I'm not using the compositor.

I started xfwm by putting the following two lines at the end of my ~/.xinitrc:

euphoria &
exec xfwm4

Sometimes I get a nicely shaped window, sometimes I just see a black window
where the window should be transparent.

Is there anything else I can try?
Comment 5 Olivier Fourdan editbugs 2005-06-07 21:00:34 CEST
Humm, that's odd. Why it you use instead:

xfwm4 --daemon
exec euphoria

Comment 6 Tilman Sauerbeck 2005-06-08 16:32:42 CEST
That doesn't change anything, still the same behaviour.
Comment 7 Olivier Fourdan editbugs 2005-06-08 20:49:27 CEST
You're right, I found the problem and it's now fixed in SVN.
You can grab a snapshot here :

http://www.xfce.org/~olivier/preview/xfwm4-4.2.2CVS200506082243.tar.gz

Thanks for pointing this out!
Olivier.
Comment 8 Tilman Sauerbeck 2005-06-08 21:04:15 CEST
Thanks, works like a charm now! :)
Comment 9 Olivier Fourdan editbugs 2005-06-24 18:40:08 CEST
*** Bug 1031 has been marked as a duplicate of this bug. ***

Bug #987

Reported by:
Tilman Sauerbeck
Reported on: 2005-06-05
Last modified on: 2009-07-14
Duplicates (1):
  • 1031 Resize problems with gkrellm

People

Assignee:
Olivier Fourdan
CC List:
1 user

Version

Attachments

Additional information