Skip to content

Noctalia crashes if widget set to external monitor and external monitor is unplugged #1141

@fishman

Description

@fishman

Description

Noctalia crashes if widget set to external monitor and external monitor is unplugged

Steps to Reproduce

  1. Add mediamini widget to external output
  2. Unplug external monitor
  3. Noctalia crashes

Expected Behavior

Explain what you expected to happen.

Screenshots

Add screenshots if applicable.

Environment

  • Distro: CachyOS
  • Compositor: Niri
  • Noctalia-shell Version: 3.7.2

Additional Context

Dec 24 01:50:02  qs[3481790]:   WARN scene: @Modules/Bar/Widgets/MediaMini.qml[70:-1]: TypeError: Cannot read property 'name' of > null
Dec 24 01:50:03  systemd-coredump[3483895]: [🡕] Process 3481790 (qs) of user 1000 dumped core.
                                                     
                                                     Stack trace of thread 3481790:
                                                     #0  0x00007f0779944ce4 wl_proxy_get_listener (libwayland-client.so.0 + 0x4ce4)
                                                     #1  0x00007f0778d98e71 n/a (libQt6WaylandClient.so.6 + 0xa4e71)
                                                     #2  0x00007f07798d243e n/a (libffi.so.8 + 0x843e)
                                                     #3  0x00007f07798cea5d n/a (libffi.so.8 + 0x4a5d)
                                                     #4  0x00007f07798d17ce ffi_call (libffi.so.8 + 0x77ce)
                                                     #5  0x00007f0779944519 n/a (libwayland-client.so.0 + 0x4519)
                                                     #6  0x00007f0779945429 n/a (libwayland-client.so.0 + 0x5429)
                                                     #7  0x00007f077994580b wl_display_dispatch_queue_pending (libwayland-client.so.0 + 0x>
                                                     #8  0x00007f0778d60736 _ZN15QtWaylandClient15QWaylandDisplay13flushRequestsEv (libQt6>
                                                     #9  0x00007f07769f1ab8 n/a (libQt6Core.so.6 + 0x1f1ab8)
                                                     #10 0x00007f0776ca34d4 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop>
                                                     #11 0x00007f077698d706 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6C>
                                                     #12 0x00007f0776983dd9 _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x183dd9)
                                                     #13 0x00005619a62e2016 n/a (/usr/bin/quickshell + 0xb2016)
                                                     #14 0x00005619a62d40a0 n/a (/usr/bin/quickshell + 0xa40a0)
                                                     #15 0x00005619a62d7f2b n/a (/usr/bin/quickshell + 0xa7f2b)
                                                     #16 0x00005619a62c7879 n/a (/usr/bin/quickshell + 0x97879)
                                                     #17 0x00007f0776027b0b n/a (libc.so.6 + 0x27b0b)
                                                     #18 0x00007f0776027bbb __libc_start_main (libc.so.6 + 0x27bbb)
                                                     #19 0x00005619a62c9c45 n/a (/usr/bin/quickshell + 0x99c45)
                                                     
                                                     Stack trace of thread 3481830:
                                                     #0  0x00007f07760b2e62 n/a (libc.so.6 + 0xb2e62)
                                                     #1  0x00007f07760a64df n/a (libc.so.6 + 0xa64df)
                                                     #2  0x00007f0776133a0a __poll (libc.so.6 + 0x133a0a)
                                                     #3  0x00007f0778d60408 n/a (libQt6WaylandClient.so.6 + 0x6c408)
                                                     #4  0x00007f0776b63b3e n/a (libQt6Core.so.6 + 0x363b3e)
                                                     #5  0x00007f07760aa4f8 n/a (libc.so.6 + 0xaa4f8)
                                                     #6  0x00007f077614131c n/a (libc.so.6 + 0x14131c)
                                                     
                                                     Stack trace of thread 3482015:
                                                     #0  0x00007f07760b2e62 n/a (libc.so.6 + 0xb2e62)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions