[Okular-devel] Review Request 108614: Open url in browser

Albert Astals Cid aacid at kde.org
Thu Feb 21 17:29:27 UTC 2013



> On Feb. 21, 2013, 3:29 p.m., Albert Astals Cid wrote:
> > ui/pageview.cpp, line 2185
> > <http://git.reviewboard.kde.org/r/108614/diff/3/?file=114545#file114545line2185>
> >
> >     This regexp still needs some tweaking, right now if i pass "holahttps://okular.org" it returns https://okular.org that in my opinion is not correct. You should enforce spaces (or newlines or tabs) around the regexp to make sure the url is a single word. Also it would be cool if you could write down all the urls you've used to positively and negatively test the regexp so we can put it in a testcase
> 
> Jaydeep Solanki wrote:
>     You mean "holahttps://okular.org" should not be detected as an url, & "hola https://okular.org" should be.
>     Am I right ??

Exactly


- Albert


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/108614/#review27846
-----------------------------------------------------------


On Feb. 20, 2013, 2:21 p.m., Jaydeep Solanki wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/108614/
> -----------------------------------------------------------
> 
> (Updated Feb. 20, 2013, 2:21 p.m.)
> 
> 
> Review request for Okular.
> 
> 
> Description
> -------
> 
> When selected text is right clicked, it checks for a url, if found, a QAction is added to open the url in the default browser.
> 
> 
> This addresses bug 281027.
>     http://bugs.kde.org/show_bug.cgi?id=281027
> 
> 
> Diffs
> -----
> 
>   ui/pageview.cpp 60a273d 
> 
> Diff: http://git.reviewboard.kde.org/r/108614/diff/
> 
> 
> Testing
> -------
> 
> just check if the icon appears properly, because I have an issue with the icon.
> 
> 
> Thanks,
> 
> Jaydeep Solanki
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20130221/cdbfb997/attachment.html>


More information about the Okular-devel mailing list