unable to launch atlantik in kde4

Bug #218138 reported by smlx
6
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Fix Released
Medium
Yuriy Kozlov
Hardy
Fix Released
Medium
Unassigned

Bug Description

after installing atlantik from the repos, I am unable to launch it:
 - selecting it from the application launcher menu fails silently
 - Alt-F2 to bring up krunner and typing 'atlantik' <enter> works, but if I type just part of the word 'atlanti' and hit <enter>, it will fail with "KDEInit could not launch '/usr/bin/atlantik'."

looks like the launcher tries to find the programme in the wrong location...?

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Thank you for filing this bug. I can confirm this on current Hardy. I can launch Atlantik from konsole, but not from kickoff or krunner. For some reason atlantik is installed to /usr/games, while the desktop file probably points to /usr/bin/atlantik

Changed in kdegames:
status: New → Confirmed
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

This actually affects all KDE3 games that are installed to /usr/games, and is caused by this line in kubuntu_01_kde3_menu_applications.diff

+ if (kde3application && !m_strExec.startsWith("/"))
+ m_strExec = "/usr/bin/"+m_strExec;

Changed in kdegames:
assignee: nobody → yuriy-kozlov
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Attaching a patch against kde4libs to launch kde 3 games from /usr/games/.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kde4libs - 4:4.0.4-0ubuntu1~hardy3

---------------
kde4libs (4:4.0.4-0ubuntu1~hardy3) hardy-backports; urgency=low

  * Modified debian/patches/kubuntu_01_kde3_menu_applications.diff to
    launch KDE 3 games correctly, since they are installed to /usr/games
    and not /usr/bin (LP: #218138)

 -- Yuriy Kozlov <email address hidden> Mon, 12 May 2008 23:01:47 -0400

Changed in kde4libs:
status: Triaged → Fix Released
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Attaching a debdiff against kde4libs 4.0.3 for hardy-updates.

Revision history for this message
Jonathan Riddell (jr) wrote :

Accepted into hardy-proposed, please fix.

Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

TEST CASE:
1. Install the package atlantik
2. Hit Alt+F2 to bring up krunner
3. Type in atlantik
4. Double click on Atlantik/KDE3 (Application)
5. Without the patch, error message says "KDEInit could not launch '/usr/bin/atlantik'." with the patch, atlantik starts correctly.
Similarly for any other KDE 3 game.

Revision history for this message
Martin Böhm (martin.bohm) wrote :

I have tested the fix. It seems to launch Atlantik alright, but it still displays several glitches:

1. Krunner stays open the whole time Atlantik is open.
2. Krunner still displays the error message after Atlantik is closed.

Steve Langasek (vorlon)
Changed in kde4libs:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Yuriy Kozlov (yuriy-kozlov) wrote :

Martin,
As we discussed, you get a different error message and I think that is a separate problem, see bug 184337. I don't think your "new" error message is related to this patch, but please test if you get it with various KDE3 and 4 applications with and without the patch.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to hardy-updates.

Changed in kde4libs:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.