Open Iss-in opened 6 months ago
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?
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
Have you seen those lines?
does it means that these plugins are enabled ? because i definitely turned them off
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?
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
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
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?
File: /lib -> usr/lib yes
what exactly happens if the input is stuck? in the logs all queries finished.
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
Kooha-2024-04-22-15-54-33.webm
after it freezes, normally it resumes itself after a while
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
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
same thing in both gnome X and wayland session. in gnome wayland , i got the warning that window was not responding.
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?
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
its not completely gone, but extremely hard to reproduce now.
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
You could run it using the logging filter '*=true' to see what happens internally
actually scratch that, running with applications plugin enabled
QT_LOGGING_RULES=albert*=true albert
That's what I did , no ?
QT_LOGGING_RULES='*=true' albert
You should get an enormous load of qt logs. better quit the session fast.
delay happens around line 4682
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.
damn yes, i have done it for a few icons, adding them to default icon theme. now that i think, letme check
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
Fine. Reopen if it occurs again. hf using albert
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.
@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?
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.
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
You could fgrep you icon dirs for these words
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
can we reopen it ? its occurring frequently again @ManuelSchneid3r
Have you checked the logs? Is it the svg renderer again. Maybe we should file a Qt bug
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.
i cleared albert cache, and removed db and history file, and its smooth again, letsee if its permanent
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")
deleted '.cache/albert' folder, and 'albert.db' , 'albert.history' files from '.local/share/albert' folder
restarted albert
@LorenzoMorelli
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
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.
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?
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.
Package source
AUR
App report
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
and sometimes
when i run
albert show
manually in terminal