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

albert freezing on entering query #1388

Open
Iss-in opened this issue Apr 19, 2024 · 43 comments
Open

albert freezing on entering query #1388

Iss-in opened this issue Apr 19, 2024 · 43 comments
Assignees
Labels
Bug P3 Medium Fix, but can wait if there's more import stuff to do. C: App Issue related to the core application/library

Comments

@Iss-in
Copy link

Iss-in commented Apr 19, 2024

Package source

AUR

App report

Albert version: 0.23.0
           Build date: Mar 16 2024 14:00:29
           Qt version: 6.7.0
            Build ABI: x86_64-little_endian-lp64
   Build architecture: x86_64
     CPU architecture: x86_64
          Kernel type: linux
       Kernel version: 6.8.5-arch1-1
                   OS: Arch Linux
              OS type: arch
           OS version: unknown
        Platform name: wayland
           Style name: fusion
     Available styles: Breeze, Windows, Fusion
           Icon theme: hicolor
                 Font: Sans Serif,9,-1,5,400,0,0,0,0,0,0,0,0,0,0,1
             Language: English
               Locale: en_IN
      Binary location: /usr/bin/albert
          Working dir: /home/kushy
            Arguments: albert
                $LANG: en_IN.UTF-8
$QT_QPA_PLATFORMTHEME: qt5ct
                $PATH: /var/lib/snapd/snap/bin/:/home/kushy/.local/bin:/usr/local/bin:/home/kushy/.config/sway/scripts:/home/kushy/.scripts:/home/kushy/.go/bin:/home/kushy/.cargo/bin:/usr/lib/jvm/java-8-openjdk:/usr/lib/jvm/java-8-openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/lib/rustup/bin:/opt/android-sdk/platform-tools/:/opt/android-sdk/tools/bin/:/emulator:/opt/android-sdk/tools/:/home/kushy/.npm-packages/bin
               $SHELL: /usr/bin/zsh
    $XDG_SESSION_TYPE: wayland
 $XDG_CURRENT_DESKTOP: sway
     $DESKTOP_SESSION: 
 $XDG_SESSION_DESKTOP:

Current Behavior

albert freezes for a few seconds when entering query immediately after albert window pops up.
Issue was more severe when extensions were turned on, so i disabled all plugins except applications. reproducibility got reduced, but it still happens.
experiencing the issue on 2 different systems, arch and endeavour, same version of albert ( aur latest )

Expected Behavior

albert should not hang/freeze regardless of query

Anything else?

i could not see anything specific in logs, with or without extensions on, except for this

21:56:58 [warn:albert] Busy wait on query: #15

and sometimes

Read timed out. Albert busy?

when i run albert show manually in terminal

@ManuelSchneid3r
Copy link
Member

Please post the logs when running a new albert instance (quit albert before) from terminal using QT_LOGGING_RULES='albert.*=true' albert. What if all extensions are disabled?

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

What if all extensions are disabled?

i couldnt replicate the issue with all disabled, so likely the application plugin is the culprit

with applications plugin on, it got stuck on 2nd query when i typed random gibberish

https://gist.github.com/Iss-in/54ed7d638238a39706e131f06ab4c6ff

ist i searched for firefox, which worked, then i typed "asdas" and input got stuck

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Apr 22, 2024

Have you seen those lines?

Bildschirmfoto 2024-04-22 um 12 06 15

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

does it means that these plugins are enabled ?
image
because i definitely turned them off

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Apr 22, 2024

The logs look regular. did albert freeze while you caputred this output?

However theres one thing to note:

15:04:47 [warn:albert] No icons found for QList(xdg:firefox_work, :unkown)
15:04:47 [warn:albert] No icons found for QList(xdg:firefox_personal, :unkown)

Looks like you modified the desktop entries. Where did you put the icons?

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

The logs look regular. did albert freeze while you caputred this output?

However theres one thing to note:

15:04:47 [warn:albert] No icons found for QList(xdg:firefox_work, :unkown)
15:04:47 [warn:albert] No icons found for QList(xdg:firefox_personal, :unkown)

yes, first result was fine, on 2nd query i typed random letters and it got stuck

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

some of the entries which i made manually are in .local/share/applications
icons are in /usr/share/icons/hicolor

edit: actually seems like some of these are missing, but still that should not be the cause of this , right ?
since it wasnt the "firefox" keyword search that caused freeze

@ManuelSchneid3r
Copy link
Member

does it means that these plugins are enabled ?

