Bug 425452

Summary: Icon not shown during startup
Product: [Plasma] plasmashell Reporter: Puspam Adak <puspam12345678>
Component: System Tray widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: jgrulich, nate
Priority: NOR    
Version First Reported In: 5.18.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Practical demo

Description Puspam Adak 2020-08-17 10:19:10 UTC
SUMMARY
If a modem is configured to automatically connect to the network at startup, no icon is shown on the panel for the nm-applet, only a gap is present in place of the icon, and on clicking on that gap the popup is shown as intended.

If I disable or restart the modem, then the appropriate icon is displayed. Just no icon is displayed if the modem is already active at startup.

STEPS TO REPRODUCE
1. Connect the PC to the internet.
2. Start up Plasma.
3. Notice that there is no icon at the place where the nm-applet should be displayed, instead, a gap is there.

EXPECTED RESULT
The icon should be visible during startup.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Comment 1 Puspam Adak 2020-08-17 10:31:26 UTC
Created attachment 130931 [details]
Practical demo
Comment 2 Jan Grulich 2020-08-23 13:02:12 UTC
Is this default Breeze plasma style? It looks it is a different style and that might be reason why the icon is missing.
Comment 3 Nate Graham 2020-08-23 15:47:08 UTC
Actually I seem to recall that was an issue in the system tray model itself which was fixed in Plasma 5.19. Unfortunately it could not be backported to 5.18 because the changes were too extensive.
Comment 4 Puspam Adak 2020-08-24 08:08:37 UTC
(In reply to Jan Grulich from comment #2)
> Is this default Breeze plasma style? It looks it is a different style and
> that might be reason why the icon is missing.

You are right, it is not the Breeze theme, but a different one. But, with breeze theme also, the same issue is there.