Bug 94075 - PATCH: Opening files/urls/google search strings with the RMB pop-up menu
Summary: PATCH: Opening files/urls/google search strings with the RMB pop-up menu
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
: 130548 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-28 20:02 UTC by Kurt Hindenburg
Modified: 2007-12-16 00:26 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Adds Open selection to RMB (4.36 KB, patch)
2004-11-28 20:06 UTC, Kurt Hindenburg
Details
Adds Open selection to RMB (4.89 KB, patch)
2004-12-12 18:55 UTC, Kurt Hindenburg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Hindenburg 2004-11-28 20:02:52 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
OS:                Linux

From email to konsole-devel ml by Robert Hogan <robert@roberthogan.net>

Hi there,

I've often found it inconvenient to move from a shell session within konsole 
to another kde-based activity with the same content. For example, opening a 
url from a README, opening a file in kate, even googling on the contents of a 
compiler error.

The attached patch goes some way to removing this inconvenience (for me at 
least).  It allows you to open a file/google for a string/open a url from the 
pop-up menu under the right mouse button. The screenshots at the url below 
give you some idea of how it works.

http://roberthogan.net/konsole/

(Unfortunately, the patch is against 3.3.1 because I can't get the latest cvs 
to compile today for some reason.) Please feel free to commit,discard, 
improve, replace or whatever.

Thanks,
Robert
Comment 1 Kurt Hindenburg 2004-11-28 20:06:07 UTC
Created attachment 8468 [details]
Adds Open selection to RMB

This is Robert's patch converted to CVS/HEAD.  Works O.K. for me for the brief
testing I did.
Comment 2 Kurt Hindenburg 2004-12-12 18:55:29 UTC
Created attachment 8635 [details]
Adds Open selection to RMB

1. Change name to slotOpenSelection
2. Make sure m_filterData is deleted

Note: To have the search item appear, you have to set 'Default search engine'
in kcontrol/Internet & Network/Web Browser/Web Shortcuts.  It appears that
nothing is selected by default.
Comment 3 Andreas Kling 2006-08-07 13:13:13 UTC
*** Bug 130548 has been marked as a duplicate of this bug. ***
Comment 4 Constantin Berzan 2007-09-13 17:17:20 UTC
Konsole in KDE4 has the ability to open many URL types. Now it can also open the file browser at the current location. I think implementing Google searches would be impractical, as eventually people will ask for more search engines, and that would be far out of scope for Konsole.
The only thing left would be to do something about paths printed without the "file://" prefix and URLs without 'http://' or 'www.' But I can't imagine anything that would work for that without misinterpreting all text containing slashes.
Comment 5 Robert Knight 2007-12-16 00:26:17 UTC
Marking as fixed for the reasons Constantin gave above.