Bug 577548 - xfce4-notes-plugin does not honor default browser
Summary: xfce4-notes-plugin does not honor default browser
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-notes-plugin
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-27 23:29 UTC by Pavel Alexeev
Modified: 2010-04-11 10:20 UTC (History)
2 users (show)

Fixed In Version: xfce4-notes-plugin-1.7.6-1.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-10 18:23:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Alexeev 2010-03-27 23:29:25 UTC
xfce4-notes-plugin open links in Firefox. It does not have matter what browser set default in XFCE.

Comment 1 Christoph Wickert 2010-03-28 00:45:35 UTC
Please provide more information. What versions of the xfce4-notes-plugin are you using?

Please provide the output of the following commands:
rpm -q xfce4-notes-plugin
cat ~/.config/xfce4/helpers.rc 
cat /etc/xdg/xfce4/helpers.rc

Comment 2 Pavel Alexeev 2010-03-28 07:46:03 UTC
Sorry, forgot providee version:
$ rpm -q xfce4-notes-plugin
xfce4-notes-plugin-1.7.2-2.fc13.i686
it last available.

$ cat ~/.config/xfce4/helpers.rc 
WebBrowser=google-chrome

$ cat /etc/xdg/xfce4/helpers.rc    
# $Id$
#
# Default helpers.rc for Xfce's Preferred Applications
#
# Copyright (c) 2005-2006 Benedikt Meurer <benny>
#

WebBrowser=firefox
MailReader=thunderbird
TerminalEmulator=Terminal

Comment 3 Christoph Wickert 2010-03-28 09:20:20 UTC
google-chrome is not really supported by exo, at least there is no preconfigured helper. 

Is chrome launched when you run
exo-open --launch WebBrowser
and
exo-open http://fedoraproject.org

BTW: a new version is out. Please try it and give karma at https://admin.fedoraproject.org/updates/xfce4-notes-plugin-1.7.3-1.fc13

Comment 4 Pavel Alexeev 2010-03-28 09:37:41 UTC
Yes, both exo-open commands below works as expected.

And no, new version does not help with tis prtoblem.

Comment 5 Mike Massonnet 2010-03-28 10:04:36 UTC
The code uses GLib.AppInfo.launch_default_for_uri first (if that didn't work it tries again with other fallbacks). The problem here is that there is no GIO module or extension to use exo-open for HTTP URIs, it is only available in git and will be there for Xfce 4.8. So what I can do is change the code to first try with exo-open and release 1.7.4, but then switch again back once Xfce 4.8 is out.

Comment 6 Pavel Alexeev 2010-03-28 10:13:18 UTC
What I should do for correct work GLib.AppInfo.launch_default_for_uri in XFCE environment? Can we globally syncronize settings with it?

If you can fix it prior Xfce 4.8 it will be very helpful.

Comment 7 Mike Massonnet 2010-03-28 11:36:50 UTC
(In reply to comment #6)
> What I should do for correct work GLib.AppInfo.launch_default_for_uri in XFCE
> environment? Can we globally syncronize settings with it?

There is nothing you can do. The GIO module I mentioned is provided with the currently unstable tarballs of exo 0.5.x, the code in question is available here: http://git.xfce.org/xfce/exo/tree/exo-gio-module

> If you can fix it prior Xfce 4.8 it will be very helpful.    

Yes, that is easily doable, I'll do a new release soon, promise :)

Comment 8 Fedora Update System 2010-03-30 01:36:38 UTC
xfce4-notes-plugin-1.7.4-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/xfce4-notes-plugin-1.7.4-1.fc13

Comment 9 Fedora Update System 2010-04-01 19:31:49 UTC
xfce4-notes-plugin-1.7.6-1.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update xfce4-notes-plugin'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/xfce4-notes-plugin-1.7.6-1.fc13

Comment 10 Pavel Alexeev 2010-04-03 00:31:12 UTC
It seams error fixed. Thank you.

Comment 11 Fedora Update System 2010-04-09 03:43:37 UTC
xfce4-notes-plugin-1.7.6-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 12 Pavel Alexeev 2010-04-10 17:59:06 UTC
What interesting here:
http://jquery.com/src/jquery-latest.js
will be opened in default browser, but
var ttt = 'http://jquery.com/src/jquery-latest.js;'
Link will be incorrectly highlighted as "http://jquery.com/src/jquery-latest.js;'" and its link opened in Firefox (off course as result 404 error occurred)

Comment 13 Mike Massonnet 2010-04-10 18:12:23 UTC
Please report upstream (bugzilla.xfce.org) and keep this bug closed (or at least open a new bug). I know about this issue, also I have to look for https, I sometimes type them but only http:// links get highlighted currently.

Comment 14 Christoph Wickert 2010-04-10 18:23:34 UTC
Pavel, what you describe in comment 12 is a different problem than the initial bug. New problem - new bug. Please file it upstream to help Mike tracking things.

BTW: Thanks a lot for your help Mike.

Comment 15 Pavel Alexeev 2010-04-11 10:20:17 UTC
Treatment links from text content is very doubtfull question. In this particular example including ";'" into link is not wanted, but I do not see any reason why it may be incorrect in any other cases! Therefore I wouldn't fill bug on it (as minimum until got idea how reliably distinguish its). In previous post I only speak about open such links in different browser! Nothing more.

In waiting major new versions it seams not such prioritize. So, may be best solution now just wait 4.8 XFCE...


Note You need to log in before you can comment on or make changes to this bug.