Bug 481884 - Opening .ttf files does not work under Wayland
Summary: Opening .ttf files does not work under Wayland
Status: RESOLVED DUPLICATE of bug 439470
Alias: None
Product: kfontview
Classification: Applications
Component: general (show other bugs)
Version: 5.27.10
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-27 08:09 UTC by Jasmin
Modified: 2024-02-27 09:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jasmin 2024-02-27 08:09:06 UTC
SUMMARY
When trying to open .ttf files from a folder, e.g. after downloading a font from the internet, KFontView just responds with "Could not read font.".


STEPS TO REPRODUCE
1. Download a random .ttf from the internet, I chose Fira Code. https://github.com/tonsky/FiraCode/releases/tag/6.2
2. Extract the file if necessary, and open any .ttf.

OBSERVED RESULT
A "Could not read font" message.
The journal says:  kf.kio.core: Url QUrl("file:///home/username/Downloads/ttf/FiraCode-SemiBold.ttf") already represents a local file, cancelling job.

EXPECTED RESULT
It should open the file.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 39
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.7.5-200.fc39.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 13th Gen Intel® Core™ i7-1355U
Memory: 31,0 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: LENOVO
Product Name: 21H3002EGE
System Version: ThinkPad L15 Gen 4

ADDITIONAL INFORMATION
I was told that it does work with X11.
Comment 1 Patrick Silva 2024-02-27 09:51:27 UTC

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