Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwayTaskbar crashes when opening LibreOffice #58

Closed
CIAvash opened this issue Jul 19, 2021 · 1 comment · Fixed by #60
Closed

SwayTaskbar crashes when opening LibreOffice #58

CIAvash opened this issue Jul 19, 2021 · 1 comment · Fixed by #60

Comments

@CIAvash
Copy link

CIAvash commented Jul 19, 2021

Or more specifically I think the LibreOffice splash/loading screen crashes the taskbar.

Traceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/nwg_panel/main.py", line 80, in check_tree
    item.refresh(tree)
  File "/usr/lib/python3.9/site-packages/nwg_panel/modules/sway_taskbar.py", line 77, in refresh
    self.build_box()
  File "/usr/lib/python3.9/site-packages/nwg_panel/modules/sway_taskbar.py", line 68, in build_box
    win_box = WindowBox(con, self.settings, self.position, self.icons_path, floating=con in desc.floating_nodes)
  File "/usr/lib/python3.9/site-packages/nwg_panel/modules/sway_taskbar.py", line 127, in __init__
    icon_from_desktop = get_icon(name)
  File "/usr/lib/python3.9/site-packages/nwg_panel/tools.py", line 80, in get_icon
    if "GIMP" in app_name.upper():
AttributeError: 'NoneType' object has no attribute 'upper'
@nwg-piotr
Copy link
Owner

Yes, it crashes on undefined name. Thank you for reporting, I'll fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants