Bug 239962

Summary: Opening link via xdg-open/kfmclient falsely triggers launch feedback (bouncy cursor)
Product: [Unmaintained] rekonq Reporter: Manuel Nickschas <sputnick>
Component: generalAssignee: Andrea Diamantini <adjam7>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: NOR    
Version: 0.4.90   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 237890    

Description Manuel Nickschas 2010-05-29 12:50:10 UTC
Version:           0.4.90 (using Devel) 
OS:                Linux

When already having an open instance of rekonq, and then triggering loading of a page from an external program, such as xdg-open (which ultimately execs kfmclient), the page is opened in a new tab in he existing instance of rekonq, *but* I also get launch feedback. This means that the cursor starts bouncing and a new taskbar entry with "rekonq" and busy icon appears for 30 seconds or so.

Instead, the page should be opened in the existing instance, and the existing taskbar entry should be highlighted/alerted and possibly the window brought to front. No launch feedback should be triggered.

Reproducible: Always

Steps to Reproduce:
1. Start an instance of rekonq
2. kfmclient exec http://google.com


Actual Results:  
The page is opened in the existing instance, but I also get a new taskbar entry and a bouncy cursor

Expected Results:  
The page should be opened in the existing instance, as it is now, but then the taskbar entry should be alerted/highlighted and no launch feedback should be triggered

OS: Linux (x86_64) release 2.6.34-rc6-61527-ga7c5427
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Andrea Diamantini 2010-06-06 23:32:15 UTC
Don't know why you say so, But I tried setting konqueror & firefox as default browser and they have the same rekonq behavior. Is this different in your box?
Comment 2 Manuel Nickschas 2010-06-09 12:01:10 UTC
Just tried it again, it is indeed broken in all browsers *except* konqueror. Never noticed that, because Konq is my default browser usually, and only when I tried switching that to rekonq, I noticed it was broken.

The difference between Konqueror and rekonq (and others) is, that having it as default and using kfmclient or xdg-open to open an URL, the busy cursor keeps bouncing for half a minute and a bogus taskbar entry is shown with rekonq (even though the page is opened in the existing instance as it should be!), whereas with Konqueror, the busy cursor goes away immediately as well as the superfluous taskbar entry that's only visible for a splitsecond.
Comment 3 Andrea Diamantini 2010-06-27 00:01:05 UTC
We did it the right way. If there is a bug here, it is in the management of desktop entries for KUniqueApplications..