Summary: | KRun.init can trigger assertion failure in KAuthorizedPrivate() (empty applicationName) | ||
---|---|---|---|
Product: | [Plasma] krunner | Reporter: | Daniel Hahler <kde-bugzilla> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Proposed patch
New proposed patch: sets applicationName in kfmclient before calling KRun |
Description
Daniel Hahler
2008-01-14 00:47:44 UTC
Created attachment 23017 [details]
Proposed patch
Hmm, well, I think it's a kfmclient bug, it should set an app name like well-behaved apps do. Setting the app name to the URL doesn't make any sense ;-) Ok, makes sense. I just thought that adding this down in KRun would be a decent fallback. What application name should kfmclient use, despite of the URL? "Opening $URL..."? Will you fix it properly yourself, or should I submit an improved patch? kfmclient should use "kfmclient" as application name :-) Or maybe konqueror, since for KIOSK purposes people will consider it as part of konqueror. I'll fix it when I find the time, patches are always appreciated meanwhile :) Created attachment 23090 [details]
New proposed patch: sets applicationName in kfmclient before calling KRun
SVN commit 762398 by dfaure: I was right when I wrote the first line of this comment: there is no reason for this assert to be here at all, KAuthorized works fine without an applicationName. KGlobal doesn't need one to get a config file (it needs a componentData instead); the only fallback to applicationName in KGlobal is in KGlobal::caption() which is completely irrelevant... BUG: 155700 M +0 -3 kauthorized.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=762398 |