tranht17/WinTune

UWP Apps Message :(0x80070490) Element not found.

Closed this issue · 5 comments

happens with UWP Apps in Not Installed Mode

================= WinTune v2.5.0 =================
Time :20240720130426
OSVersion:10.0.22621
Is64bitOS:1
Message :(0x80070490) Element not found.
Stack :#1 (629) : [ComCall] ComCall(9, this.IPackage2, 'Ptr', IUriRuntimeClass:=ComValue(13, 0))
#1 (629) : [PackageManager.IPackage.Prototype.UriLogo.get] ComCall(9, this.IPackage2, 'Ptr', IUriRuntimeClass:=ComValue(13, 0))
#1 (637) : [PackageManager.IPackage.Prototype.RawUri.get] Return (ComCall(16, this.UriLogo, "Ptr", &value:=0), PackageManager.HStringToStr(value))
*#1 (642) : [PackageManager.IPackage.Prototype.Logo.get] Logo := this.RawUri
*#1 (4623) : [LoadLV] IconIndex := IL_Add(ImageListID, rList[i].Logo, 1)
*#1 (4643) : [SwichInstalled] LoadLV()

Gui

================= WinTune v2.5.0 =================
Time :20240720130813
OSVersion:10.0.22621
Is64bitOS:1
Message :(0x80070490) Element not found.
Stack :#1 (629) : [ComCall] ComCall(9, this.IPackage2, 'Ptr', IUriRuntimeClass:=ComValue(13, 0))
#1 (629) : [PackageManager.IPackage.Prototype.UriLogo.get] ComCall(9, this.IPackage2, 'Ptr', IUriRuntimeClass:=ComValue(13, 0))
#1 (637) : [PackageManager.IPackage.Prototype.RawUri.get] Return (ComCall(16, this.UriLogo, "Ptr", &value:=0), PackageManager.HStringToStr(value))
*#1 (642) : [PackageManager.IPackage.Prototype.Logo.get] Logo := this.RawUri
*#1 (4623) : [LoadLV] IconIndex := IL_Add(ImageListID, rList[i].Logo, 1)
*#1 (4598) : [BtnPackageManager_Click] LoadLV()
*#1 (3206) : [NavItem_Click] CurrentTabCtrls := %Layout[g.NavSelected].Fn%(g, g.NavSelected)

Gui

================= WinTune v2.5.0 =================
Time :20240720131445
OSVersion:10.0.22621
Is64bitOS:1
Message :(0x80070490) Element not found.
Stack :#1 (629) : [ComCall] ComCall(9, this.IPackage2, 'Ptr', IUriRuntimeClass:=ComValue(13, 0))
#1 (629) : [PackageManager.IPackage.Prototype.UriLogo.get] ComCall(9, this.IPackage2, 'Ptr', IUriRuntimeClass:=ComValue(13, 0))
#1 (637) : [PackageManager.IPackage.Prototype.RawUri.get] Return (ComCall(16, this.UriLogo, "Ptr", &value:=0), PackageManager.HStringToStr(value))
*#1 (642) : [PackageManager.IPackage.Prototype.Logo.get] Logo := this.RawUri
*#1 (4623) : [LoadLV] IconIndex := IL_Add(ImageListID, rList[i].Logo, 1)
*#1 (4643) : [SwichInstalled] LoadLV()

Gui

Also consider fixing the blinking cursor, the text field should disabled when none/default image is selected
bug

It's strange when encountering this, it seems to come across an app without a logo.
Can you try running this fixed version to see if there are any errors?
If it works, can you share information (FamilyName or FullName) about the app without that logo?

Issue persists with fixed version:

2024-07-22_01h03_41.mp4

log.txt

You can try again with this version and send me the log.txt file.
Thanks very much.

log.txt
There you go.

Thanks very much.