! 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 !
some Windows do not appear in the panel
Status:
RESOLVED: MOVED
Product:
Xfce4-panel
Component:
Window Buttons

Comments

Description vladimir 2018-05-12 07:50:17 CEST
Created attachment 7723 
screenshot

Mistake is happening in a random way (can week enjoy the system and not meet its,and can and for couple of hours several times its see). For example,I open one window,the second ,the third ,then close the first or the second, but the indicators of open Windows do not shift to closed... don't know how to explain it...see screenshot....

the screenshot shows-thunar was opened,it was copying files, then I closed the main window thunar ,and in its place on the panel remained void
Comment 1 Simon Steinbeiss editbugs 2018-05-26 00:36:56 CEST
Hi, I'm not sure I've seen this bug before. Is there any way you can describe how to reproduce it?
Comment 2 vladimir 2018-05-28 12:00:50 CEST
(In reply to Simon Steinbeiss from comment #1)
> Hi, I'm not sure I've seen this bug before. Is there any way you can
> describe how to reproduce it?

you need to open several applications, then close the application that opened the first or second,then within the meaning of the open application Windows should move to the left to the vacant space ,but unfortunately this does not always happen....sometimes the Windows are somewhere in the middle of the panel,and to the left of them an empty space....sometimes they move as it should, but with a strong delay....but again, I repeat-this error does not always occur,it happens in the course of using the PC I encounter it several times a day,and sometimes (for example, the last few days of this error did not see)....
Comment 3 vladimir 2018-05-29 10:01:46 CEST
today installed system, started xfce4-terminal and-it is not displayed on the panel....opened another ode copy,so the same panel is empty....closed both copies....opened anew-everything is normal...it was re-displayed on the panel....already 4 hours using the system, the bug was no more....
Comment 4 Simon Steinbeiss editbugs 2018-06-19 22:10:55 CEST
I've seen this myself now, but interestingly the empty space in the panel - where previously a window used to be - clears up after a short time and the situation resolves on its own, without further interacting with the panel.
Comment 5 vladimir 2018-06-20 03:40:42 CEST
(In reply to Simon Steinbeiss from comment #4)
> I've seen this myself now, but interestingly the empty space in the panel -
> where previously a window used to be - clears up after a short time and the
> situation resolves on its own, without further interacting with the panel.

Maybe it depends on the power of the PC, because I sometimes need to wait for 5 minutes, although in principle the PC is not quite weak ....
Comment 6 Robert 2019-07-13 03:07:32 CEST
Created attachment 8766 
Example

I've experienced this myself when opening 2 or 3 terminals, after having chrome and the pulse volume control windows open.  It happens randomly for me as well.  I have a pretty powerful desktop I built not long ago.  I would not say this is latency from a system that is slow or low on resources, but I also haven't a clue on how to reliably reproduce the issue.
Comment 7 Robert 2019-07-13 03:09:08 CEST
Xubuntu 19.04
xfce4-panel 4.13.4
Comment 8 Simon Steinbeiss editbugs 2019-07-13 23:04:05 CEST
*** Bug 14627 has been marked as a duplicate of this bug. ***
Comment 9 Simon Steinbeiss editbugs 2019-07-13 23:18:18 CEST
If any of you discover a way to consistently reproduce this problem, please let me know immediately. It has happened so rarely for me that I have a hard time investigating a fix or even testing a hunch.

I will attach a "shot in the dark" patch for those of you who experience this problem more frequently.
Comment 10 Simon Steinbeiss editbugs 2019-07-13 23:19:14 CEST
Created attachment 8769 
Shot in the dark patch
Comment 11 Robert 2019-08-29 01:30:18 CEST
Happened again with Xubuntu 19.10 "pre-beta??" and xfce4-panel 4.14.0-1.  I've not used the patch as it occurrs rarely and hard to tell when it will happen.  The issue did clear itself up after about a minute.

This time I had Chrome, code::blocks, mousepad, and pavucontrol open in that panel order.  I closed code::blocks, and the panel maintained that blank space for a short while.  All windows had been opened for quite a while ~4 hours or longer.
Comment 12 haarp 2019-09-18 21:55:49 CEST
I've been using the patch for two months and can't remember seeing this bug anymore. But it might also be due to the random nature of it, so please do not derive any conclusions yet.
Comment 13 ToZ editbugs 2019-09-23 04:48:51 CEST
This issue was affecting me as well - increasing in frequency but not reproduceable on demand. Installed the patch last week and haven't seen it happen since. Looks like you got it.
Comment 14 Git Bot editbugs 2019-09-24 00:14:09 CEST
Simon Steinbeiss referenced this bugreport in commit 51d1249cbfed20b57dc8e6e7c5e84f1df522c556

tasklist: Resize when windows get removed (Bug #14394)

https://git.xfce.org/xfce/xfce4-panel/commit?id=51d1249cbfed20b57dc8e6e7c5e84f1df522c556
Comment 15 Git Bot editbugs 2019-09-24 00:14:36 CEST
Simon Steinbeiss referenced this bugreport in commit 07f985b66c2c002aded4a33e5206955d91572080

tasklist: Resize when windows get removed (Bug #14394)

https://git.xfce.org/xfce/xfce4-panel/commit?id=07f985b66c2c002aded4a33e5206955d91572080
Comment 16 Simon Steinbeiss editbugs 2019-09-24 00:31:38 CEST
@ToZ: I share your experience so I consider it fixed.
Comment 17 Tamaranch 2019-09-27 00:07:29 CEST
Sorry guys, but it is not fixed.
I used xfce4-panel 4.14.1 on Arch Linux all the day with hope, but I encountered this bug again just now. :(
Comment 18 Simon Steinbeiss editbugs 2019-09-27 00:32:22 CEST
Ok, reopening the bugreport.
Comment 19 Simon Steinbeiss editbugs 2019-09-27 00:48:00 CEST
Are you able to reproduce the problem reliably or is it still spontaneous?
Comment 20 Tamaranch 2019-09-27 02:42:40 CEST
No, I can't reproduce. This time, it's mousepad that has disappeared, as it has already happened to me.
I also use lyx, and often lyx disappears.
But I believe that xfce4-terminal, for example, has never disappeared, although I can not be totally sure.
But some windows disappear more than others.
Comment 21 bjo 2019-10-06 09:20:35 CEST
Same on Arch and on Xubuntu 19.10, no clue why/when this issue happens.
Comment 22 yangdawei.hit 2019-10-21 04:43:09 CEST
I also came to this problem. It indeed is hard to reproduce. There, in some unknown conditions, appears a blank space before button labels.
Comment 23 Daniel Kamil Kozar 2020-01-06 20:16:00 CET
I also, very occasionally, experience this with xfce4-panel version 4.14.1 running on Arch.

In case it helps : my panel has a few launchers as well, right next to the "Window Buttons" item. When the issue occurs, I can cause the list of windows to be refreshed by hovering the mouse over a launcher. Hovering over the "Window Buttons" element does not seem to do anything.

Unfortunately, this happens very randomly, and I haven't been able to reproduce this intentionally. To be honest, I hardly even notice this anymore unless I actually expect a window bar to appear in the panel.
Comment 24 Tamaranch 2020-01-06 21:44:48 CET
For my part, I confirm what I said above: lyx is a software with which this issue often comes up, almost systematically.
There seems to be something special with lyx, as shown by its particularly poor integration into the desktop (copy-paste with middle click doesn't always work, focus issues, etc.)
Comment 25 Simon Steinbeiss editbugs 2020-01-07 23:11:51 CET
I have installed lyx since it was mentioned by more than one person but I couldn't reproduce the problem when opening and closing it for several minutes...

Any specific steps you're following to reproduce this with lyx?
Comment 26 Tamaranch 2020-01-08 00:13:52 CET
No, except that I always open lyx by double-clicking on an existing file in the desktop, never from the applications menu or a terminal.
And in my typical use case, these applications are opened before I use lyx: firefox, thunderbird, xfce4-terminal, and also very often thunar and mousepad.
I can also mention that I pass from a window to another sometimes with the mouse (by clicking on the window or on its icon in the taskbar), sometimes with alt+tab.
Comment 27 Bob Hill 2020-01-23 01:03:47 CET
Regarding Daniel Kamil Kozar's comment 23, I can also confirm that the problems described in this bug and its duplicate bug 14627 (and also bug 14854?) can be rectified by hovering the mouse over a launcher in the panel, without depressing any mouse buttons: any erroneously missing window-buttons are restored, and any superfluous blank window-button spaces (left over from previously closed windows) are eliminated.

(For testing purposes I even set up a completely empty launcher (which therefore does not even show a tooltip when hovering the mouse over it), fiddled around opening and closing windows like crazy until something went wrong with "Window Buttons", and then carefully hovered the mouse over the empty launcher in the panel without depressing any mouse buttons, and even that was sufficient to rectify "Window Buttons".) 

This raises three questions:

1. What code is executed when the user simply hovers the mouse over a launcher (even an empty one without a tooltip), without depressing any mouse buttons?

2. How might that executed code rectify the problems described in these bugs? (The code is definitely not secretly invoking "xfce4-panel -r", because that causes the entire panel to disappear briefly and then be completely recreated, whereas hovering the mouse over a launcher in the panel does not cause the panel to disappear at all, but just rectifies "Window Buttons" seemingly instantaneously.)

3. Most importantly, do the answers to questions 1 and 2 shed any light on what might be causing these problems in the first place?
Comment 28 Tamaranch 2020-01-23 02:02:38 CET
An other way to rectify this bug without using xfce4-panel -r, is to right-click on the panel, and go to dashboard -> settings.
When the settings window appears, "any erroneously missing window-buttons are restored, and any superfluous blank window-button spaces (left over from previously closed windows) are eliminated", like you said, Bob Hill.
So the same three questions could be asked in this case.
Comment 29 haarp 2020-01-23 10:17:32 CET
I just had this happen to me too. So I can confirm that the bug is not completely fixed yet. However, it's much rarer than it used to be.

It's sometimes triggered right after login or when restarting the panel via xfce4-panel -r, especially when a dozen windows are open across multiple workspaces. So that might be helpful when trying to reproduce.
Comment 30 Bob Hill 2020-02-23 14:19:05 CET
Might it be possible for someone familiar with the source code in xfce4-panel (and also in libwnck3?) to please:
either: investigate the three questions posed at the end of comment 27,
or: indicate why those three questions are not worthy of investigation?
Many thanks in advance for any feedback!
Comment 31 Tamaranch 2020-04-24 17:19:04 CEST
I wanted to investigate this question somewhat, for instance by disabling plugins tooltips (with reference to comment 27), but I wasn't able to reproduce the bug with xfce4-panel compiled from master.
Although this bug is not easily reproducible, I feel like it has been fixed by some commit between https://git.xfce.org/xfce/xfce4-panel/commit?id=51d1249cbfed20b57dc8e6e7c5e84f1df522c556 and https://git.xfce.org/xfce/xfce4-panel/commit/?id=de6b062f9dbc441b8c10531797ee5ce5aa92b792

Does anyone see what modification(s) could have fix this?
So that I could try to compile from another point and see if I can reproduce the bug…
Comment 32 Tamaranch 2020-04-25 15:56:15 CEST
Forget that: my feeling was wrong, the bug has not disappeared from master.
I just reproduced it with lyx, as said in my previous comments.
Comment 33 Bob Hill 2020-04-26 10:57:57 CEST
FWIW, I recently upgraded libwnck3 (which supposedly may play a role in this bug) from 3.32.0 to 3.36.0 (xfce4-panel unchanged at 4.14.3), and the problems described in this bug still occur.
Comment 34 rdelerue 2020-05-14 01:42:31 CEST
I can confirm this bug too. Also, I noticed that xfce4-panel version up to (and including) 4.12.2 (GTK2 build) doesn't have this bug, but after this version, including current one, it's there. So maybe, just maybe, the bug is related to GTK3.
Comment 35 Tamaranch 2020-05-17 02:05:11 CEST
Created attachment 9873 
0001-Plugin-effect.patch

I don't know it this may help, but I isolated the lines implicated in the "bug fix" evoked in #c23:
>this bug and its duplicate bug 14627 (and also bug 14854?) can be rectified by
>hovering the mouse over a launcher in the panel, without depressing any mouse
>buttons: any erroneously missing window-buttons are restored, and any
>superfluous blank window-button spaces (left over from previously closed
>windows) are eliminated.
If one of the two lines (or both) commented in the diff is uncommented, the bug disappears when hovering the mouse over a launcher.
If both lines are commented, it doesn't.
Comment 36 Bob Hill 2020-05-24 11:46:16 CEST
FWIW, I recently upgraded xfce4-panel from 4.14.3 to 4.14.4, and the problems described in this bug still occur.
Comment 37 Git Bot editbugs 2020-05-28 02:05:56 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/188.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #14394

Reported by:
vladimir
Reported on: 2018-05-12
Last modified on: 2020-05-28
Duplicates (1):
  • 14627 Panel window buttons stop updating

People

Assignee:
Nick Schermer
CC List:
11 users

Version

Version:
4.13.3

Attachments

screenshot (355.86 KB, image/png)
2018-05-12 07:50 CEST , vladimir
no flags
Example (8.85 KB, image/png)
2019-07-13 03:07 CEST , Robert
no flags
Shot in the dark patch (780 bytes, patch)
2019-07-13 23:19 CEST , Simon Steinbeiss
no flags
0001-Plugin-effect.patch (1.54 KB, patch)
2020-05-17 02:05 CEST , Tamaranch
no flags

Additional information