! 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 !
Panel window buttons stop updating
Status:
RESOLVED: DUPLICATE
Product:
Xfce4-panel
Component:
Window Buttons

Comments

Description haarp 2018-08-23 15:39:25 CEST
Created attachment 7901 
panel settings

Under certain unknown circumstances, the panel's window buttons to stop updating properly. When this happens:

- Previously opened windows are still displayed, their buttons work correctly, even right-click menus work
- Newly opened windows are not shown at all
- Closed windows disappear, but will leave an empty space where the button used to be

Under equally mysterious circumstances, the panel usually starts working again after a while.

I have yet to determine which triggers bug/unbug the panel. I suspect that it has to do with changing monitor layouts and adding/removing monitors - although the bug does not trigger instantly after doing so.
Comment 1 Andre Miranda editbugs 2018-08-23 18:15:11 CEST
Maybe related to bugs #14242, #12463, #10725.
Start panel from terminal or look in .xsession-errors/xorg-session.log for error messages.
Comment 2 haarp 2018-09-25 00:55:14 CEST
Thanks, Andrew. I managed to trigger this bug again today. It's not related to having multiple monitors, it happened after login with only the main monitor active.

The only usual log entries I see are:

(xfce4-panel:21234): Gtk-CRITICAL **: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
(wrapper-2.0:21239): Gtk-CRITICAL **: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
(xfce4-panel:21234): xfce4-panel-CRITICAL **: panel-window.c:3073 (panel_window_thaw_autohide): expression 'window->autohide_block > 0' failed
Comment 3 Simon Steinbeiss editbugs 2018-11-18 23:04:00 CET
The panel heavily relies on libwnck for this and the library is not very actively maintained upstream nowadays, so I sort of suspect that the root cause may lie there.

I myself have seen this issue a few times over the last year, but not very often and definitely found no way of reproducing it.
Comment 4 timppis 2019-03-22 05:09:36 CET
This happens basically daily for me. I can recognize all of those symptons and in addition this weirdness:

- If I have multiple workspaces with windows on them open and I change Window Buttons > "Show windows from all workspaces", some of the windows on the panel's Window Buttons list get on top of the existing ones (looks like a graphical glitch)
- If Window Buttons > Sorting order is set to "None, allow drag-and-drop", the dragging sometimes does not *visually* work - the window position is changed but only after the panel refreshes itself

Hard to reproduce. Quite often it seems to be triggered when a new window is spawned from an already existing window (e.g. detaching a tab from a terminal window or Chromium browser).

I have a dual monitor setup too.

> Under equally mysterious circumstances, the panel usually starts working again after a while.

One immediate solution I've found is to change workspace back and forth. Then the panel refreshes and shows everything correctly right away.
Comment 5 Andre Miranda editbugs 2019-03-26 03:40:02 CET
A similar issue happened to me last week with CS:GO when I tried to launch it twice, and today it happened with IntelliJ, I don't know why it opened three windows, one of them was "broken", it rendered gibberish. In both cases the zombie windows also appeared on Xfwm4's tabwin (alt+tab), perhaps it may be a Xorg server bug.
Comment 6 Theo Linkspfeifer editbugs 2019-04-20 00:58:26 CEST
*** Bug 14854 has been marked as a duplicate of this bug. ***
Comment 7 Todd 2019-04-20 01:17:16 CEST
Any sign of a fix?

I have a Fedora build to do shortly and I can not let this bug loose on the unsuspecting public, especially after talking Linux up the way I do.

It is Fedora 28 (nearing end of life) and Xfce 4.12 or Mate.  And I really adore Xfce!
Comment 8 Simon Steinbeiss editbugs 2019-04-22 00:37:23 CEST
@Todd: I wouldn't say that I know how to fix the bug, but I can investigate.
Also, as I mentioned earlier, libwnck isn't well-maintained anymore. So in the end the fix may not be under our direct control.
Comment 9 Todd 2019-04-22 03:30:58 CEST
Hi Simon,

Thank you.  Much appreciated!

I think there may be a hint as to what is causing this.  "Time" corrects the problem.

Also, is there some "refresh" command I an manually run to see if the problem clears up.

If "libwnck" is the issue, it must be driving everyone else nuts that uses this gnome utility.  If we can isolate it down to libwnck, then it would be a good start to substituting something else that is maintained. 

 I am hoping it is something under your control.  This started as of 4.13 and was not an issue under 4.12.

-T
Comment 10 Simon Steinbeiss editbugs 2019-04-26 22:41:17 CEST
You can manually "fix" it by running "xfce4-panel -r". That reloads the whole panel and consequently also refreshes the tasklist.
Comment 11 Andre Miranda editbugs 2019-04-29 18:31:02 CEST
Possibly related to Bug #15318.
Comment 12 Todd 2019-05-04 05:57:21 CEST
Just now a bunch of programs were missing from Panel 0.  `xfce4-panel -r` fixed it.
Comment 13 Simon Steinbeiss editbugs 2019-05-04 22:29:41 CEST
@Todd: Have you been able to test with the fix in Xfwm4?
Comment 14 Todd 2019-05-05 07:09:41 CEST
Panel 0 was completely missing this morning's boot and it fix that as well.

I do not understand what you mean by Xfwm4?
Comment 15 Simon Steinbeiss editbugs 2019-05-10 21:59:41 CEST
@Todd: Please continue reading here: https://bugzilla.xfce.org/show_bug.cgi?id=15318
Comment 16 Todd 2019-05-10 22:08:49 CEST
Yippee!!!
Comment 17 Vyacheslav Verkhovin 2019-05-20 06:50:53 CEST
If panel window stop updating properly, next trick helps me: hover mouse cursor over widget "Show Desktop" (it should be located on the same panel).
Xfce 4.12 (Ubuntu 19.04 x64)
Comment 18 Robert 2019-07-13 03:15:10 CEST
I believe this is the same issue as Bug #14394
Comment 19 Robert 2019-07-13 03:15:54 CEST
Created attachment 8767 
Example
Comment 20 Simon Steinbeiss editbugs 2019-07-13 23:04:05 CEST

*** This bug has been marked as a duplicate of bug 14394 ***
Comment 21 Simon Steinbeiss editbugs 2019-07-13 23:04:38 CEST
As Robert correctly pointed out, this bug had been reported before. To avoid duplicate conversations I decided to close the younger bug report.

Bug #14627

Reported by:
haarp
Reported on: 2018-08-23
Last modified on: 2020-01-23

People

Assignee:
Nick Schermer
CC List:
9 users

Version

Version:
4.13.3

Attachments

panel settings (72.32 KB, image/png)
2018-08-23 15:39 CEST , haarp
no flags
Example (8.85 KB, image/png)
2019-07-13 03:15 CEST , Robert
no flags

Additional information