Compiz ShowDesktop plugin: _NET_SHOWING_DESKTOP is not modified

Bug #1311189 reported by Bambang Pranoto
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cairo-dock-plug-ins (Ubuntu)
Invalid
Undecided
Fabounet
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When using the Show Desktop plugin of Compiz, _NET_SHOWING_DESKTOP attribute is not modified (always set to 1).

It's a problem because other apps (like Cairo-Dock) don't know when the WM stops showing only the desktop. This _NET_SHOWING_DESKTOP attribute should be modified when showing only the desktop and modified again when at least one window is displayed.

------------------

Original bug description:

When application windows active, show desktop is still black and clicking it does not minimize all windows as it is supposed to do.

Ubuntu version: 14.04

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cairo-dock 3.3.99.beta1.2.really.3.3.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic i686
ApportVersion: 2.14.1-0ubuntu3
Architecture: i386
CompositingMetacity: No value set for `/apps/metacity/general/compositing_manager'
CurrentDesktop: Unity
Date: Tue Apr 22 22:37:58 2014
InstallationDate: Installed on 2014-04-22 (0 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
PackageArchitecture: all
PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09) (prog-if 00 [VGA controller])
RelatedPackageVersions:
 xserver-xorg 1:7.7+1ubuntu8
 libgl1-mesa-glx 10.1.0-4ubuntu5
 libdrm2 2.4.52-1
 xserver-xorg-video-intel 2:2.99.910-0ubuntu1
 xserver-xorg-video-ati 1:7.3.0-1ubuntu3
SourcePackage: cairo-dock
UpgradeStatus: No upgrade log present (probably fresh install)
WM: No value set for `/desktop/gnome/applications/window_manager/current'
glxinfo: Error: [Errno 2] No such file or directory: 'glxinfo'
system: distro = Ubuntu, architecture = i686, kernel = 3.13.0-24-generic

Revision history for this message
Bambang Pranoto (bpranoto) wrote :
Revision history for this message
Fabounet (fabounet03) wrote : Re: [Cairo-dock-team] [Bug 1311189] [NEW] Cairo-dock buggy show desktop
Download full text (4.0 KiB)

Hi, thank you for reporting this.
"When application windows active" what do you mean exactly ?
was it working before you update to Ubuntu 14.04 ?

2014-04-22 17:46 GMT+02:00 Bambang Pranoto <email address hidden>:

