dragging applications in the task bar causes repaint errors

Bug #1397095 reported by Daniel Kessel
50
This bug affects 11 people
Affects Status Importance Assigned to Milestone
Xfce4 Panel
Fix Released
Medium
xfce4-panel (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I am using the xubuntu-staging PPA on real hardware.

When dragging running applications in the task bar, black boxes appear in the panel.
The black boxes appear where whiskermenu and the places plugin would normally be drawn. When moving the mouse over the black boxes, they get redrawn correctly.

This happens on real hardware and on VirtualBox.

Virtualbox running current daily.

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: xfce4-panel 4.11.1-0ubuntu2
ProcVersionSignature: Ubuntu 3.16.0-25.33-generic 3.16.7
Uname: Linux 3.16.0-25-generic i686
ApportVersion: 2.14.7-0ubuntu10
Architecture: i386
CurrentDesktop: XFCE
Date: Thu Nov 27 20:22:51 2014
InstallationDate: Installed on 2014-03-16 (256 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20140316)
SourcePackage: xfce4-panel
UpgradeStatus: Upgraded to vivid on 2014-11-20 (6 days ago)

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Only external panel plugins placed left of the window buttons and close to the left screen seem to be affected by this glitch. Hovering over these panel items with the cursor restores the panel appearance.

xfce4-panel 4.10.0git-d296ca7 (Xfce 4.10)
Xubuntu 14.04 LTS Alpha 2

Related bug report (xfce4-whiskermenu-plugin):
https://github.com/gottcode/xfce4-whiskermenu-plugin/issues/37

Revision history for this message
Daniel Kessel (dkessel) wrote :
Revision history for this message
Daniel Kessel (dkessel) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in xfce4-panel (Ubuntu):
status: New → Confirmed
Revision history for this message
Elfy (elfy) wrote :

Can confirm this in vbox for whiskermenu icon.

I can't confirm for places plugin.

Nor can I confirm on hardware - panel moved to the bottom. Many changes from default panel here - no windows buttons. Adding windows buttons to the panel and still unable to confirm there.

Elfy (elfy)
description: updated
Changed in xfce4-panel:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in xfce4-panel (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Sean Davis (bluesabre) wrote :

The easiest way I have found to reproduce on hardware is just click and drag an item in the window list. Whiskermenu will become black until hovering it again.

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

This issue is triggered by the following gtk_widget_get_snapshot call:

http://git.xfce.org/xfce/xfce4-panel/tree/plugins/tasklist/tasklist-widget.c#n3032

Requirements for this glitch to occur when dragging a window button:

- panel placed on top
- show button labels
- any external panel plugin placed leftmost within the panel

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

Created attachment 5969
Do not use widget snapshot as tasklist draw icon

Revision history for this message
In , Hjudt-l (hjudt-l) wrote :

*** Bug 11567 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Graeme Gott (gottcode) wrote :

*** Bug 11573 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Christian Hesse (eworm) wrote :

Too bad this fix did not make it into 4.12.0...

Works perfectly for me, nevertheles... Thanks!

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

*** Bug 11897 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

*** Bug 9096 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Djfe (felix-bau) wrote :

What is the current status?

Revision history for this message
In , Christian Hesse (eworm) wrote :

Thaddaeus Tintenfisch' patch works perfectly for me.
But it is neither committed to git nor released.

Revision history for this message
In , Thaddaeus Tintenfisch (thad-fisch-deactivatedaccount) wrote :

*** Bug 12001 has been marked as a duplicate of this bug. ***

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

Pushed the patch to git master:
8dc83f5 Do not use widget snapshot as tasklist draw icon

Revision history for this message
In , step21 (step21) wrote :

On Xubuntu 15.04 with XFCE 4.12, the bug is still active.

There is now no need of the snapshot widget to reproduce the bug.
To reproduce the bug, just boot the Xubuntu ISO as a live-CD into a VirtulBox, open a Thunar window then drag it.
The Whisker button disappears...

Revision history for this message
In , Alexander Popov (schooldev3000) wrote :

Xubuntu 14.04.3 XFCE 4.10

Bug is still present but:

- Panel is placed on bottom of the screen
- No external plugins used

Revision history for this message
In , Graeme Gott (gottcode) wrote :

*** Bug 12275 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Luka (catai) wrote :

Created attachment 6606
Video of bug (theora ogg)

Mint 17.3 Xfce 4.12 Confirm bug, added details video. Please report to developers. Thanks!

Revision history for this message
Daniel Kessel (dkessel) wrote :

Still present in xenial.

tags: added: xenial
Revision history for this message
In , xyzdragon (xyzdragon) wrote :

I also have this bug on Debian testing with XFCE 4.12. I would have liked to test Tintenfisch's patch, but I can't get xfce4-whiskermenu-plugin-1.5.2 compiled, because it depends on libxfce4panel-1.0, but I can only find libxfce4panel-2.0 in my repositories. Trying to compile libxfce4panel from source also doesn't work easily, because it depends on garcon-gtk2-1 which doesn't seem to be satisfied with libgarcon-1-0-dev which is the only one I an find in my repository. I get the feeling I first would need to do a Linux from Scratch to compile this, why is that?

Revision history for this message
Nairwolf (nairwolf) wrote :

I can confirm it's still present on Xubuntu 16.04 amd64. But, the bug is different from the first screenshot from Daniel Kessel at #2.

This is what I have : https://i.imgur.com/sEC2C2l.png

Revision history for this message
Rip bLadez Ash (videxx) wrote :

Still hasn't been fixed: https://imgur.com/IUYPcnO

Revision history for this message
GVS (gvscheik1-g) wrote :

This bug is even worse on Xenial than stated above. And, on my system I believe the issue is with Whiskermenu alone and not with the panel: I.e., I have read that it only happens if Whiskermenu is in the far left of the panel etc. etc.... I have also read that any external plugin icon will do it if in the far left position. Not the case on all my XFCE systems (including other distros).

The truth is no matter where you put Whiskermenu on an XFCE 4.12 panel along with "Window Buttons" the icon will go black if the buttons are dragged. No other icon has this issue even if in the supposed offending position. Hence my opionion that this is really now a Whiskermenu issue alone.

I have tested the above assertions on Manjoro, Ubuntu, and Debian running XFCE 4.12. It is identical across distros. Again... seems like a Whiskermenu bug to me as I can not get another other plugin icon to do it on Xenial regardless of panel position.

Here is a fix. It is a bit of a kludge, but it works until they actually "fix" it.

1) Create another panel and place it to the far left of your panel with window buttons.
2) Move the Whiskermenu icon to the new panel and make the panel as short as possible using the panel's preferences.
3) Adjust the length of your main panel to account for the length of the new panel and have them meet. You may notice a seperation line... or not. It depends on your wallpaper darkness and how transparent your panels are etc..

