Bug 31002 - Application icons on LXDE Panel (lxpanel) window tabs appear then disappear
Summary: Application icons on LXDE Panel (lxpanel) window tabs appear then disappear
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Nicolas Salguero
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-22 02:56 CEST by Edward
Modified: 2023-02-02 13:57 CET (History)
4 users (show)

See Also:
Source RPM: lxpanel-0.10.1-14.mga9.src.rpm
CVE:
Status comment:


Attachments
LXDE screen showing the application icons in the panel's window tabs. (432.36 KB, image/png)
2022-10-22 02:57 CEST, Edward
Details
LXDE screen showing the panel window tabs after application icons disappeared. (428.77 KB, image/png)
2022-10-22 02:58 CEST, Edward
Details
LXDE panel showing some icons appearing correctly and others not appearing at all (9.98 KB, image/png)
2022-10-23 04:11 CEST, Edward
Details
Missing window tab icons then appeared after exiting Claws Mail (10.98 KB, image/png)
2022-10-23 04:15 CEST, Edward
Details
LXDE desktop after panel disappeared (468.27 KB, image/png)
2022-10-24 01:58 CEST, Edward
Details

Description Edward 2022-10-22 02:56:46 CEST
Description of problem:

LXDE desktop installed in a VirtualBox, Cauldron. lxpanel was recently updated (bug 30574) and although that bug resolved the issue listed in that bug report, the application icons in the window tabs appearing in the panel, now will appear, then disappear.

Version-Release number of selected component (if applicable):

0.10.0-11

How reproducible:

Launch LXDE desktop in Cauldron, normal usage, application icons will appear correctly in the panel window tabs, then will disappear.


Additional info:

Not known if this is related to bug 30574. Screenshots are attached.
Comment 1 Edward 2022-10-22 02:57:36 CEST
Created attachment 13434 [details]
LXDE screen showing the application icons in the panel's window tabs.
Comment 2 Edward 2022-10-22 02:58:23 CEST
Created attachment 13435 [details]
LXDE screen showing the panel window tabs after application icons disappeared.
Comment 3 Lewis Smith 2022-10-22 20:39:51 CEST
Thank you for the report.

I am running a Cauldron system, LXDE, same version of:
 lxpanel-0.10.1-11.mga9
and have not seen this problem.
Are you able to say:
- when it started happening, roughly.
- how long is it before the taskbar window tabs lose their icons?

Can you also say whether your system was a virgin Cauldron installation (netinstall, for example); or like mine, an upgrade from Mageia 8? It seems this can make a difference.

CC: (none) => lewyssmith
Status: NEW => UNCONFIRMED
Ever confirmed: 1 => 0

Comment 4 Edward 2022-10-22 22:35:15 CEST
Hi Lewis,

The install was Mageia 8 using the Classic installer, then upgraded to Cauldron.

I first noticed this roughly 10 minutes after I started using it, under Cauldron. The icons just disappeared.

As to how long it is before the tabs lose the icons, it varies. It can be 10 minutes, it could be longer.
Comment 5 Edward 2022-10-23 01:09:44 CEST
Lost the icons again.

Also, the icons on the right side of the panel, will flash about every 8-10 seconds. May be related.

I will install Mageia into another VirtualBox and leave it on Mageia 8, to compare.
Comment 6 Edward 2022-10-23 01:10:16 CEST
When I lost the icons just now, it was within the first few minutes of booting into it.
Comment 7 Edward 2022-10-23 03:12:17 CEST
I've been running Mageia 8 LXDE in a VirtualBox for about 45 minutes now. There are no issues with lxpanel or the icons, they remain in the window tabs and the icons on the right side are not flashing every 10 seconds.

So this is definitely on the Cauldron side.

For Nico: Is it possible that LXDE in Cauldron may have been built with GTK 3? I think GTK 3 was mentioned in a previous LXDE bug report.
Comment 8 Edward 2022-10-23 04:11:04 CEST
Just booted LXDE Cauldron and launched Firefox. The icon did not appear at all in the window tab, right from the point where the tab appears after launching Firefox. Same with Thunderbird.

