[rekonq] detachTab bug

Tirtha Chatterjee tirtha.p.chatterjee at gmail.com
Sun Aug 7 15:03:53 UTC 2011


In mainview.cpp, in detachTab method, we have these lines

if (u.scheme() == QL1S("about"))
    {
        closeTab(index);
        rApp->loadUrl(u, Rekonq::NewWindow);
    }
    else
    {...

This is causing a bug. detachTab(index, toWindow = 0) takes the window
as an argument, but if the tab is an about:*** page, it opens in a
completely new window. So why this special condition? any clues?
git blame tells me Pierre and Andrea wrote this code, so please help me :-)
The bug is especially important to me since i am using detachTab() to
allow the drag-drop between active sessions in the panorama.
-- 
Regards
Tirtha Chatterjee
KDE developer
http://wyuka.co.cc/


More information about the rekonq mailing list