[Bug 166813] notification "Unable to find a Multimedia Backend" pops up a thousand times

Matthias Kretz kretz at kde.org
Thu Jul 17 10:21:05 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=166813         




------- Additional Comments From kretz kde org  2008-07-17 11:21 -------
This is the current (4.1 RC1) code:

    static bool has_shown = false;
    const KService::List offers = listBackends();
    if (offers.isEmpty()) {
        if (!has_shown) {
            KMessageBox::error(0, i18n("Unable to find a Multimedia Backend"));
            has_shown = true;
        }
        return 0;
    }
    // Flag the warning as not shown, since if the next time the
    // list of backends is suddenly empty again the user should be
    // told.
    has_shown = false;

In order to get what you got, you need to either get the message from a new process every time, or for some reason the has_shown = false is reached - but I can't think of any scenario that would explain what you see.

Please find out whether the dialog is from the same process every time.



More information about the Unassigned-bugs mailing list