Bug 453548 - kdiff3 crashes fluxbox-xdg-menu
Summary: kdiff3 crashes fluxbox-xdg-menu
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: kdiff3
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Neal Becker
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-07-01 09:43 UTC by Rob Lazzurs
Modified: 2008-07-01 14:50 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-07-01 14:50:49 UTC
Type: ---


Attachments (Terms of Use)

Description Rob Lazzurs 2008-07-01 09:43:40 UTC
Description of problem:

The .desktop file from kdiff3 causes fluxbox-xdg-menu to fail

This is due to the Exec being missing from the file. Adding in the line below
resolved the issue

7d6
< Exec=kdiff3

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


How reproducible:

Everytime

Steps to Reproduce:
1. Install kdiff3 and fluxbox
2. Run fluxbox-xdg-menu

  
Actual results:

Traceback (most recent call last):
  File "/usr/bin/fluxbox-xdg-menu", line 262, in <module>
    main(sys.argv[1:])
  File "/usr/bin/fluxbox-xdg-menu", line 248, in main
    parseMenu(menu,wm,use_icons,theme)
  File "/usr/bin/fluxbox-xdg-menu", line 115, in parseMenu
    parseMenu(entry,wm,use_icons,theme,depth)
  File "/usr/bin/fluxbox-xdg-menu", line 124, in parseMenu
    print "%s[exec] (%s) {%s} " % ( (depth*"\t"), appname,
entry.DesktopEntry.getExec().split()[0] )
IndexError: list index out of range

Expected results:

Menu generated

Additional info:

Comment 1 Rob Lazzurs 2008-07-01 09:44:20 UTC
I forgot to include the version, sorry.

kdiff3-0.9.92-13.fc9.i386

Comment 2 Neal Becker 2008-07-01 11:10:16 UTC
Sorry, I don't understand.  

I have
rpm -q kdiff3
kdiff3-0.9.92-13.fc9.x86_64

/usr/share/applications/fedora-kdiff3.desktop says:
Exec=kdiff3 %i %m -caption "%c"

You don't have this?

Comment 3 Rob Lazzurs 2008-07-01 11:32:39 UTC
I have that file and it is correct however the file fluxbox-xdg-menu is having
an issue with is /usr/share/applications/kde/kdiff3plugin.desktop

Comment 4 Neal Becker 2008-07-01 12:57:08 UTC
This doesn't seem to be the correct fix:

+ desktop-file-install --vendor= --dir /var/tmp/rpm/kdiff3-0.9.92-15.fc10-root-
/var/tmp/rpm/kdiff3-0.9.92-15.fc10-root-
/var/tmp/rpm/kdiff3-0.9.92-15.fc10-root-
present in group "Desktop Entry", but the type is "Service" while this key is
only valid for type "Application"
Error on file "/var/tmp/rpm/kdiff3-0.9.92-15.fc10-root-
created desktop file
error: Bad exit status from /var/tmp/rpm/rpm-tmp.24814 (%install)


Comment 5 Rob Lazzurs 2008-07-01 14:18:18 UTC
Agreed,

I would suggest then that maybe the fluxbox-xdg-menu should be excluding that
type of .desktop file however it is not.

Should this be a bug filled against that package, sorry but I am unaware of the
Fedora menu policy.

Just let me know what I have to do.

Thanks again.

Comment 6 Neal Becker 2008-07-01 14:50:49 UTC
Sorry, I'm no expert.  Could you please ask on fedora-devel list?  If you don't
have access, I could do it for you.


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