I am attaching a new screenshot, as this is occurring with some icons, not all of them. In the screenshot, the icons for LXTerminal, Chromiuim and Claws Mail appear as they should. The icons for Firefox, Thunderbird and Abiword, do not.
Comment 9 Edward 2022-10-23 04:11:45 CEST
Created attachment 13440 [details]
LXDE panel showing some icons appearing correctly and others not appearing at all
Comment 10 Edward 2022-10-23 04:14:26 CEST
When I just exited Claws Mail, the entire panel flashed/refreshed and the Firefox, Thunderbird and Abiword icons then appeared in their respective window tabs. Additional screenshot attached.
Comment 11 Edward 2022-10-23 04:15:03 CEST
Created attachment 13441 [details]
Missing window tab icons then appeared after exiting Claws Mail
Comment 12 Edward 2022-10-23 12:26:44 CEST
With both Firefox and Thunderbird opened and the window tabs are not showing the icons. Going into the Panel Settings and clicking Close, will restore the icons in the window tabs.
Comment 13 Edward 2022-10-23 12:41:19 CEST
(In reply to Edward from comment #12)
> With both Firefox and Thunderbird opened and the window tabs are not showing
> the icons. Going into the Panel Settings and clicking Close, will restore
> the icons in the window tabs.

And after a while, the icons disappear again, but this time, going into and exiting Panel Settings, did not restore the icons.
Comment 14 Lewis Smith 2022-10-23 20:54:01 CEST
> The install was Mageia 8 using the Classic installer,
> then upgraded to Cauldron
This is the reverse of recent bugs in this area which do not show in M8 upgraded Cauldron systems, but do on virgin ones.

Asking QA to look out for this when testing the new M9alpha ISOs.
It should be easy to spot if endemic.
@Dave: can you post this on QA-discuss.

CC: (none) => davidwhodgins, westel

Comment 15 Edward 2022-10-24 01:39:12 CEST
Lewis,

I believe I found out *where* the problem exists. It is in the LXDE Panel Preferences/Icon Size.

Using the Firefox window tab as an example, when I just launched Firefox, there is no icon in the tab. The current Panel Height is 39 pixels, the Icon Size is (currently) 36 pixels. If I increase the Icon Size to 37, then the Firefox Icon appears. 

Then, I launched Thunderbird, its window tab also does not display the icon. Increased the Icon size up to 38, the Thunderbird icon appears.

Closed Thunderbird and relaunched it. No icon. Increased the Icon Size up to 39, the icon appears.

I also increased the Panel Height gradually up to 44 pixels and it had no affect on the icons. If an icon was missing, it remained missing until the Icon Size was increased.
Comment 16 Edward 2022-10-24 01:53:58 CEST
It's definitely the lxpanel package.

I changed the panel background to the opacity setting, which provided for a 100% transparent panel. 

Good news: The icons in the window tabs appeared.

Bad news: As I was closing some of the windows (specifically LXTerminal and PCManFM), the panel disappeared briefly, reappeared, then disappeared *completely*. Screenshot is attached, showing the LXDE desktop without the panel.
Comment 17 Edward 2022-10-24 01:58:14 CEST
Created attachment 13442 [details]
LXDE desktop after panel disappeared

LXDE desktop after panel disappeared, while closing some of the windows.
Comment 18 Edward 2022-10-24 22:23:21 CEST
I've lost the panel twice already today, just by closing window tabs.

At https://forum.lxde.org/viewtopic.php?t=31164 (from 2011), there is a command 'lxpanelctl restart' that should restart the panel, but it's not restarting the panel.
Comment 19 Edward 2022-10-24 22:33:16 CEST
~]$ ldd /bin/lxpanel | grep gtk
	libfm-gtk3.so.4 => /lib64/libfm-gtk3.so.4 (0x00007f76b82a6000)
	libgtk-3.so.0 => /lib64/libgtk-3.so.0 (0x00007f76b7800000)
Comment 20 Edward 2022-10-24 22:43:23 CEST
Comment 19 is from Mageia Cauldron.

This is from Mageia 8.

~]$ ldd /bin/lxpanel | grep gtk
	libfm-gtk.so.4 => /lib64/libfm-gtk.so.4 (0x00007f9552856000)
	libgtk-x11-2.0.so.0 => /lib64/libgtk-x11-2.0.so.0 (0x00007f955236e000)

GTK2 vs GTK3?
Comment 21 Ben McMonagle 2022-10-25 02:46:01 CEST
New LXDE install from alpha1 x86_64.iso

