On some Linux distributions, no icon appear in the taskbar.
This is a common bug in many electron based applications.
When the application is launch, icon must appear in task bar.
When the application is launch, icon doesn't appear in task bar.

Easy to fix, just add a line into index.js
From: electron-builder#2269
Application standard use.
As suggested in https://github.com/laurent22/joplin/issues/86#issuecomment-376811132, adding StartupWMClass=Franz to the generated .desktop file solves this issue.
Today evening (CET) electron-builder 20.26.0 will be released — StartupWMClass will be added correctly (thanks to @StefanTT). So, you can just update electron-builder version to upcoming 20.26.0 and this issue will be fixed.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Today evening (CET) electron-builder 20.26.0 will be released —
StartupWMClasswill be added correctly (thanks to @StefanTT). So, you can just update electron-builder version to upcoming 20.26.0 and this issue will be fixed.