FS#29967 - xdg-utils 1.1.0-0.20120520 breaks xdg-open in XFCE

Attached to Project: Arch Linux
Opened by Slavi Pantaleev (s.pantaleev) - Monday, 21 May 2012, 15:40 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 22 May 2012, 04:30 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Andreas Radke (AndyRTR)
Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The xdg-utils 1.1.0-0.20120520 release drops the xfce-detection.diff patch, because detection is supposedly fixed upstream.

Back on 1.1.0rc1-3, `xdg-open http://example.com/` obeys the settings set by exo-preferred-applications and opens chromium for me.

With 1.1.0-0.20120520 xdg-open fails for URLs and always opens firefox, even though I have chromium set as my default browser everywhere I know of (gconf settings, ~/.local/share/applications/mimeapps.list, ~/.local/share/xfce4/helpers/custom-WebBrowser.desktop).

`xdg-settings get default-web-browser` returns an error: "xdg-settings: unknown desktop environment" no matter which of these versions of xdg-utils is installed.

Steps to reproduce:
1. Install xdg-utils 1.1.0-0.20120520
2. Set chromium as a default browser from exo-preferred-applications
3. Execute `xdg-open http://example.com/` in a terminal
4. Observe that firefox gets started instead of chromium
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 22 May 2012, 04:30 GMT
Reason for closing:  Not a bug
Additional comments about closing:  don't miss to install optional deps!
Comment by Andreas Radke (AndyRTR) - Monday, 21 May 2012, 19:37 GMT
foutrelis - do can you please have a look if we need to readd the xfce patch?

But I'd prefer if you bring this upstream to the xdg list or its category on the freedesktop.org tracker.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 22 May 2012, 00:45 GMT
Cannot reproduce.

@Slavi: What does 'xprop -root 2>/dev/null' output on your machine?

@Andreas: https://bugs.freedesktop.org/show_bug.cgi?id=25941 looks relevant to this issue.
Comment by Slavi Pantaleev (s.pantaleev) - Tuesday, 22 May 2012, 01:34 GMT
`xprop -root 2>/dev/null` returns:
_DT_SAVE_MODE(STRING) = "xfce4"

That's after I installed xorg-xprop, which I didn't have until now.

I found out that on 1.1.0-0.20120520 if I have xprop available, everything is fine.
Things work on 1.1.0rc1-3 without it too.
Comment by Evangelos Foutras (foutrelis) - Tuesday, 22 May 2012, 02:05 GMT
Thanks for the feedback.

xorg-xprop is an optional dependency of xdg-utils, along with exo-open (both for Xfce support.)

Easy to miss, but I believe this can be closed as "not a bug."
Comment by Slavi Pantaleev (s.pantaleev) - Tuesday, 22 May 2012, 02:14 GMT
Thanks. I guess we can close it if this is expected behavior, despite it looking like a regression.
Maybe the xfce wiki page should be updated to mention xorg-xprop?
Comment by Andreas Radke (AndyRTR) - Tuesday, 22 May 2012, 04:30 GMT
Yes, please do so.

Loading...