SUMMARY FavIconRequestJob should be able to deal with larger favicons STEPS TO REPRODUCE 1. Request favicon.ico from https://www.ybs.co.uk/o/ybs-theme/images/ 2. 3. OBSERVED RESULT Get KIO::FavIconRequestJob error 163 and no favicon.ico retrieved EXPECTED RESULT The favicon is retrieved. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: Fedora Linux 42 KDE Plasma Version: 6.5.3 KDE Frameworks Version: 6.20.0 Qt Version: 6.9.3 ADDITIONAL INFORMATION Most web browsers can make use of the larger favicons so KIO framework should do the same.
There's a somewhat arbitrary size limit in the code: https://invent.kde.org/frameworks/kio/-/blob/master/src/gui/faviconrequestjob.cpp#L189 Changing the limit would be easy, but I'm hesitant about removing it entirely
Biggest one I've found is 256x256 which was around 100k. Maybe take the limit to 0x20000 ?