http://bugzilla.opensuse.org/show_bug.cgi?id=1051353
http://bugzilla.opensuse.org/show_bug.cgi?id=1051353#c18
Fabian Vogt
I can't replicate that but I found another bug where if firefox is set as the default browser chromium and xdg-settings check will still believe chromium is the default.
The following lines look atleast like they don't do what the comment says they do to me they seem pretty broken.
# Because KDE will use the handler for MIME type text/html if this value # is empty, we allow either the empty string or a match to $check here. if [ x"$binary" != x -a x"$binary" != x"$check" ]; then
@Fabian firefox gets stored as firefox, rather then !firefox or firefox.desktop is this behavior expected
That's wrong. plasma-desktop's componentchooser sets either a .desktop file or exec with !. KSharedConfig::Ptr profile = KSharedConfig::openConfig(QStringLiteral("kdeglobals")); KConfigGroup config(profile, QStringLiteral("General")); QString exec; if (radioService->isChecked()) { if (m_browserService) { exec = m_browserService->storageId(); } } else if (radioExec->isChecked()) { exec = lineExec->text(); if (m_browserService && (exec == m_browserExec)) { exec = m_browserService->storageId(); // Use service } else if (!exec.isEmpty()) { exec = '!' + exec; // Literal command } } config.writePathEntry( QStringLiteral("BrowserApplication"), exec); // KConfig::Normal|KConfig::Global Note that the storageId of a kservice is the full .desktop file name. -- You are receiving this mail because: You are on the CC list for the bug.