[Tasklist plugin] Grouped icons are not rendered with transparent effect when their child are all minimized.

Bug #1316653 reported by amigamagic
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Panel
Fix Released
Low
xfce4-panel (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

package: xfce4-panel-4.11.0
plugin: tasklist

bug (1):
Minimized icons in the tasklist are rendered with a certain transparency factor, but actually this doesn't apply to grouped icons. To mantain a consistent behaviour, when "all" the windows inside a group are minimized the grouped icon should be transparent too.

bug (2):
Let's suppose you selected to display only the minimized icons in the tasklist. Now if you open a new window of a different type from the ones currently in the tasklist, and then minimize it, its icon will be displayed without transparency. This is inconsistent with the expected behaviour.

** I attached a diff file to fix both problems. **

Tags: patch
Revision history for this message
In , amigamagic (debianmaverick) wrote :

Created attachment 5465
Diff file with the bugfix

package: xfce4-panel-4.11.0
plugin: tasklist

Minimized icons in the tasklist are rendered with a certain transparency factor, but actually this doesn't apply to grouped icons. To mantain a consistent behaviour, when "all" the windows inside a group are minimized the grouped icon should be transparent too.

I attached a bugfix.

Cheers,
amigamagic

Revision history for this message
In , amigamagic (debianmaverick) wrote :

Created attachment 5466
Diff file with the bugfix (v2)

Fixed another bug: let's suppose you selected to display only the minimized icons in the tasklist. Now if you open a new window of a different type from the ones currently in the tasklist, and then minimize it, its icon will be displayed without transparency. This is inconsistent with the expected behaviour, so I fixed it.

Revision history for this message
amigamagic (debianmaverick) wrote :
description: updated
Changed in xfce4-panel:
importance: Unknown → Low
status: Unknown → Confirmed
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Diff file with the fix for bug 1 and 2" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
In , Andrzej (ndrwrdck) wrote :

Pushed to git (v2). It fixes the second issue (transparency of minimized new windows) but the first one is still there (grouped icons are are opaque even when all their windows are minimized).

Revision history for this message
In , Steve Dodier-Lazaro (sidi) wrote :

Please try to git apply --check yourpatch.patch before submitting, to spot and remove all trailing whitespaces :-)

Revision history for this message
In , Steve Dodier-Lazaro (sidi) wrote :

Otherwise, just as for Andre: neither patch 5465 or 5466 fix the reported issue. They appear to be doing nothing.

Amigamagic, could you please tell us how you tested this patch?

Changed in xfce4-panel:
status: Confirmed → In Progress
Revision history for this message
In , Simon Steinbeiß (ochosi) wrote :

I've rebased this patch on top of current master, but I still see at least one issue I would like to fix before merging this:
- when a single window is minimized and you then open a second window of that application, the icon remains 70% translucent, so there's at least one unhandled signal/case (active_window_changed or whatever)
- the exo stuff should be replaced by style-classes and something like "button image { opacity: 0.7; }"

Revision history for this message
In , Simon Steinbeiß (ochosi) wrote :

Ok, part one is done. I'll try to replace exo too and then push this.

Revision history for this message
In , Gitbot (gitbot) wrote :

Simon Steinbeiss referenced this bugreport in commit 9921b874b7c929696eca061b8818303d3e439a93

tasklist: Make all-minimized group buttons translucent (Bug #10862)

https://git.xfce.org/xfce/xfce4-panel/commit?id=9921b874b7c929696eca061b8818303d3e439a93

Changed in xfce4-panel:
status: In Progress → Fix Released
Revision history for this message
Sean Davis (bluesabre) wrote :

Reportedly fixed upstream.

Changed in xfce4-panel (Ubuntu):
status: New → Fix Released
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.