> Public bug reported:
>
> When application windows active, show desktop is still black and
> clicking it does not minimize all windows as it is supposed to do.
>
> Ubuntu version: 14.04
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: cairo-dock 3.3.99.beta1.2.really.3.3.2-0ubuntu2
> ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
> Uname: Linux 3.13.0-24-generic i686
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: i386
> CompositingMetacity: No value set for
> `/apps/metacity/general/compositing_manager'
> CurrentDesktop: Unity
> Date: Tue Apr 22 22:37:58 2014
> InstallationDate: Installed on 2014-04-22 (0 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140417)
> PackageArchitecture: all
> PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation
> Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev
> 09) (prog-if 00 [VGA controller])
> RelatedPackageVersions:
> xserver-xorg 1:7.7+1ubuntu8
> libgl1-mesa-glx 10.1.0-4ubuntu5
> libdrm2 2.4.52-1
> xserver-xorg-video-intel 2:2.99.910-0ubuntu1
> xserver-xorg-video-ati 1:7.3.0-1ubuntu3
> SourcePackage: cairo-dock
> UpgradeStatus: No upgrade log present (probably fresh install)
> WM: No value set for `/desktop/gnome/applications/window_manager/current'
> glxinfo: Error: [Errno 2] No such file or directory: 'glxinfo'
> system: distro = Ubuntu, architecture = i686, kernel = 3.13.0-24-generic
>
> ** Affects: cairo-dock (Ubuntu)
> Importance: Undecided
> Status: New
>
>
> ** Tags: apport-bug i386 trusty
>
> --
> You received this bug notification because you are a member of Cairo-
> Dock Devs, which is subscribed to cairo-dock in Ubuntu.
> https://bugs.launchpad.net/bugs/1311189
>
> Title:
> Cairo-dock buggy show desktop
>
> Status in “cairo-dock” package in Ubuntu:
> New
>
> Bug description:
> When application windows active, show desktop is still black and
> clicking it does not minimize all windows as it is supposed to do.
>
> Ubuntu version: 14.04
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: cairo-dock 3.3.99.beta1.2.really.3.3.2-0ubuntu2
> ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
> Uname: Linux 3.13.0-24-generic i686
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: i386
> CompositingMetacity: No value set for
> `/apps/metacity/general/compositing_manager'
> CurrentDesktop: Unity
> Date: Tue Apr 22 22:37:58 2014
> InstallationDate: Installed on 2014-04-22 (0 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386
> (20140417)
> PackageArchitecture: all
> PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation
> Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev
> 09) (prog-if 00 [VGA controller])
> RelatedPackageVersions:
> xserver-xorg 1:7.7+1ubuntu8
> libgl1-mesa-glx 10.1.0-4ubu...

Read more...

Revision history for this message
Matthieu Baerts (matttbe) wrote : Re: Cairo-dock buggy show desktop

Hello,

> show desktop is still black

What do you mean by "black"?

Note that you can also change on the settings the action when clicking on this icon.

Changed in cairo-dock (Ubuntu):
status: New → Incomplete
Revision history for this message
Bambang Pranoto (bpranoto) wrote :

Thanks for your quick response. Here are the steps to reproduce the problem, I also attach screenshots for the sake of clarity.

1. I'll begin with clean desktop. No application is opened. Show Desktop launcher is colored purple. See Screenshot1.png

2. Next, I open Google Chrome. See Screenshot2.png

3. Click Show Desktop icon, now Google Chrome is minimized, and the Show Desktop launcher turns black. See Screenshot3. So far so good.

4. Click the Google Chrome launcher, Google Chrome reappeared. But now, the Show Desktop launcher still in black color and from now on clicking Show Desktop launcher won't minimize all opened program as it is supposed to do.

Revision history for this message
Bambang Pranoto (bpranoto) wrote :

Screenshot of step 2

Revision history for this message
Bambang Pranoto (bpranoto) wrote :

Screenshot of step 3

Revision history for this message
Bambang Pranoto (bpranoto) wrote :

Screenshot of step 4

Revision history for this message
Fabounet (fabounet03) wrote : Re: [Cairo-dock-team] [Bug 1311189] Re: Cairo-dock buggy show desktop
Download full text (3.3 KiB)

"But now,
the Show Desktop launcher still in black color and from now on clicking
Show Desktop launcher won't minimize all opened program as it is
supposed to do."

actually, that depends on the Window Manager
I've just made a quick test, and with Metacity you get the behaviour you
wish (the icon comes back to original when a window is unminimized)
but with Compiz, it doesn't work like that, you stay in "show desktop" mode
until you re-click on the icon (or change the current desktop).

to make some tests yourself, you can use the following command:
"xprop -root | grep _NET_SHOWING_DESKTOP"
which tells you if you're in "show desktop"mode or not
use "sleep 5 && xprop -root | grep _NET_SHOWING_DESKTOP" for instance to
trigger the command in 5 seconds, letting you the time to click on the icon
and show a window; I think you'll find the same result as me. :-)

2014-04-23 18:34 GMT+02:00 Bambang Pranoto <email address hidden>:

> Screenshot of step 3
>
> ** Attachment added: "Screenshot3.png"
>
> https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1311189/+attachment/4094444/+files/Screenshot3.png
>
> --
> You received this bug notification because you are a member of Cairo-
> Dock Devs, which is subscribed to cairo-dock in Ubuntu.
> https://bugs.launchpad.net/bugs/1311189
>
> Title:
> Cairo-dock buggy show desktop
>
> Status in “cairo-dock” package in Ubuntu:
> Incomplete
>
> Bug description:
> When application windows active, show desktop is still black and
> clicking it does not minimize all windows as it is supposed to do.
>
> Ubuntu version: 14.04
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: cairo-dock 3.3.99.beta1.2.really.3.3.2-0ubuntu2
> ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
> Uname: Linux 3.13.0-24-generic i686
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: i386
> CompositingMetacity: No value set for
> `/apps/metacity/general/compositing_manager'
> CurrentDesktop: Unity
> Date: Tue Apr 22 22:37:58 2014
> InstallationDate: Installed on 2014-04-22 (0 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386
> (20140417)
> PackageArchitecture: all
> PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation
> Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev
> 09) (prog-if 00 [VGA controller])
> RelatedPackageVersions:
> xserver-xorg 1:7.7+1ubuntu8
> libgl1-mesa-glx 10.1.0-4ubuntu5
> libdrm2 2.4.52-1
> xserver-xorg-video-intel 2:2.99.910-0ubuntu1
> xserver-xorg-video-ati 1:7.3.0-1ubuntu3
> SourcePackage: cairo-dock
> UpgradeStatus: No upgrade log present (probably fresh install)
> WM: No value set for `/desktop/gnome/applications/window_manager/current'
> glxinfo: Error: [Errno 2] No such file or directory: 'glxinfo'
> system: distro = Ubuntu, architecture = i686, kernel = 3.13.0-24-generic
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1311189/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team
> Post to ...

Read more...

Revision history for this message
Fabounet (fabounet03) wrote :
Download full text (3.7 KiB)

PS: if you confirm, then it's time to look into ccsm (compiz configuration
tool) to see if there is not an option for that (note that there are 2
"show-desktop" plug-ins), and if not, then reporting the "problem" to
Compiz devs.

2014-04-23 19:26 GMT+02:00 Fabrice Rey <email address hidden>:

> "But now,
> the Show Desktop launcher still in black color and from now on clicking
> Show Desktop launcher won't minimize all opened program as it is
> supposed to do."
>
> actually, that depends on the Window Manager
> I've just made a quick test, and with Metacity you get the behaviour you
> wish (the icon comes back to original when a window is unminimized)
> but with Compiz, it doesn't work like that, you stay in "show desktop"
> mode until you re-click on the icon (or change the current desktop).
>
> to make some tests yourself, you can use the following command:
> "xprop -root | grep _NET_SHOWING_DESKTOP"
> which tells you if you're in "show desktop"mode or not
> use "sleep 5 && xprop -root | grep _NET_SHOWING_DESKTOP" for instance to
> trigger the command in 5 seconds, letting you the time to click on the icon
> and show a window; I think you'll find the same result as me. :-)
>
>
> 2014-04-23 18:34 GMT+02:00 Bambang Pranoto <email address hidden>:
>
> Screenshot of step 3
>>
>> ** Attachment added: "Screenshot3.png"
>>
>> https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1311189/+attachment/4094444/+files/Screenshot3.png
>>
>> --
>> You received this bug notification because you are a member of Cairo-
>> Dock Devs, which is subscribed to cairo-dock in Ubuntu.
>> https://bugs.launchpad.net/bugs/1311189
>>
>> Title:
>> Cairo-dock buggy show desktop
>>
>> Status in “cairo-dock” package in Ubuntu:
>> Incomplete
>>
>> Bug description:
>> When application windows active, show desktop is still black and
>> clicking it does not minimize all windows as it is supposed to do.
>>
>> Ubuntu version: 14.04
>>
>> ProblemType: Bug
>> DistroRelease: Ubuntu 14.04
>> Package: cairo-dock 3.3.99.beta1.2.really.3.3.2-0ubuntu2
>> ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
>> Uname: Linux 3.13.0-24-generic i686
>> ApportVersion: 2.14.1-0ubuntu3
>> Architecture: i386
>> CompositingMetacity: No value set for
>> `/apps/metacity/general/compositing_manager'
>> CurrentDesktop: Unity
>> Date: Tue Apr 22 22:37:58 2014
>> InstallationDate: Installed on 2014-04-22 (0 days ago)
>> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386
>> (20140417)
>> PackageArchitecture: all
>> PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation
>> Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev
>> 09) (prog-if 00 [VGA controller])
>> RelatedPackageVersions:
>> xserver-xorg 1:7.7+1ubuntu8
>> libgl1-mesa-glx 10.1.0-4ubuntu5
>> libdrm2 2.4.52-1
>> xserver-xorg-video-intel 2:2.99.910-0ubuntu1
>> xserver-xorg-video-ati 1:7.3.0-1ubuntu3
>> SourcePackage: cairo-dock
>> UpgradeStatus: No upgrade log present (probably fresh install)
>> WM: No value set for
>> `/desktop/gnome/applications/window_manager/current'
>> glxinfo...

Read more...

Revision history for this message
Bambang Pranoto (bpranoto) wrote :

On Thu, Apr 24, 2014 at 12:26 AM, Fabounet <email address hidden> wrote:

>
> actually, that depends on the Window Manager
> I've just made a quick test, and with Metacity you get the behaviour you
> wish (the icon comes back to original when a window is unminimized)
> but with Compiz, it doesn't work like that, you stay in "show desktop" mode
> until you re-click on the icon (or change the current desktop).
>
>
No, reclick the Show Desktop icon doesn't help. The only way is to logout
and login again.

> to make some tests yourself, you can use the following command:
> "xprop -root | grep _NET_SHOWING_DESKTOP"
> which tells you if you're in "show desktop"mode or not
> use "sleep 5 && xprop -root | grep _NET_SHOWING_DESKTOP" for instance to
> trigger the command in 5 seconds, letting you the time to click on the icon
> and show a window; I think you'll find the same result as me. :-)
>
>
After the problem occurs, value of _NET_SHOWING_DESKTOP(CARDINAL) is always
1 no matter of all applications minimized or not.

Revision history for this message
Bambang Pranoto (bpranoto) wrote :

On Thu, Apr 24, 2014 at 12:28 AM, Fabounet <email address hidden> wrote:

> PS: if you confirm, then it's time to look into ccsm (compiz configuration
> tool) to see if there is not an option for that (note that there are 2
> "show-desktop" plug-ins),

I can't find that on compizconfig-settings-manager, where is it?

> and if not, then reporting the "problem" to
> Compiz devs.
>
>
>
Do you suggest it's compiz bug instead of cairo?

Revision history for this message
Matthieu Baerts (matttbe) wrote : Re: Cairo-dock buggy show desktop

> After the problem occurs, value of _NET_SHOWING_DESKTOP(CARDINAL) is always
> 1 no matter of all applications minimized or not.

@fabounet: so is it a bug due to Compiz?

> I can't find that on compizconfig-settings-manager, where is it?

This package should be available in the Software-Center ;-)
Or you can also use this command:

     $ sudo apt-get install compizconfig-settings-manager

Revision history for this message
Bambang Pranoto (bpranoto) wrote : Re: [Bug 1311189] Re: Cairo-dock buggy show desktop

On Fri, May 9, 2014 at 3:49 AM, Matthieu Baerts <email address hidden> wrote:

>
> > I can't find that on compizconfig-settings-manager, where is it?
>
> This package should be available in the Software-Center ;-)
> Or you can also use this command:
>
> $ sudo apt-get install compizconfig-settings-manager
>
>
What I meant was: in which part Compiz Config Settings Manage those
settings resided?. I already had compizconfig-settings-manager installed.

Revision history for this message
Matthieu Baerts (matttbe) wrote : Re: Cairo-dock buggy show desktop

@Bambang: I guess it's the plugins "Show Desktop" and "Fade to Desktop"

Revision history for this message
Fabounet (fabounet03) wrote : Re: [Cairo-dock-team] [Bug 1311189] Re: Cairo-dock buggy show desktop
Download full text (3.2 KiB)

"Do you suggest it's compiz bug instead of cairo?"
I'm pretty sure, since the behaviour shown by Metacity and Compiz are
totally different for me (and even different than the one of Bambang).

about ccsm, I have the plug-in "Show desktop" activated, and Unity is
disabled).
by the way, the working of this plug-in is quite weird:
if I show the desktop, the windows are not minimized, but moved in the
corners, and only for the current desktop (ok, why not). But switching to
another desktop will deactivate the show-desktop mode (sounds strange to
me). Also, in show-desktop mode, alt+tab doesn't display all the windows of
the current desktop (only a few).
so I would say this plug-in is a bit broken...

the "fade-to-desktop" plug-in works in a more usual way (windows of all
desktops are minimized, alt+tab works correctly).
still, showing a window doesn't disable the show-desktop mode, you have to
re-click on the icon (which sounds ok to me).

2014-05-09 13:08 GMT+02:00 Matthieu Baerts <email address hidden>:

> @Bambang: I guess it's the plugins "Show Desktop" and "Fade to Desktop"
>
> --
> You received this bug notification because you are a member of Cairo-
> Dock Devs, which is subscribed to cairo-dock in Ubuntu.
> https://bugs.launchpad.net/bugs/1311189
>
> Title:
> Cairo-dock buggy show desktop
>
> Status in “cairo-dock” package in Ubuntu:
> Incomplete
>
> Bug description:
> When application windows active, show desktop is still black and
> clicking it does not minimize all windows as it is supposed to do.
>
> Ubuntu version: 14.04
>
> ProblemType: Bug
> DistroRelease: Ubuntu 14.04
> Package: cairo-dock 3.3.99.beta1.2.really.3.3.2-0ubuntu2
> ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
> Uname: Linux 3.13.0-24-generic i686
> ApportVersion: 2.14.1-0ubuntu3
> Architecture: i386
> CompositingMetacity: No value set for
> `/apps/metacity/general/compositing_manager'
> CurrentDesktop: Unity
> Date: Tue Apr 22 22:37:58 2014
> InstallationDate: Installed on 2014-04-22 (0 days ago)
> InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release i386
> (20140417)
> PackageArchitecture: all
> PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation
> Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev
> 09) (prog-if 00 [VGA controller])
> RelatedPackageVersions:
> xserver-xorg 1:7.7+1ubuntu8
> libgl1-mesa-glx 10.1.0-4ubuntu5
> libdrm2 2.4.52-1
> xserver-xorg-video-intel 2:2.99.910-0ubuntu1
> xserver-xorg-video-ati 1:7.3.0-1ubuntu3
> SourcePackage: cairo-dock
> UpgradeStatus: No upgrade log present (probably fresh install)
> WM: No value set for `/desktop/gnome/applications/window_manager/current'
> glxinfo: Error: [Errno 2] No such file or directory: 'glxinfo'
> system: distro = Ubuntu, architecture = i686, kernel = 3.13.0-24-generic
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/cairo-dock/+bug/1311189/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team
> Post to : cairo-dock-team@lis...

Read more...

summary: - Cairo-dock buggy show desktop
+ Compiz ShowDesktop plugin: _NET_SHOWING_DESKTOP is not modified
description: updated
affects: cairo-dock (Ubuntu) → cairo-dock-plug-ins (Ubuntu)
Changed in cairo-dock-plug-ins (Ubuntu):
assignee: nobody → Fabounet (fabounet03)
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.