| Summary: | kontact --module XYZ crashes after minimizing to tray icon and maximizing back | ||
|---|---|---|---|
| Product: | [Applications] kontact | Reporter: | Unknown <null> |
| Component: | general | Assignee: | David Faure <faure> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | faure, illogical1, molkentin, NewsAssi, torquil |
| Priority: | NOR | ||
| Version First Reported In: | 1.1 | ||
| Target Milestone: | --- | ||
| Platform: | unspecified | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Unknown
2005-04-13 08:26:38 UTC
backtrace at hand? As I mentioned above: It's no real "crash" but kontact CLOSES with error message kontact: Unbekannte Option "-module". kontact: Benutzen Sie den Parameter "--help", um die verfügbaren Optionen zu sehen. when being started out of konsole with some --module parameter (for message's rough translation see above). The point is: It says option "-module" unknown - although I passed "--module" to kontact. Also why should kontact complain about wrong command line parameter while being restored from tray icon?? Or did I get it wrong? How should I produce such a backtrace? gdb --args kontact --module summaryplugin produced a Program exited normally. after kontact's startup. Doing the steps above only the error message mentioned above reappears - no backtrace! (gdb) backtrace No stack. Martin Yup, it just disappears/closes, and I can reproduce and confirm this on current HEAD. this bug is still there in 1.1.1 (KDE 3.4.1) ... very annoying!! Hi, the problem is in the handling of the command line options. David, we discussed it in Osnabrueck during the last kdepim meeting. Any idea how to solve it? Ciao, Tobias *** Bug 109185 has been marked as a duplicate of this bug. *** Still present in KDE 3.5.5. David, do you remember what was discussed? *** Bug 125810 has been marked as a duplicate of this bug. *** SVN commit 612460 by dfaure:
loadAppArgs is called by KUniqueApplication to load the args coming from the other process,
so when it's called we certainly don't want to reparse the initial argc/argv again.
In most programs this made no difference, but in kontact this gave a failure since the
cmdline options got modified meanwhile (e.g. to load the kmail options instead).
BUG: 103775
M +2 -0 kcmdlineargs.cpp
--- branches/KDE/3.5/kdelibs/kdecore/kcmdlineargs.cpp #612459:612460
@@ -263,6 +263,8 @@
void
KCmdLineArgs::loadAppArgs( QDataStream &ds)
{
+ parsed = true; // don't reparse argc/argv!
+
// Remove Qt and KDE options.
removeArgs("qt");
removeArgs("kde");
*** Bug 138269 has been marked as a duplicate of this bug. *** |