Gets minimized by "Show Desktop" action.

Bug #576083 reported by Nandox7
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
CoverGloobus
Fix Committed
Medium
Alexandr Grigorcea

Bug Description

Description:
When in gnome the action "Show Desktop" is performed all windows are minimized
and CoverGloobus is minimized as well.
As it is not detected as a window it's not possible to restore it unless the "Show Desktop" is pressed again,
and as it works as a desktop widget it should be visible at all times.

Expected Behavior:
Actions that trigger all windows to be minimize shouldn't affect CoverGloobus.

Nandox7 (nandox7)
summary: - Prevent from been minimized.
+ Gets minimized by "Show Desktop" action.
Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote : Re: [Bug 576083] [NEW] Gets minimized by "Show Desktop" action.

yeah, we are aware of this issue, it is possible to make CG behave this way,
but with metacity it becomes impossible to move CG and it disappears from
Docky

On Thu, May 6, 2010 at 12:09 AM, Nandox7 <email address hidden> wrote:

> Public bug reported:
>
> Description:
> When in gnome the action "Show Desktop" is performed all windows are
> minimized
> and CoverGloobus is minimized as well.
> As it is not detected as a window it's not possible to restore it unless
> the "Show Desktop" is pressed again,
> and as it works as a desktop widget it should be visible at all times.
>
> Expected Behavior:
> Actions that trigger all windows to be minimize shouldn't affect
> CoverGloobus.
>
> ** Affects: covergloobus
> Importance: Undecided
> Status: New
>
> ** Summary changed:
>
> - Prevent from been minimized.
> + Gets minimized by "Show Desktop" action.
>
> --
> Gets minimized by "Show Desktop" action.
> https://bugs.launchpad.net/bugs/576083
> You received this bug notification because you are a member of Gloobus
> Developers, which is the registrant for CoverGloobus.
>
> Status in CoverGloobus: New
>
> Bug description:
> Description:
> When in gnome the action "Show Desktop" is performed all windows are
> minimized
> and CoverGloobus is minimized as well.
> As it is not detected as a window it's not possible to restore it unless
> the "Show Desktop" is pressed again,
> and as it works as a desktop widget it should be visible at all times.
>
> Expected Behavior:
> Actions that trigger all windows to be minimize shouldn't affect
> CoverGloobus.
>
>
>

Revision history for this message
Wolter HV (wolterh) wrote :

I think that covergloobus should also ignore the closing signals, and only exit on quit, because if you close the main cg window, there is no way of bringing it back unless you restart the application

Revision history for this message
Jorge Rubio (jorgerc85) wrote :

Yes, if you have compiz enabled I think you can make it behave that way but not in metacity... I have the same problem... and it sucks to have to minimize everything to rate or change songs... the other way is to leave it on a different desktop as its easy to change desktops

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote : Re: [Bug 576083] Re: Gets minimized by "Show Desktop" action.

we could try this way: give cg window WINDOW_TYPE_HINT_DOCK, resize it to
the size of the screen, place a gtk.Fixed inside and an eventBox inside
fixed, eventBox will be the window we have now, we will have to take care of
moving it inside fixed, everything else will be pretty much the same, one
problem is docky, because with WINDOW_TYPE_HINT_DOCK it will disappear from
taskbar, so we need a docky plugin, maybe we could make a cg dbus api, this
will give a way to do cg plugins not only for docky, but, for other docks
too

On Thu, May 27, 2010 at 6:55 AM, Jorge Rubio <email address hidden> wrote:

> Yes, if you have compiz enabled I think you can make it behave that way
> but not in metacity... I have the same problem... and it sucks to have
> to minimize everything to rate or change songs... the other way is to
> leave it on a different desktop as its easy to change desktops
>
> --
> Gets minimized by "Show Desktop" action.
> https://bugs.launchpad.net/bugs/576083
> You received this bug notification because you are a member of Gloobus
> Developers, which is the registrant for CoverGloobus.
>
> Status in CoverGloobus: New
>
> Bug description:
> Description:
> When in gnome the action "Show Desktop" is performed all windows are
> minimized
> and CoverGloobus is minimized as well.
> As it is not detected as a window it's not possible to restore it unless
> the "Show Desktop" is pressed again,
> and as it works as a desktop widget it should be visible at all times.
>
> Expected Behavior:
> Actions that trigger all windows to be minimize shouldn't affect
> CoverGloobus.
>
>
>

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