it means that the plugins are scanned twice? do you have some weird links? wait arch links /usr/lib to /lib or such right?

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

File: /lib -> usr/lib
yes

@ManuelSchneid3r
Copy link
Member

what exactly happens if the input is stuck? in the logs all queries finished.

@ManuelSchneid3r
Copy link
Member

edit: actually seems like some of these are missing, but still that should not be the cause of this , right ?

no just a side note. missing icons should not affect queries

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

Kooha-2024-04-22-15-54-33.webm

after it freezes, normally it resumes itself after a while

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Apr 22, 2024

I tried it on manjaro. I cant reproduce. I also added a missing icon entry. Works as expected. Any ideas?

The above loggingrules are not correct. The dot excluded core debug messages. Try again using

QT_LOGGING_RULES=albert*=true albert

also see if it somehow depends on the platform

QT_LOGGING_RULES=albert*=true albert --platform xcb

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

16:46:33 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
16:46:33 [debg:albert.query_runtimes] │     0 ms│     0 ms│     1│ #19 's' albert
16:46:33 [debg:albert.query_runtimes] │     0 ms│     0 ms│     4│ #19 's' pluginregistry
16:46:33 [debg:albert.query_runtimes] │     0 ms│     0 ms│    66│ #19 's' applications_xdg
16:46:33 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
16:46:33 [debg:albert.query_runtimes] │     0 ms│     0 ms│    71│ #19 GLOBAL 's'
16:46:33 [debg:albert.query_runtimes] │     0 ms│ ------- │ ---- │ #19 TOTAL
16:46:43 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
16:46:43 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #20 'ss' albert
16:46:43 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
16:46:43 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
16:46:43 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
16:46:43 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
16:46:43 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #23 GLOBAL 'ssdsd'

there is absolutely nothing in logs, simply a long delay when freeze happens. i will try to see if its reproducible in gnome

@Iss-in
Copy link
Author

Iss-in commented Apr 22, 2024

same thing in both gnome X and wayland session. in gnome wayland , i got the warning that window was not responding.

@ManuelSchneid3r
Copy link
Member

I can't tell. I switched to my Linux box yesterday. Using the aur build and from source I could jot reproduce it. Have you tried to purge everything and build from scratch?

@Iss-in
Copy link
Author

Iss-in commented Apr 23, 2024

seems like it turned out to be a case of corrupted config. deleted the config folder and its working fine now. idk what happened which caused the issue on both systems

@Iss-in
Copy link
Author

Iss-in commented Apr 24, 2024

its not completely gone, but extremely hard to reproduce now.

@Iss-in
Copy link
Author

Iss-in commented Apr 24, 2024

actually scratch that, running with applications plugin enabled

QT_LOGGING_RULES=albert*=true albert

and its completely reproducible on my end

