FS#14009 - [gnome-menus] easytag 2.1.6-1 is launched when clicking in Home or Desktop shortcut in gnome menu

Attached to Project: Arch Linux
Opened by solsTiCe (zebul666) - Sunday, 29 March 2009, 13:49 GMT
Last edited by Kevin Piche (kpiche) - Thursday, 05 November 2009, 20:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Kevin Piche (kpiche)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:
When i click in Home or Desktop in the Shortcut menu in top gnome bar, it is easytag that is launched instead of nautilus with the Home or Desktop folder

Fix:
this is a bug in /usr/share/applications/easytag.desktop where the MimeType is
MimeType=audio/x-mp3;application/ogg;x-directory/normal;

easytag should not be associated with directory
if you change /usr/share/applications/easytag.desktop so that the line becomes MimeType=audio/x-mp3;application/ogg;
and run the command update-desktop-database
that bug is gone
This task depends upon

Closed by  Kevin Piche (kpiche)
Thursday, 05 November 2009, 20:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2.1.6-2
Comment by Glenn Matthys (RedShift) - Sunday, 29 March 2009, 13:52 GMT
Did you start with an empty home directory?
Comment by Lyman Li (lyman) - Sunday, 29 March 2009, 15:17 GMT
+1, I think "x-directory/normal" should be wiped from MimeType. It is wired to open a directory with easytag.
Comment by Alessandro Doro (adoroo) - Sunday, 29 March 2009, 15:54 GMT
This reminds me of  FS#11053 .
Comment by solsTiCe (zebul666) - Sunday, 29 March 2009, 19:05 GMT
> "Did you start with an empty home directory?"

i just tried with a new created user (so empty home) and it's the same. with the unmodified .desktop. there is the bug. when patched, it works.
Comment by Alessandro Doro (adoroo) - Sunday, 29 March 2009, 19:38 GMT
Easytag is only registering itself as directory handler.
Gnome should have a user friendly way of manage the registered handlers and let the user set the defaults per mime-type. Don't being a gnome user or expert I can't go deep into the subject.

The same issue was also discussed in:
http://bugs.gentoo.org/170630
https://bugs.launchpad.net/archlinux/+bug/35997
http://bugzilla.xfce.org/show_bug.cgi?id=3016

Anyway here is an interesting tip:
http://wiki.archlinux.org/index.php/Gnome_Tips#Default_applications
Comment by Alessandro Doro (adoroo) - Sunday, 29 March 2009, 19:45 GMT
User settings: $HOME/.local/share/applications/defaults.list
Comment by Alessandro Doro (adoroo) - Sunday, 29 March 2009, 20:13 GMT
Note that in Nautilus you can right click on a folder to bring up the "Properties" dialog; then in the "Open With" tab select "Open Folder". This fixed the issue for me with pcmanfm.

A strong -1 for the removal of "x-directory/normal" from easytag.desktop; the application is a legitimate folder handler.
One should be able to right click on a folder and select open with easytag.
Comment by solsTiCe (zebul666) - Monday, 30 March 2009, 11:19 GMT
so in fact, it's a bug of gnome ?

Alessandro: thanks for the tip "Properties" -> "Open With" -> "Open folder"
it works for this issue too.
Comment by Artiom Molchanov (artiom) - Thursday, 23 July 2009, 05:28 GMT
"Properties" -> "Open With" -> "Open folder" doesn't work for me. I resolved it only by removing x-directory/normal from .desktop file.
In any case this "feature" is too annoying to be left by default. Someone who wants to open directories with easytag should configure it by "Open With" menu.
Comment by Alexsandr Pavlov (kidoz) - Sunday, 20 September 2009, 20:43 GMT
You can also use the patch from gentoo.
PKGBUILD:
# $Id$
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Maintainer: dorphell <dorphell@archlinux.org>

pkgname=easytag
pkgver=2.1.6
pkgrel=1
pkgdesc="Utility for viewing, editing and writing ID3 tags of your MP3 files"
arch=('i686' 'x86_64')
license=('GPL')
url="http://easytag.sourceforge.net/"
depends=('id3lib' 'libid3tag' 'gtk2' 'libvorbis' 'flac>=1.2.1' 'libmp4v2'
'speex' 'wavpack')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2 http://sources.gentoo.org/viewcvs.py/*checkout*/gentoo-x86/media-sound/easytag/files/easytag-2.1.6-desktop_entry.patch)
md5sums=('6c5b9dc2bf1f3b0a11bd4efc81aaa9ee' 'c092b60e13e3f968c9f95eab9429d07f')

build() {
cd ${startdir}/src/${pkgname}-${pkgver}
patch -Np1 -i ../easytag-2.1.6-desktop_entry.patch || return 1
./configure --prefix=/usr
make || return 1
make DESTDIR=${startdir}/pkg install
Comment by Ken S (scriptmunkee) - Tuesday, 03 November 2009, 06:45 GMT
+1 in a agreement that there is an issue with the easytag package.

The file easytag.desktop needs to be updated to remove "x-directory/normal" from the mimeType attribute

Loading...