https://bugs.kde.org/show_bug.cgi?id=406903
Bug ID: 406903 Summary: no message when Skrooge can't open .skg file given on command line Product: skrooge Version: Trunk from git Platform: Fedora RPMs OS: Linux Status: REPORTED Severity: minor Priority: NOR Component: general Assignee: guillaume.deb...@gmail.com Reporter: skierp...@gmail.com CC: steph...@mankowski.fr Target Milestone: --- SUMMARY Skrooge silently fails if you specify an invalid path to skg file on command line. If I'm not paying attention I won't notice right away. STEPS TO REPRODUCE 1. In a terminal, enter `skrooge junk.skg` OBSERVED RESULT No red error message, no red bar across the top. The page footer displays "Categories imported." (huh?) instead of "File '/path/to/good.skg' opened." If I turn on tracing, the console output has one ERR, ## <virtual SKGError SKGDocument::getMessages(int, SKGDocument::SKGMessageList&, bool) RC=[ERR-3]: No database defined EXPECTED RESULT See the same red [ERR-NN]: Failed to open '/full/path/to/junk.skg'. message in the messages pane and across the top that Skrooge displays if I enter an invalid badfilename.skg in its File > Open... dialog. SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.14.5 KDE Frameworks Version: 5.55.0 Qt Version: 5.11.3 -- You are receiving this mail because: You are watching all bug changes.