! 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 !
Compositor tab should be invisible when Composite extension is not loaded
Status:
RESOLVED: INVALID

Comments

Description Mathias Brodala 2007-07-17 19:33:28 CEST
User-Agent:       Opera/9.21 (X11; Linux i686; U; de)
Build Identifier: 

If I disable loading the Composite extension, the "Compositor" tab still is accessible and even usable within the window manager tweaks. But of course, the compositor won’t work this way. Thus, the tab should be hidden in this case.

Reproducible: Always

Steps to Reproduce:
1. Disable loading the Composite extension
2. Open window manager tweaks
Actual Results:  
The "Compositor" tab is visible.

Expected Results:  
It should not.
Comment 1 Olivier Fourdan editbugs 2007-07-17 20:21:29 CEST
This is already the case, the compositor tab is not shown if the display doesn't support the composite extension.
Comment 2 Olivier Fourdan editbugs 2007-07-17 20:25:20 CEST
What does that give?

    xdpyinfo | grep Composite

Did you restart gdm after changing the option in xorg.conf?

Do you have this in your xorg.conf:

Section "Extensions"  
    Option "Composite" "Disable"  
EndSection
Comment 3 Mathias Brodala 2007-07-17 21:09:21 CEST
> What does that give?
> 
>     xdpyinfo | grep Composite

No output.

> Did you restart gdm after changing the option in xorg.conf?

Yes.

> Do you have this in your xorg.conf:
> 
> Section "Extensions"  
>     Option "Composite" "Disable"  
> EndSection

Yes, but I commented the Option out, thus it should not be enabled. Killing and starting xfwm4 from a terminal proves this:

> ** (xfwm4:17164): WARNING **: The display does not support the XComposite extension.
> 
> ** (xfwm4:17164): WARNING **: Compositing manager disabled.

The tab is still accessible.
Comment 4 Olivier Fourdan editbugs 2007-07-19 20:09:16 CEST
> > ** (xfwm4:17164): WARNING **: Compositing manager disabled.
> 
> The tab is still accessible.
> 

Well, it works here, and has always. Can you check if you don't have an older version of the wmtweaks plugin around?
Comment 5 Mathias Brodala 2007-07-19 20:19:12 CEST
(In reply to comment #4)
> > > ** (xfwm4:17164): WARNING **: Compositing manager disabled.
> > 
> > The tab is still accessible.
> > 
> 
> Well, it works here, and has always. Can you check if you don't have an older
> version of the wmtweaks plugin around?

Uhm, not sure what you mean by that. Do you mean that I should check if the wmtweaks_plugin.so is outdated? It isn’t.
Comment 6 Olivier Fourdan editbugs 2007-07-19 20:23:19 CEST
Oh I know what you do wrong... I bet you force the compositor with --compositor=on in the session.

And of course, if forced, it's considered active (that's the logic of forcing an option, isn't it?)

Now, since composite extension is not supposed to vanish during the lifetime of an X session (it's an X thingy, so it stays on or off as long as X is not restarted), restarting xfwm4 makes obviously no difference... Unless you also restart xfce-mcs-manager.

So Can you check if you do you force the --compositor option in your session?

If you are using xfce4-session, check in  .cache/sessions/xfce4-session-`hostname -f`\:0
Comment 7 Mathias Brodala 2007-07-19 20:31:57 CEST
(In reply to comment #6)
> Oh I know what you do wrong... I bet you force the compositor with
> --compositor=on in the session.

Exactly. And the line looks a bit weird:

> $ ps aux | grep [x]fwm4
> ashura    4715  0.0  1.0  24620 10648 ?        S    19:41   0:03 xfwm4 --compositor=on--daemon --sm-client-id 117f000001000115304131500000182230001 --display :0.0

The missing space between the --compositor and --daemon line definitely looks wrong.

> And of course, if forced, it's considered active (that's the logic of forcing
> an option, isn't it?)

Yep, makes sense now.
> If you are using xfce4-session, check in 
> .cache/sessions/xfce4-session-`hostname -f`\:0

There it is. Is it alright to edit this file manually?
Comment 8 Olivier Fourdan editbugs 2007-07-19 20:35:39 CEST
(In reply to comment #7)

> There it is. Is it alright to edit this file manually?

From a terminal, 

    killall xfwm4; sleep 3; xfwm4& 

Then logout saving your session and you'll be safe.
Comment 9 Mathias Brodala 2007-07-19 20:43:44 CEST
(In reply to comment #8)
> (In reply to comment #7)
> 
> > There it is. Is it alright to edit this file manually?
> 
> From a terminal, 
> 
>     killall xfwm4; sleep 3; xfwm4& 
> 
> Then logout saving your session and you'll be safe.

Heh, that’s why I asked. I don’t want to logout ATM but do this while everything is running. I went ahead now, edited this file, killed both xfwm4 and xfce-mcs-manager and restarted both. Works. The "Compositor" tab is gone now.

Thanks for your time.

Bug #3398

Reported by:
Mathias Brodala
Reported on: 2007-07-17
Last modified on: 2009-07-14

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Attachments

Additional information