First, sorry for using the bug function, unable to locate "Request for Enhancement," as the link on the web site does not take you there. Anyhow, being able to highlight a word or phrase and right click to launch the browser's search function would be way cool and as useful as anything I can think of that is not currently baked into LibreOffice.
Addressing the UX people needs not only the keyword but also ux-advice in CC.
Sounds like an interesting feature. But I would rather implement it as an extension because a) browsing the Internet is out of scope, and b) the question what page is actually loaded (resp. which search engine) is a nightmare. PS: You did it right with setting the enhancement flag, that's the supposed workflow.
It would also be nice to send text to Wikipedia instead of a search engine. A plugin that implemented one could pretty easily implement that also.
I think the feature is cool to be implemented. I have suggestion to add search button in the right click options for the selected text and then to run script which uses the default browser at the user's computer to search through it. Is it a good implementation to start working on it?
I've made the c++ extension needed for the selected text search function github link:https://github.com/ganzourii/LibreOffice_Search_Extension It's reviewed by @quikee and said "Looks good.." :D Could someone help me publish it in the extensions site?
The extension adds a main menu entry Enable > Context Menu Search. I expect that it takes my selected text into a browser search but nothing happens on my system. So at least feedback is missing. Looking at the extension itself it seems to work only for Linux 64bit. The extension misses license, author, description... To share your work, you have to compile for the different platforms, I guess, provide the command per context menu instead of the main menu, and give it some better name like "Search for selection in default Internet browser" (which is too long). And you have to give feedback in case of errors. If the extension is just to prove your C++ skills it might be enough and a good basis for others.
(In reply to Heiko Tietze from comment #6) > The extension adds a main menu entry Enable > Context Menu Search. I expect > that it takes my selected text into a browser search but nothing happens on > my system. So at least feedback is missing. Looking at the extension itself > it seems to work only for Linux 64bit. The extension misses license, author, > description... I will updated the files it didn't come to my mind (license,author,description) It's working in linux yes but i was using LO alreay existing functions for SystemShellExecution i thought it was handling it implicitly. i was adding to preprocessor if condition but i guess there's no need for it i removed it, maybe you could test it again now? > > To share your work, you have to compile for the different platforms, I I don't know how to test it on other platforms but i will search for it. > guess, provide the command per context menu instead of the main menu, and > give it some better name like "Search for selection in default Internet > browser" (which is too long). And you have to give feedback in case of > errors. > > If the extension is just to prove your C++ skills it might be enough and a > good basis for others. I couldn't test the extension on other os
Oh Sorry! i made it specifically for writer at first i will try to generalize it