Bug 161134 - tabs in konqueror are working not good
Summary: tabs in konqueror are working not good
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 09:54 UTC by Linar Khayrullin
Modified: 2008-08-24 18:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcase part#1 (233 bytes, text/plain)
2008-06-02 23:02 UTC, Florian Reinhard
Details
testcase part#2 (344 bytes, text/plain)
2008-06-02 23:03 UTC, Florian Reinhard
Details
testcase part#1 fixed (218 bytes, text/html)
2008-08-24 18:07 UTC, Dominik Tritscher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linar Khayrullin 2008-04-22 09:54:46 UTC
Version:           3.5.8 (using 3.5.8, Kubuntu (gutsy) 4:3.5.8-0ubuntu3.3)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

i opened two tabs in one window.
in both tabs i have <iframe> tags and <div> tags with the same id 'content'.
and when i execute the following js code in the iframe on second tab:
window.parent.document.getElementById('content').innerHTML=document.getElementById('content').innerHTML;
// copy the html code from iframe to the parent window

so when i did this, html code from iframe of second tab was moved to the div element of first tab. i don't know why.
i did this experiment many times, but the result was the same.
hope you'll resolve it, if it's bag.
thanks
Comment 1 Florian Reinhard 2008-06-02 23:02:15 UTC
I'm not sure if i really understand what you were trying to do. i created a testcase, please modify/replace it so it fit's your needs.
Comment 2 Florian Reinhard 2008-06-02 23:02:52 UTC
Created attachment 25071 [details]
testcase part#1
Comment 3 Florian Reinhard 2008-06-02 23:03:17 UTC
Created attachment 25072 [details]
testcase part#2
Comment 4 Florian Reinhard 2008-06-02 23:04:19 UTC
Comment on attachment 25071 [details]
testcase part#1

testcase part#1testcase part#1
Comment 5 Florian Reinhard 2008-06-02 23:05:36 UTC
arr, forgot that filenames get lost: #1 testcase_161134.html, #2 testcase_161134-iframe.html
Comment 6 Jaime Torres 2008-07-12 12:42:07 UTC
I'm unable to reproduce it in konqueror 4 svn trunk r828814 (almost 4.1rc1)
Comment 7 Dominik Tritscher 2008-08-24 18:07:27 UTC
Created attachment 27024 [details]
testcase part#1 fixed

The part#1 of the testcase contained an error: The id="content" must be assigned to the div-container, not the iframe.
By testing this fix, the intended behaviour (copying text from inner div within the iframe, to the div in the root document) can now be reproduced.
Comment 8 Dominik Tritscher 2008-08-24 18:09:10 UTC
So as stated above, the testcase now shows the intended behaviour. Also it does NOT copy content from one tab to another, so I'm closing this bug.