Ueli: App icon doesn't work since 8.1.2

Created on 3 Oct 2019  路  32Comments  路  Source: oliverschwendener/ueli

image

bug

All 32 comments

Thanks for the report! Will check this asap!

Going back to 7.2.0 solves the problem. But after I update back to 8.1.3, the problem still persists. Hope this help 馃様

Is there something in the debug log?

This is how you open the log:

image

I will check it and post it here when I get home.

debug.log
Here it is.

What happens if you clear all caches and then refresh the indexes?

image

image

The bug is still here after I tried clearing the caches and refreshing the indexes :(

For me it works fine. Can you show me the settings of the application search plugin?

You probably disabled the option "Use native icons"

image

I got this error when I tried turning on "Use native icon"
{ "level": "error", "name": "PS_CMD_FAIL_ERROR", "service": "user-service", "timestamp": "2019-10-03T16:06:52.914Z" }

What happens if you reset the application search settings to default?

image

And does this issue occur in 8.1.1?

No, 8.1.1 is fine. I've been using it since I discovered the bug.

What about resetting the settings to default?

Had the same issue with the same error
{ "level": "error", "name": "PS_CMD_FAIL_ERROR", "service": "user-service", "timestamp": "2019-10-08T18:33:28.240Z" }
A particular shortcut seemed to be problematic and deleting it fixed it. Recreating the same shortcut did not throw any issues.

@BryantShepherd Can you check if this is also the case for you?

What about resetting the settings to default?

It did fixed the issues by resetting "Application Search" to default. Thanks a lot!

Something is wrong with the .pdf file extensions. If I add ".pdf" in Application file extensions, this message appears: { "level": "error", "name": "PS_CMD_FAIL_ERROR", "service": "user-service", "timestamp": "2019-10-13T06:11:55.889Z" }

Good to know, I'll look into it!

Do you know which file extactly is causing the problem? I tried adding pdf to the extensions and it worked without any problems.

image
Here is my pdf folder. I could only include this or include '.pdf' extension but not both. Maybe it's just my device has a problem, because my other pc works fine.

Ok, then I'll close this issue now.

Just for clarification:

  • Use the application search plugin only to search programs
  • If you want to search specific folders use the simple folder search plugin
  • If you want to search files on a global scope then use the everything plugin

Can confirm that this is also an issue for me. I reproduced the issue by doing the following:

  1. Added a directory that contains videos.
  2. Added '.mkv' and '.mp4' extensions.

It is the combination of these two things that seems to cause the problems. Obviously that directory contains files of both these types.

As stated in my previous comment:

  • Use the application search plugin only to search programs
  • If you want to search specific folders use the simple folder search plugin
  • If you want to search files on a global scope then use the everything plugin

Oh, I see. Unfortunately, I and many others will elect not to install Everything since it isn't open source (one of the attractions of ueli for many).

Hmm. I got the same error when adding .lnk extension on Windows 10.
ueli 8.3.0

{"level": "error", "name": "PS_CMD_FAIL_ERROR", "service": "user-service", "timestamp": "2019-11-27T19: 31: 41.397Z"}

There are no icons :(

image

I tried all of the above. Does not work

Can you post a screenshot of your application search settings?

The problem is solved when I update to version 8.2.0. Thanks very much!

Can you post a screenshot of your application search settings?

Hi. Settings by default:

image

Turns the "Use native icons" setting on and off.
When the setting is on, an error occurs; when it is turned off, there is no error. But there are no application icons in both cases.

So, I have found a problem. And she ended up in Windows 10.

In "executeCommandWithOutput" in "application-searcher.ts" PowerShell is used and it gave Cyrillic characters in the form of question marks (like this: ????-filename).

If someone has a similar problem. For the solution, you just need to fix the encoding in PowerShell:

In path: _C:\Users{UserName}\Documents\WindowsPowerShell_

Created the file: _Microsoft.PowerShell_profile.ps1_

With this content:
$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding

Now the icons are displayed correctly.

@TheMechanical the code you provieded didn't work for me,first, because the execution policy on my machine was Restricted and secondly, your code had some errors, here is the code that worked for me
$OutputEncoding = [console]::InputEncoding = [console]::OutputEncoding = New-Object System.Text.UTF8Encoding

I added a fix in the newest version. Can you guys check if it works now?

  1. Clear caches first:
    image

  2. Then refresh indices:
    image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TobiasDev picture TobiasDev  路  4Comments

LalaGhost picture LalaGhost  路  5Comments

LalaGhost picture LalaGhost  路  3Comments

chrislachance picture chrislachance  路  5Comments

gabriel-peracio picture gabriel-peracio  路  3Comments