https://bugs.kde.org/show_bug.cgi?id=404418
Bug ID: 404418 Summary: Gwenview doesn't report error when loading URL with non-existent file Product: gwenview Version: 18.12.1 Platform: Mageia RPMs OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: gwenview-bugs-n...@kde.org Reporter: jan-b...@gmx.co.uk Target Milestone: --- SUMMARY If we try to open an image URL that points to a non-existent file (but with a working server part), like https://imgur.com/a/doesnotexiiiistttt.jpg, Gwenview's progress indicator will spin forever, and we'll get this message: > "We should not reach this point!" which apparently comes from this file/line: https://cgit.kde.org/gwenview.git/tree/lib/document/loadingdocumentimpl.cpp#n177 It's to be expected for Gwenview to clearly report that the file cannot be found =) However, with some servers, Gwenview will show that HTML files are not supported instead, for instance, : http://akarixb.nongnu.org/thisdoesnotexist.png > Loading ‘thisdoesnotexist.png’ failed > Gwenview cannot display documents of type text/html. I imagine maybe this case can't be fixed, but at least the user get some kind of error message. Additionally, if the server doesn't even exist or can't be resolved, Gwenview will also spin forever, but with no particular output in the console. Example: $ gwenview https://weiorjwio3939399393eqweqe2213.com/fake.jpg So, to try to sum up: it fails silently with URL's where the file doesn't exist, but depending on the server it might get content-type html, and then report that as the error, and also fails silently if the server doesn't exist. Thank you for your time! STEPS TO REPRODUCE 1. Launch 'gwenview https://imgur.com/a/doesnotexiiiistttt.jpg' or equivalent from a terminal window. 2. Loading thingie spins forever. 3. Check terminal window for "We should not reach this point!" message. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) Operating System: Mageia 7 KDE Plasma Version: 5.14.5 Qt Version: 5.12.1 KDE Frameworks Version: 5.55.0 ADDITIONAL INFORMATION Reproduced also in Debian's Gwenview 18.04 and Archlinux's 18.12.x. -- You are receiving this mail because: You are watching all bug changes.