Now you can drag Window buttons in the main panel and the tiny panel with Whiskermenu will be unaffected.

Nothing else works.

Revision history for this message
GVS (gvscheik1-g) wrote :

The above should read: "It is identical across distros. Again... seems like a Whiskermenu bug to me as I can not get another other plugin icon to do it on Xenial or other distros regardless of panel position."

For me, this issue occurs ONLY with Whiskermenu, and occurs regardless of position on a panel... including the far right of the window buttons.

Gottcode needs to look hard at this instead of sluffing it off on XFCE.

Revision history for this message
Kev Bowring (flocculant) wrote :

I've found that if you remove then re-add whisker to the panel then it's no longer affected by this.

Revision history for this message
In , Roman Grinyov (w3lifer) wrote :

Created attachment 6884
The black square in right top corner is Whisker Menu.

I have the same bug on my Xubuntu 16.04.1, xfce4-panel 4.12.0 and Whisker Menu.

Revision history for this message
In , Christian Hesse (eworm) wrote :

This has been fixed [0] and version 4.12.1 is no longer suffering this issue.

[0] https://git.xfce.org/xfce/xfce4-panel/commit/?id=8dc83f507d7340fa46c5b8927e5b320c5595fb7d

Revision history for this message
Ivan Kozik (ludios) wrote :

There is a patch available:

"This has been fixed [0] and version 4.12.1 is no longer suffering this issue.

[0] https://git.xfce.org/xfce/xfce4-panel/commit/?id=8dc83f507d7340fa46c5b8927e5b320c5595fb7d
" https://bugzilla.xfce.org/show_bug.cgi?id=10656#c17

Revision history for this message
Ivan Kozik (ludios) wrote :

I can confirm that the xfce4-panel 4.12.1-2 package in Debian 9.0 (stretch) does not have this problem. I would recommend pulling that in. There are only a few other non-translation changes since 4.12.0 and they look like bugfixes.

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

Closing as per comment 17 (which is correct).

Changed in xfce4-panel:
status: Confirmed → Fix Released
Revision history for this message
Dimitar Milkov (programings) wrote :

Are there any chance for us to have the fixed version of xfce4-panel (4.12.1) in 16.04?
It`s been almost an year since a fix was released and xfce4-panel in 16.04 is still 4.12.0.

Revision history for this message
Theo Linkspfeifer (lastonestanding) wrote :

It does not look like this will be fixed in 16.04 anymore.

Now that 18.04.1 is out, I suggest updating to the next LTS release.

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

Related blueprints

Remote bug watches

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