panel is working ok here except for a *flicker* (refresh?) every ~10sec. seems to only affect wifi icon
Comment 22 Edward 2022-10-25 03:11:57 CEST
(In reply to Ben McMonagle from comment #21)
> New LXDE install from alpha1 x86_64.iso
> 
> panel is working ok here except for a *flicker* (refresh?) every ~10sec.
> seems to only affect wifi icon

A new lxpanel package was recently put in the Cauldron repositories from bug 30574.
Comment 23 Lewis Smith 2022-10-26 11:22:10 CEST
...lxpanel-0.10.1-11.mga9

Can you say what version you have?
Comment 24 Edward 2022-10-26 15:02:45 CEST
(In reply to Lewis Smith from comment #23)
> ...lxpanel-0.10.1-11.mga9
> 
> Can you say what version you have?

lxpanel is 0.10.1-11.mga9, the same version referenced in bug 30574.
Comment 25 Edward 2022-10-26 15:04:31 CEST
(In reply to Ben McMonagle from comment #21)
> New LXDE install from alpha1 x86_64.iso
> 
> panel is working ok here except for a *flicker* (refresh?) every ~10sec.
> seems to only affect wifi icon

I'm seeing the flicker as well.
Comment 26 Edward 2022-10-26 15:17:55 CEST
(In reply to Ben McMonagle from comment #21)
> New LXDE install from alpha1 x86_64.iso
> 
> panel is working ok here except for a *flicker* (refresh?) every ~10sec.
> seems to only affect wifi icon

Ben,

The flicker is from Bug 30631. The panel refreshes every 10 seconds to remove the residual tooltip graphics I reported.

Whether it's related to this issue, I don't know.
Comment 27 Lewis Smith 2022-10-27 12:11:10 CEST
I will go back to LXDE to see what is happening (no problems at all previously), but it looks as if your problem really is just yours for the moment.
It might be a graphics affair. In case, please post the O/P of:
 $ inxi -Gxx
for the record.
You wondered whether the problem is due to GTK2->3. Possible, but it would probably manifest itself elsewhere if so.
Comment 28 Edward 2022-10-27 12:26:30 CEST
~]$ inxi -Gxx
Graphics:
  Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.20.0.0 ports:
    active: Virtual-1 empty: Virtual-2, Virtual-3, Virtual-4, Virtual-5,
    Virtual-6, Virtual-7, Virtual-8 bus-ID: 00:02.0 chip-ID: 15ad:0405
  Display: x11 server: X.org v: 1.21.1.4 with: Xwayland v: 22.1.3 driver:
    X: loaded: v4l,vmware gpu: vmwgfx display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1680x947 s-dpi: 96
  Monitor-1: Virtual-1 mapped: Virtual1 res: 1680x947 size: N/A
  OpenGL: renderer: llvmpipe (LLVM 15.0.0 128 bits) v: 4.5 Mesa 22.2.2
    direct render: Yes
Comment 29 Lewis Smith 2022-10-31 21:00:15 CET
Edward, I have only just noticed that this is happening in a virtual machine: VMware it would appear from above, although you cited VirtualBox initially.

We others are running real systems - without seeing your problem.

Could this be the key?
Comment 30 Edward 2022-10-31 21:34:25 CET
I installed LXDE mga8 -> Cauldron on another desktop as a test and the icons disappeared on that installation as well. 

Comment 19 shows the Cauldron lxpanel was compiled with GTK3, comment 20 for the mga8 lxpanel shows GTK2.

Both desktops otherwise have AMD Radeon graphics. The desktop with VBox has an on-board GPU, the other desktop has a PCI-E video card.
Lewis Smith 2022-11-02 09:59:42 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=30574

Comment 31 Lewis Smith 2022-11-02 11:26:36 CET
LXpanel is definitely not currently in a happy state for Cauldron/M9.
The problem with this particular bug is that only you see it.

> LXDE desktop installed in a VirtualBox, Cauldron
> The install was Mageia 8 using the Classic installer, upgraded to Cauldron
> I installed LXDE mga8 -> Cauldron on another desktop as a test
Reviewing all the posts here, it looks as if the Cauldron system(s) showing the fault were upgrades from Mageia 8. Have you yet tested a clean Mageia 9 installation (NetInstall or Alpha ISO), either real or in VB (that did not seem to make any difference)?
Please do, if possible; it matters for seeing whether the problem comes from upgrading, or is inherent in Cauldron/M9.
You have been good at experimenting.

Given your discovery (comment 15) that changing the icon size brought back missing icons on the taskbar tabs, I have explicitly played with this (without the reported fault) with no significant repercussion.
But it could be a clue to the cause.

I agree that the change GTK2-3 comment 30 is significant. Could the fault lie there?

I cannot imagine what NicolasS might make of this, but postpone assigning this to him until you can test with a virgin M9 system.
Comment 32 Edward 2022-11-02 14:48:36 CET
I am not in a position to install M9 from scratch.
Comment 33 Lewis Smith 2022-11-02 21:33:43 CET
This is arkward, because nobody else sees this fault whether from clean M9 install or upgrade from M8.
CC'ing NicolasS so he knows about it, but leaving it to rest with Bugsquad until something new turns up.

CC: (none) => nicolas.salguero

Comment 34 Nicolas Salguero 2023-01-27 11:49:49 CET
Hi,

I confirm the bug on real hardware (Dell Latitude 5400) but, for the moment, I cannot find a reason, hence a solution, for that bug.

When the bug appears, running the command "lxpanelctl restart" seems to be a workaround.

Best regards,

Nico.

Ever confirmed: 0 => 1
Source RPM: lxpanel-0.10.1-11.mga9.src.rpm => lxpanel-0.10.1-14.mga9.src.rpm
Assignee: bugsquad => nicolas.salguero
Status: UNCONFIRMED => ASSIGNED

Comment 35 Nicolas Salguero 2023-02-02 13:57:20 CET
Hi,

By looking carefully at the code, I found two issues that cause that bug.

lxpanel-0.10.1-15.mga9 contains a patch that solves those two problems.  The only minor issue resulting from my patch is that, sometimes, the icon can loose its alpha transparency.

Best regards,

Nico.

Status: ASSIGNED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.