Bug 767151

Summary: pidgin should require xdg-utils
Product: Red Hat Enterprise Linux 4 Reporter: Tomas Pelka <tpelka>
Component: pidginAssignee: Jonathan Blandford <jrb>
Status: CLOSED NOTABUG QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.9CC: daniel_atallah, ddumas, deryni, eblanton, lschiere+bugs, mark, stu
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-13 19:22:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Tomas Pelka 2011-12-13 11:44:45 UTC
Description of problem:
pidgin should require xdg-utils since it use it for "Online help".


Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Open pidgin
2. hit Help->Online Help
3.
  
Actual results:
no xdg-open command found

Expected results:
FF should open pidgin help page

Additional info:

Comment 1 Mark Doliner 2011-12-13 17:07:16 UTC
Tomas: Are you using Gnome currently?  If not, what browser is specified in Tools->Preferences->Browser?

I don't think the Pidgin package should require xdg-utils because it's not a hard dependency.  If Pidgin detects that the user is running within Gnome (g_find_program_in_path("gnome-open") and g_getenv("GNOME_DESKTOP_SESSION_ID") both return something) then Pidgin will try to use gnome-open or xdg-open to open URLs.  Otherwise Pidgin will use the browser that has been configured in Tools->Preferences->Browser.

You could possibly argue that Pidgin should try harder to find a valid browser to use if xdg-open doesn't exist, but I would consider that a Pidgin feature request rather than a reason to change the package to depend on xdg-utils.

Comment 2 Mark Doliner 2011-12-13 17:13:32 UTC
You could also argue that Pidgin shouldn't try to detect valid browsers at all, and should instead reply upon xdg-open (and then it would make sense for the package to depend on xdg-utils), but I would consider that a Pidgin feature request, too.

Comment 3 Tomas Pelka 2011-12-13 19:22:50 UTC
Recheck with new created user and all works as expected, probably prefered browser was wrongly configured.

Closing as NOTABUG.