Bug 493250

Summary: Cannot get new fonts using Font Management app
Product: [Frameworks and Libraries] frameworks-knewstuff Reporter: Valeriy <vdctpntm>
Component: generalAssignee: Dan Leinir Turthra Jensen <admin>
Status: CONFIRMED ---    
Severity: normal CC: alexander.lohnau, asseel.naji96, kdebugs.ojk3k, kdedev, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 6.5.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: An image of the System Settings window with a half-transparent black square over it

Description Valeriy 2024-09-17 11:10:00 UTC
Created attachment 173760 [details]
An image of the System Settings window with a half-transparent black square over it

SUMMARY
A popup appears when trying to install new fonts that says "This item is currently in an invalid or unknown state". A transparent black window also appears in the upper left corner (see attachment)

STEPS TO REPRODUCE
1. Open Font Management App
2. Click Get New Fonts button
3. Open any font page
4. Click the Install button

OBSERVED RESULT
The error mentioned in the SUMMARY section appears. After a few seconds everything except the half-transparent square goes back to normal and you could try installing the font again with no success.

EXPECTED RESULT
The font package installs correctly.

SOFTWARE/OS VERSIONS
Distro: Fedora Kinoite
Linux: 6.10.9
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2
Comment 1 John Kizer 2025-01-21 06:33:03 UTC
*** Bug 498429 has been marked as a duplicate of this bug. ***
Comment 2 John Kizer 2025-02-10 06:09:52 UTC
*** Bug 499424 has been marked as a duplicate of this bug. ***
Comment 3 TraceyC 2025-02-10 18:35:58 UTC
I'm able to reproduce this in git-master as well as Plasma 6.2.5 with MS Core Fonts (which has a second problem) and some others but not all fonts
- Additionally, none of the previews are shown on the font detail pages
- No font shows any comments / reviews in the details
- I can't seem to install any font from this dialog

Testing with MS Core Fonts (same behavior from any font by SeanParsons)
I don't see the half-transparent black square, but I see the error "This item is currently in an invalid or unknown state"
That disappears but then I see 
" An Error Occurred
Cannot install 'MS True Type core fonts' because it points to a web page. Click here to finish the installation"

If I click that, it brings up an unrelated page https://www.filecroco.com/file-sharing/

Terminal output from git-master:

file:///home/tracey/kde/usr/lib64/qml/org/kde/kirigami/templates/private/DrawerHandle.qml:117:5: TypeError: Cannot read property 'width' of null
qrc:/qt/qml/org/kde/newstuff/Page.qml:457:9: QML EntryDetails: Created graphical object was not placed in the graphics scene.


Testing with OpenLogos by l1718s (same result with Pushkin and most other fonts)
Installation did not show an error, but then didn't appear in the list of fonts afterward.