ok, found a better solution

Changed in covergloobus:
assignee: nobody → Alexandr Grigorcea (cahr-gr)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Mandx (mandx) wrote :

It also appears in Alt+Tab window selection, annoying...

Revision history for this message
Nandox7 (nandox7) wrote :

Thanks for the effort put into fixing this. :)
In the mean time I got an workaround, use xfwm4 instead of metacity. ;)

Revision history for this message
Hund (hund) wrote :

I have the same problem in CoverGloobus 1.6 (RevNo: 262) (Installed from git moments ago) with Compiz.

Revision history for this message
guidito73 (guidito73) wrote :

Same problem in 1.7 (from Arch's AUR covergloobus-bzr package). Solved it executing the program with -above-desk, but the issue remains with the lyrics and tab widgets. Any solution?

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

I've forgot to change lyrics and tabs in widget mode, but main cg window is not visible with alt-tab or show-desktop (tested with compiz and metacity, on arch linux and ubuntu 10.04) and I don't understand why it is not working for you
is there someone else who can tell me that it works for him (maybe one of gloobus devs), it will be pretty weird if it works only for me

@guidito, what wm are you using and what's -above-desk?

Revision history for this message
Andrew (passa) wrote :

I still get this issue with 1.7 (though it says 1.6 in about).

Doesn't appear in alt-tab though! It's just the show-desktop problem.

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

ah, damn, you are using the PPA and the fix was pushed to trunk after the
last package was built, so obviusly it is not working for you
I am wondering why it is not working for guidito, maybe some strange wm

tested with openbox and it works, though without compositing :D

On Wed, Oct 27, 2010 at 4:19 PM, Andrew <email address hidden> wrote:

> I still get this issue with 1.7 (though it says 1.6 in about).
>
> Doesn't appear in alt-tab though! It's just the show-desktop problem.
>
> --
> Gets minimized by "Show Desktop" action.
> https://bugs.launchpad.net/bugs/576083
> You received this bug notification because you are a member of Gloobus
> Developers, which is the registrant for CoverGloobus.
>
> Status in CoverGloobus: Fix Committed
>
> Bug description:
> Description:
> When in gnome the action "Show Desktop" is performed all windows are
> minimized
> and CoverGloobus is minimized as well.
> As it is not detected as a window it's not possible to restore it unless
> the "Show Desktop" is pressed again,
> and as it works as a desktop widget it should be visible at all times.
>
> Expected Behavior:
> Actions that trigger all windows to be minimize shouldn't affect
> CoverGloobus.
>
>
>

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

new version in PPA, do you still have this issue?

Revision history for this message
Edvinas (ikonitas) wrote :

Hi, I am still having this issue with Ubuntu 10.10 installed with (docky,compiz, metacity).

There is anyway to fix this issue its really annoying?

Revision history for this message
Alexandr Grigorcea (cahr-gr) wrote :

1.7-6 build brings latest fixes, at this point I have no idea how to fix it, I don't know why it works well for me (compiz, metacity, openbox, ubuntu, arch linux, with/without docks), but does not work for all of you.

sorry

Revision history for this message
Hund (hund) wrote :

It works perfect for me now.

Revision history for this message
Calendros (calendros) wrote :

I'm using compiz and was having the same problem. This problem is not only affecting covergloobus and I've found this link :

https://wiki.archlinux.org/index.php/Conky#Don.27t_minimize_on_Show_Desktop_.28Compiz.29

The explanations here solved the problem. Maybe the behaviour can be documented in the covergloobus preference dialog ?
And thanks to the "window rules" plugin of compiz I solved another problem (the windows was decorated).

Another thing I tried was to catch "window-state-event" and to ask the window to deiconify itself, it works too, but this adds a delay to display the window again. The code I tried was just this three lines (if someone is interested somehow) :

inside the window creation member :
        self.connect("window-state-event", minimize_event)

and a function :

def minimize_event(widget, event):
    if event.new_window_state & gtk.gdk.WINDOW_STATE_ICONIFIED or \
            event.new_window_state & gtk.gdk.WINDOW_STATE_WITHDRAWN:
        widget.deiconify()

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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