Bug 508461

Summary: Favicon URL field fails to fetch favicon from domain
Product: [Applications] kmymoney Reporter: ultragb20
Component: ux-uiAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: normal CC: arnaudvillemain
Priority: NOR    
Version First Reported In: 5.2.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ultragb20 2025-08-19 11:18:56 UTC
Steps to Reproduce

Open the account editor in KMyMoney.

Paste a valid domain URL into the Favicon URL field.

Observe whether the favicon loads.

Alternatively:
4. Paste a direct link to an image (e.g. .png or .svg) into the same field.
5. Observe the result.

Expected Behavior

When a domain URL is provided, the application should fetch the favicon from that domain.

When a direct image URL is provided, it should use that image as-is for the account icon.

Actual Behavior

For many domains, nothing is fetched and no icon appears.

When pasting direct links to hosted image files, the application does not use the image but instead attempts to fetch the favicon of the image host's domain.

This leads to incorrect icons (or none at all) with no warning or error shown to the user.

Suggestions

Make the field strictly interpret the input as a direct image URL when applicable.

If a domain is given, attempt favicon resolution but inform the user if it fails.

Provide fallback options or previews for better user control.