Summary: | Changing default default web browser reverts after closing settings page | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Timofey <t.abramski45> |
Component: | kcm_componentchooser | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ad1rie3, ckakman, haakondr, kde, kde_bugs, nate, robledoint, vkrevs |
Priority: | NOR | Keywords: | usability |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/plasma-desktop/26fb5ec20af60682561c7a9678506199966ef2c1 | Version Fixed In: | 5.12.8 |
Sentry Crash Report: |
Description
Timofey
2015-07-27 14:48:05 UTC
EDIT: I found out that this was caused by typing "chromium" when selecting the web browser applications rather than finding it under the list of known applications ie. typing chromium does not work, choosing "chromium web browser", which is listed as one of the "known applications" does work. Same behaviour, including the observation from comment 1, in systemsettings 5.5.2 on openSUSE Leap 42.1. Please fix this as this is highly annoying. *** Bug 367845 has been marked as a duplicate of this bug. *** *** Bug 370201 has been marked as a duplicate of this bug. *** Not sure if this is connected, but I have the issue of not being able to change the default browser in "Default Applications" at all. When I change it and press apply or ok, it reverts back to "in an application based on the contents of the URL". My reason for changing it was that I get the error "KDEInit could not launch '/usr/lib/firefox/firefox'", and I can't figure out how to solve that or why it would even look for firefox there. I'm on debian stretch with plasma 5.8.4. Bug 380133 - Cannot see/change default browser settings https://bugs.kde.org/show_bug.cgi?id=380133 (In reply to HD from comment #5) > Not sure if this is connected, but I have the issue of not being able to > change the default browser in "Default Applications" at all. When I change > it and press apply or ok, it reverts back to "in an application based on the > contents of the URL". > > My reason for changing it was that I get the error "KDEInit could not launch > '/usr/lib/firefox/firefox'", and I can't figure out how to solve that or why > it would even look for firefox there. > > I'm on debian stretch with plasma 5.8.4. I was about the report this issue. Selecting "in the following application" item was not enough. A browser in the drop-down must be selected, even if there is only one, so that the setting change is applied and saved. Kubuntu 18.04, Plasma 5.12.4, Falkon as the only available web browser. This turned out to be a fairly easy fix. Here's a patch: https://phabricator.kde.org/D17181 Git commit 26fb5ec20af60682561c7a9678506199966ef2c1 by Nate Graham. Committed on 27/11/2018 at 03:01. Pushed by ngraham into branch 'Plasma/5.12'. [Componentchooser KCM] Make default browser app choice work even when combobox is not used Summary: FIXED-IN: 5.12.8 When choosing a default browser app using the app list combobox, the choice was only being saved after the combobox was used, because its signal was connected to an inline function that saved the choice, while the radio button that enabled the combobox was not. As a result, if you clicked on that radio button and didn't need to use the combobox because it was already showing your preferred browser, that action was not actually getting saved. This patch fixes the situation my moving the inline function into a real explicit slot function and connecting the radio button to it as well. Test Plan: - Go to the component chooser KCM's default browser module - Reset to defaults, then leave the KCM and open it again - Click the {nav in the following application} radio button - Do NOT touch the combobox - Click {nav Apply} - Leave the KCM and come back With this patch, the radio button's state is preserved and the correct browser is selected in the combobox. Reviewers: #plasma, cfeck, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: davidedmundson, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D17181 M +10 -7 kcms/componentchooser/componentchooserbrowser.cpp M +1 -0 kcms/componentchooser/componentchooserbrowser.h https://commits.kde.org/plasma-desktop/26fb5ec20af60682561c7a9678506199966ef2c1 |