17:54:57 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:54:57 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #0 GLOBAL ''
17:54:57 [debg:albert.query_runtimes] │     0 ms│ ------- │ ---- │ #0 TOTAL
17:54:58 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│     2│ #1 'c' albert
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│     3│ #1 'c' pluginregistry
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│    68│ #1 'c' applications_xdg
17:54:58 [debg:albert.query_runtimes] │    10 ms│     0 ms│     1│ #1 'c' calculator_qalculate
17:54:58 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:54:58 [debg:albert.query_runtimes] │    11 ms│     0 ms│    74│ #1 GLOBAL 'c'
17:54:58 [debg:albert.query_runtimes] │    11 ms│ ------- │ ---- │ #1 TOTAL
17:54:58 [warn:albert] No icons found for QList(xdg:utilities-system-monitor, :unkown)
17:54:58 [warn:albert] No icons found for QList(xdg:utilities-system-monitor, :unkown)
17:54:58 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│     1│ #2 'co' albert
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #2 'co' pluginregistry
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│    33│ #2 'co' applications_xdg
17:54:58 [warn:albert] No icons found for QList(xdg:utilities-system-monitor, :unkown)
17:54:58 [debg:albert.qalculate] "co" is not a valid variable/function/unit.
17:54:58 [debg:albert.query_runtimes] │    10 ms│     0 ms│     0│ #2 'co' calculator_qalculate
17:54:58 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:54:58 [debg:albert.query_runtimes] │    10 ms│     0 ms│    34│ #2 GLOBAL 'co'
17:54:58 [debg:albert.query_runtimes] │    10 ms│ ------- │ ---- │ #2 TOTAL
17:54:58 [warn:albert] No icons found for QList(xdg:utilities-system-monitor, :unkown)
17:54:58 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #3 'cou' albert
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #3 'cou' pluginregistry
17:54:58 [debg:albert.query_runtimes] │     0 ms│     0 ms│     1│ #3 'cou' applications_xdg
17:54:58 [warn:albert] No icons found for QList(xdg:utilities-system-monitor, :unkown)
17:54:58 [debg:albert.qalculate] "cou" is not a valid variable/function/unit.
17:54:58 [debg:albert.query_runtimes] │    10 ms│     0 ms│     0│ #3 'cou' calculator_qalculate
17:54:58 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:54:58 [debg:albert.query_runtimes] │    10 ms│     0 ms│     1│ #3 GLOBAL 'cou'
17:54:58 [debg:albert.query_runtimes] │    10 ms│ ------- │ ---- │ #3 TOTAL
17:55:10 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:55:10 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:55:10 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:55:10 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:55:10 [debg:albert.query_runtimes] │ Handling│  Scoring│ Count│
17:55:10 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:55:10 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:55:10 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #5 GLOBAL 'coutn'
17:55:10 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:55:10 [debg:albert.query_runtimes] │     0 ms│ ------- │ ---- │ #5 TOTAL
17:55:10 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #7 GLOBAL 'coutnnn'
17:55:10 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:55:10 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #6 GLOBAL 'coutnn'
17:55:10 [debg:albert.query_runtimes] │     0 ms│ ------- │ ---- │ #6 TOTAL
17:55:10 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #4 GLOBAL 'cout'
17:55:10 [debg:albert.query_runtimes] │     0 ms│ ------- │ ---- │ #4 TOTAL
17:55:10 [debg:albert.query_runtimes] │     0 ms│ ------- │ ---- │ #7 TOTAL
17:55:10 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #8 'coutnnnn' albert
17:55:10 [debg:albert.query_runtimes] │     0 ms│     0 ms│     0│ #8 'coutnnnn' pluginregistry
17:55:10 [debg:albert] Clearing icon cache
17:55:10 [debg:albert.query_runtimes] │     5 ms│     0 ms│     0│ #8 'coutnnnn' applications_xdg
17:55:10 [debg:albert] Query deleted. [#0 '']
17:55:10 [debg:albert] Query deleted. [#1 'c']
17:55:10 [debg:albert] Query deleted. [#2 'co']
17:55:10 [debg:albert] Query deleted. [#3 'cou']
17:55:10 [debg:albert] Query deleted. [#4 'cout']
17:55:10 [debg:albert] Query deleted. [#5 'coutn']
17:55:10 [debg:albert] Query deleted. [#6 'coutnn']
17:55:10 [debg:albert] Query deleted. [#7 'coutnnn']
17:55:10 [warn:albert] Busy wait on query: #8
17:55:10 [debg:albert.query_runtimes] │    11 ms│     0 ms│     0│ #8 'coutnnnn' calculator_qalculate
17:55:10 [debg:albert.query_runtimes] │ Handling│  Sorting│ Count│
17:55:10 [debg:albert.query_runtimes] │    12 ms│     0 ms│     0│ #8 GLOBAL 'coutnnnn'
17:55:10 [debg:albert.query_runtimes] │    12 ms│ ------- │ ---- │ #8 TOTAL

gets stuck when i type counter as query
17:54:58 -> 17:55:10

thing to note here is that it only happens once after i start albert, not on successive retries

@ManuelSchneid3r
Copy link
Member

You could run it using the logging filter '*=true' to see what happens internally

@Iss-in
Copy link
Author

Iss-in commented Apr 24, 2024

actually scratch that, running with applications plugin enabled

QT_LOGGING_RULES=albert*=true albert

That's what I did , no ?

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Apr 24, 2024

QT_LOGGING_RULES='*=true' albert You should get an enormous load of qt logs. better quit the session fast.

@Iss-in
Copy link
Author

Iss-in commented Apr 25, 2024

http://0x0.st/XHmR.txt

delay happens around line 4682

@ManuelSchneid3r
Copy link
Member

The last messages before the lag were about the svg renderer. Maybe this is the cause. Have you put custom icons in your icon set? Qt svg does not support all fancy extensions out there and I would not be surprised if the desktop entry and icon lookup specs limit the formats to a least common denominator.

@Iss-in
Copy link
Author

Iss-in commented Apr 26, 2024

damn yes, i have done it for a few icons, adding them to default icon theme. now that i think, letme check

@Iss-in
Copy link
Author

Iss-in commented Apr 26, 2024

that was likely the issue, some icon for csgo was causing the issue, removed it, and the lag seems to be gone for now. will update incase something else happens. as of now, its not reproducible with regular usage.

thanks a lot

@ManuelSchneid3r
Copy link
Member

Fine. Reopen if it occurs again. hf using albert

@tomporter518
Copy link

I know this issue is closed, but thought I would add my experience. Starting from a 'cleaned' Albert (commit: 3122af6 and no .cache or .local files), I noticed that when typing 't' to search for and open Tweaks, Albert pauses and appears to hang. After (what seems like a very long time), the UI resumes with the first 5 't' selections presented. After that 't' works reasonably well for 'some time', but after some period of not using Albert, 't' again hangs things up. If I start selecting 't' items such that they are in my MRU/MFU history, things stay speedy. I am wondering if I have a lot of 't' items that are in some state that Albert does not like. I have not yet stumbled on other starting letters that cause this behavior.

@ManuelSchneid3r
Copy link
Member

ManuelSchneid3r commented Apr 29, 2024

@tomporter518 the env vars above help you debugging. If the query takes long the query runtimes will show it as well as the item count. If that's not the problem you could send the full log like issin did. Have you put custom icons in your icon dirs?

@tomporter518
Copy link

Thanks for the ask about custom icons. I had read through this thread and saw that but didn't immediately recall doing that. Most of the icons in .local are from Wine or Chrome, but I did have one symlinked SVG, which seems to now be present in the shared highcolor set, when it wasn't before. I have removed that and will continue to test. So far that seems to make a difference and queries return nearly immediately.

@LorenzoMorelli
Copy link

Hi, having the same problem here. Can you please share which unknown svg element gives the issue? In my case I got a lot of "clipPath". Could it be this element which makes qt freezing?

Here the full log:

17:27:11 [debg:qt.text.font.match]           found a match: score 0 best score so far ffffffff
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:11 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:21 [debg:qt.svg] Skipping unknown element "title"
17:27:21 [debg:qt.svg] Skipping unknown element "clipPath"
17:27:21 [debg:qt.svg] Skipping unknown element "RDF"
17:27:21 [debg:qt.svg] Skipping unknown element "Work"
17:27:21 [debg:qt.svg] Skipping unknown element "format"
17:27:21 [debg:qt.svg] Skipping unknown element "type"
17:27:21 [debg:qt.svg] Skipping unknown element "creator"
17:27:21 [debg:qt.svg] Skipping unknown element "Agent"
17:27:21 [debg:qt.svg] Skipping unknown element "title"
17:27:21 [debg:qt.svg] Skipping unknown element "source"
17:27:21 [debg:qt.svg] Skipping unknown element "license"
17:27:21 [debg:qt.svg] Skipping unknown element "title"
17:27:21 [debg:qt.svg] Skipping unknown element "subject"
17:27:21 [debg:qt.svg] Skipping unknown element "Bag"
17:27:21 [debg:qt.svg] Skipping unknown element "date"
17:27:21 [debg:qt.svg] Skipping unknown element "rights"
17:27:21 [debg:qt.svg] Skipping unknown element "Agent"
17:27:21 [debg:qt.svg] Skipping unknown element "title"
17:27:21 [debg:qt.svg] Skipping unknown element "publisher"
17:27:21 [debg:qt.svg] Skipping unknown element "Agent"
17:27:21 [debg:qt.svg] Skipping unknown element "title"
17:27:21 [debg:qt.svg] Skipping unknown element "identifier"
17:27:21 [debg:qt.svg] Skipping unknown element "relation"
17:27:21 [debg:qt.svg] Skipping unknown element "language"
17:27:21 [debg:qt.svg] Skipping unknown element "coverage"
17:27:21 [debg:qt.svg] Skipping unknown element "description"
17:27:21 [debg:qt.svg] Skipping unknown element "contributor"
17:27:21 [debg:qt.svg] Skipping unknown element "Agent"
17:27:21 [debg:qt.svg] Skipping unknown element "title"
17:27:21 [debg:qt.svg] Skipping unknown element "License"
17:27:21 [debg:qt.svg] Skipping unknown element "permits"
17:27:21 [debg:qt.svg] Skipping unknown element "permits"
17:27:21 [debg:qt.svg] Skipping unknown element "requires"
17:27:21 [debg:qt.svg] Skipping unknown element "requires"
17:27:21 [debg:qt.svg] Skipping unknown element "permits"
17:27:21 [debg:qt.svg] Skipping unknown element "requires"
17:27:21 [debg:qt.text.font.match] QFontDatabasePrivate::match

@ManuelSchneid3r
Copy link
Member

You could fgrep you icon dirs for these words

@Iss-in
Copy link
Author

Iss-in commented May 5, 2024

getting same error again, this time with query "hibernate" for "system" plugin
albeit this time, freeze is very small, and happens only when u just start albert, or its inactive for some time.
Kooha-2024-05-05-22-36-14.webm

all these svg errors we are getting, it seems like those are not the icon name, but rather svg file elements

https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath

and somewhy qt renderer is causing issues with it ? and in logs we are not getting which actual icon/svg these errors are from

20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "RDF"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "Work"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "format"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "type"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "title"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "path-effect"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "clipPath"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "namedview"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "grid"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "grid"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "guide"�[0m
20:32:20 �[34m[debg:qt.svg]�[0m Skipping unknown element "feBlend"�[0m

not sure why valid svgs are also getting errored out

@Iss-in
Copy link
Author

Iss-in commented May 14, 2024

can we reopen it ? its occurring frequently again @ManuelSchneid3r

@ManuelSchneid3r
Copy link
Member

Have you checked the logs? Is it the svg renderer again. Maybe we should file a Qt bug

@henrikgit
Copy link

henrikgit commented May 15, 2024

I can add that I have been experiencing the freeze / delay as well, especially when hitting the shortcut and then typing P... DF, for example.

@Iss-in
Copy link
Author

Iss-in commented May 18, 2024

i cleared albert cache, and removed db and history file, and its smooth again, letsee if its permanent

@LorenzoMorelli
Copy link

i cleared albert cache, and removed db and history fine, and its smooth again, letsee if its permanent

Can you explain how to do that? I also get albert freezing (especially when I start typing "t")

@Iss-in
Copy link
Author

Iss-in commented Jun 12, 2024

deleted '.cache/albert' folder, and 'albert.db' , 'albert.history' files from '.local/share/albert' folder
restarted albert
@LorenzoMorelli

@LorenzoMorelli
Copy link

deleted '.cache/albert' folder, and 'albert.db' , 'albert.history' files from '.local/share/albert' folder restarted albert @LorenzoMorelli

Thank you, just tried and it seems not freezing anymore. Considering that I have tried to delete all my system svg files at the beginning without any luck and by deleting these 2 files and the cache seems to have completely solved the issue, I start thinking it could not be related to system svg files.

As soon as albert starts freezing again, I would suggest to delete one by one these files so that we can identify which one actually cause the freeze

@tomporter518
Copy link

My own experiences seem to indicate the release of QT 6.7.1 has improved SVG behaviors. I no longer get 'pausing' when certain application icons would be needed, specifically the icon for Videos (i.e. Totem). I still receive many debug messages like:

07:07:45 [debg:qt.svg] Skipping unknown element "perspective"
07:07:45 [debg:qt.svg] Skipping unknown element "perspective"
07:07:45 [debg:qt.svg] Skipping unknown element "namedview"
07:07:45 [debg:qt.svg] Skipping unknown element "RDF"
07:07:45 [debg:qt.svg] Skipping unknown element "Work"
07:07:45 [debg:qt.svg] Skipping unknown element "format"
07:07:45 [debg:qt.svg] Skipping unknown element "type"
07:07:45 [debg:qt.svg] Skipping unknown element "title"
07:07:45 [debg:qt.svg] Skipping unknown element "title"

however, they don't seem to coincide with any delay in results showing. I cannot be certain that it was just 6.7.1 or perhaps some other update but I did notice improvement around that time. FWIW, I have not cleared my caches either.

@ManuelSchneid3r ManuelSchneid3r added Bug P3 Medium Fix, but can wait if there's more import stuff to do. C: App Issue related to the core application/library labels Aug 19, 2024
@ManuelSchneid3r
Copy link
Member

I just found that at least on macOS this issue is introduced by some internal KeyBoard updating. No lag on Qt 6.8. Which Qt do you guys use?

@tomporter518
Copy link

I only use Albert on Fedora, release 40 at the moment. The repos only supply Qt 6.7.2, for now. I haven't experienced any delays in results showing for a while now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug P3 Medium Fix, but can wait if there's more import stuff to do. C: App Issue related to the core application/library
Development

No branches or pull requests

5 participants