Closed cartisan closed 2 years ago
Description Albert crashes on minimizing. I get following log message when running albert from the terminal:
15:36:24 [warn:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/ItemViewDelegate.qml:18: TypeError: Cannot read property 'width' of null 15:36:24 [fatal:default] SQL ERROR: INSERT INTO execution (query_id, handler_id, runtime) VALUES (:query_id, :handler_id, :runtime); UNIQUE constraint failed: execution.query_id, execution.handler_id Unable to fetch row -- [(null)]
Interestingly, if I run albert with sudo privileges, the error does not appear.
Expected behavior Albert does not crash on minimizing.
Steps to reproduce
Additional information (please provide the following information):
https://github.com/albertlauncher/albert/search?q=UNIQUE+constraint+failed&type=issues
Description Albert crashes on minimizing. I get following log message when running albert from the terminal:
Interestingly, if I run albert with sudo privileges, the error does not appear.
Expected behavior Albert does not crash on minimizing.
Steps to reproduce
Additional information (please provide the following information):
Output of `albert --report `
``` core: Albert version: 0.17.6 core: Build date: Oct 29 2017 00:00:00 core: Qt version: 5.15.2 core: QT_QPA_PLATFORMTHEME: core: Binary location: /usr/bin/albert core: PWD: /home/leonid/code/prism_john core: SHELL: /bin/bash core: LANG: en_US.UTF-8 core: XDG_SESSION_TYPE: x11 core: XDG_CURRENT_DESKTOP: ubuntu:GNOME core: DESKTOP_SESSION: ubuntu core: XDG_SESSION_DESKTOP: ubuntu core: OS: Ubuntu 21.10 core: OS (type/version): ubuntu/21.10 core: Build ABI: x86_64-little_endian-lp64 core: Arch (build/current): x86_64/x86_64 core: Kernel (type/version): linux/5.13.0-52-generic ```Output of `albert` when started in a terminal (stdout/stderr)
``` 15:45:49 [info:core] Initializing application 15:45:49 [info:default] Systems icon theme is: "Yaru" 15:45:49 [info:core] Initializing mandatory paths 15:45:49 [info:core] Setup signal handlers 15:45:49 [info:core] Creating running indicator file 15:45:49 [warn:core] Application has not been terminated graciously. 15:45:49 [info:core] Initializing core components 15:45:49 [warn:default] file:///usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/MainComponent.qml:275:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(