Bug 203263 - Konsole, can not bookmark sshfs mount
Summary: Konsole, can not bookmark sshfs mount
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 05:06 UTC by Carl Fitch
Modified: 2011-06-21 15:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.2
Sentry Crash Report:


Attachments
sorry() message (674 bytes, patch)
2009-10-19 05:39 UTC, Kurt Hindenburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Carl Fitch 2009-08-10 05:06:31 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

After trying many different permutations of moving Konsole 3.5 bookmarks, I still can not find a way of making sshfs mounts with a bookmark entry.

In 3.5: "sshfs -o Port=3345 user@example.com:/home/user /home/user" 

Last permutation attempted: "sshfs://user@example.com:3345/home/user /home/user"

All fail silently, giving no indication of possible syntax problems, solutions, debugging or if the command was even sent to command line. Since this is UNIX, the convention is that a return of nothing means success and that any errors would be output to stderr?
Comment 1 Kurt Hindenburg 2009-10-19 01:10:59 UTC
If you start konsole from a terminal you'll get this:
Konsole::SessionController::openUrl: Unable to open bookmark at url KUrl("sshfs -o Port=3345 user@example.com:/home/user /home/user") , I do not know  how to handle the protocol  ""


I agree the user should get some form of error message.
Comment 2 Kurt Hindenburg 2009-10-19 05:39:02 UTC
Created attachment 37658 [details]
sorry() message

I really don't like this.  KMessageBox has issues with line wrapping.  detailedSorry() doesn't wrap at upon startup.

KMessageBox in a rather sorry state.
bug: 179294
Comment 3 Kurt Hindenburg 2009-11-09 05:45:05 UTC
SVN commit 1046547 by hindenburg:

Alert user if a bookmark's Url is not supported/understood.

CCBUG: 203263


 M  +7 -0      SessionController.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1046547
Comment 4 Carl Fitch 2009-12-17 06:27:46 UTC
Tried with Kubuntu 9.10 and KDE upgraded to 4.3.80 (KDE 4.4 beta 1. Terminal command lines are still unable to be used in bookmarks. All attempts fail silently.
Comment 5 Kurt Hindenburg 2011-03-13 21:34:37 UTC
Git commit 42e7686769154dc0ecd2265b5b1baca2739fca6b by Kurt Hindenburg.
Committed on 13/03/2011 at 20:53.
Pushed by hindenburg into branch 'master'.

Allow user to enter commands as bookmarks.

Previously, bookmarks where converted to KUrls and then only protocols
Konsole knew about internally were processed.  Now if a bookmark has no
KUrl protocol, Konsole just sends the bookmark to the shell.
This will solve issues such as 'ssh user@server -p port tail -f file'
as well as allowing any command to be a bookmark.

BUG: 88867
BUG: 203263
BUG: 253894
BUG: 185962
BUG: 213644
FIXED-IN: 4.6.2

M  +8    -0    src/SessionController.cpp     

http://commits.kde.org/konsole/42e7686769154dc0ecd2265b5b1baca2739fca6b
Comment 6 Chris Bandy 2011-06-21 15:52:23 UTC
This was not fixed in 4.6.2. The referenced commit is missing from the tarballs for 4.6.2, 4.6.3 and 4.6.4.