Bug 468188

Summary: Can not open local font file
Product: [Applications] kfontview Reporter: oldherl <oldherl>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: 5.27.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Error message: Could not read font.

Description oldherl 2023-04-06 01:58:07 UTC
Created attachment 157884 [details]
Error message: Could not read font.

SUMMARY
Can not open local font file.

STEPS TO REPRODUCE
1. Run kfontview from a terminal
2.  Click "Open" button 
3. Select a local font file.

OBSERVED RESULT
Pops up a message dialog says "Could not read font." and prints an error message "kf.kio.core: Url QUrl("file:///home/oldherl/.fonts/opensans/OpenSans-Bold.ttf") already represents a local file, cancelling job." in the terminal that runs kfontview.

EXPECTED RESULT
Should open the font file and view its content.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.8-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 oldherl 2023-04-06 02:00:27 UTC

*** This bug has been marked as a duplicate of bug 439470 ***