Bug 106343 - check_browser is broken under kde when just the binary is specified.
Summary: check_browser is broken under kde when just the binary is specified.
Status: RESOLVED FIXED
Alias: None
Product: Portland
Classification: Unclassified
Component: xdg-utils (show other bugs)
Version: 1.1.0
Hardware: Other All
: medium normal
Assignee: Portland Bugs
QA Contact:
URL:
Whiteboard:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2018-05-02 07:38 UTC by Simon Lees (SUSE)
Modified: 2018-05-02 15:11 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Fix for issue. (1.82 KB, patch)
2018-05-02 07:38 UTC, Simon Lees (SUSE)
Details | Splinter Review

Description Simon Lees (SUSE) 2018-05-02 07:38:48 UTC
Created attachment 139260 [details] [review]
Fix for issue.

From http://bugzilla.opensuse.org/show_bug.cgi?id=1051353 KDE system settings allows you to set the default browser as a relative binary name rather then as a desktop file, chromium amoungst others uses this feature.

When the browser is stored this way the binary name is saved in the settings prefixed with a !, in these cases check_browser was incorrectly reporting that the default browser was not set (get_browser was returning the right things)

The attached patch fixes this issue.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.