tranht17 / WinTune

Tweak & optimize your Windows system
GNU General Public License v3.0
114 stars 4 forks source link

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

Closed megabugman closed 1 month ago

megabugman commented 1 month ago

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

tranht17 commented 1 month ago

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?

megabugman commented 1 month ago

Issue persists with fixed version:

https://github.com/user-attachments/assets/de5fb802-4358-4e23-9495-431ea041f76c

log.txt

tranht17 commented 1 month ago

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

megabugman commented 1 month ago

log.txt There you go.

tranht17 commented 1 month ago

Thanks very much.