Bug 131048

Summary: Konqueror should run the application from its own DIR not from home Dir
Product: [Applications] konqueror Reporter: Minaa <trashcan_7606568>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Minaa 2006-07-19 00:36:13 UTC
Version:            (using KDE KDE 3.5.3)
Installed from:    Gentoo Packages
OS:                Linux

When running application from Konqueror it run from the home directory not from its current path
for example I will make a simple bash program to descibe what I mean
---------------------------------------
#!/bin/bash
cp -R . /mnt/hdb1/backup 
----------------------------------------
This script *supposed to* copy all files from its current directory to the /mnt/hdb1/backup/ Dir
when you open this script from Konqueror you will always find your self copying your Home Dir
Konqueror open the applications like that
cd ~
/path/to/app

to get this script to work Properly you need to press F4
and from the command line window you can run the script and in this case it will work fine

Konqueror should NOT do that when opening an application
cd ~
/path/to/app

Konqueror should DO that
cd /path/to/
./app
-----------------------------------------------------------------------------------
The second point is using the open with option
for example if i want to open  /home/mygame/game.exe with WINE HQ
Konqueror do  that
cd ~
wine /home/mygame/game.exe

in this case the game will never work properly

Konqueror SHOULD do  that
cd /home/mygame/
wine game.exe