Bug 161358 - window.close does not work when the window loads a JPEG image.
Summary: window.close does not work when the window loads a JPEG image.
Status: REPORTED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml ecma (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-28 04:33 UTC by alex14641
Modified: 2019-09-22 08:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
same as above (487 bytes, text/html)
2008-04-29 11:20 UTC, A. Spehr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alex14641 2008-04-28 04:33:49 UTC
Version:            (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc 3.4.6 
OS:                Linux

The following code demonstrates the bug. When you move the mouse into the blue area,
a popup window will appear; when the mouse moves out, the window is closed. If the 
window displays text, the window will close; if the window displays an image, it will
not.


<html>
	<head>
		<style type='text/css'>
			.blue { background-color: blue; display: inline; }
		</style>
	</head>
	<body>
		<div onmouseover='wopen();' onmouseout='wclose();' class='blue'>Hello</div>
		<script type='text/javascript'>
			var w;

			function wopen() {
				w = window.open("someimage.jpg", "test", "width=120,height=120");
				// This is needed to work around another bug.
				w.resizeTo(120, 120);
			}

			function wclose() {
				w.close();
			}
		</script>
	</body>
</html>
Comment 1 A. Spehr 2008-04-29 11:20:03 UTC
Created attachment 24553 [details]
same as above
Comment 2 alex14641 2008-04-29 14:46:23 UTC
NOTE: replace the name "someimage.jpg" with the file name of a small image
on your system. 
Comment 3 Andrew Crouthamel 2018-11-02 04:21:08 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 4 alex14641 2018-11-02 15:50:43 UTC
As of KDE 4, this bug is still present.
Comment 5 Andrew Crouthamel 2018-11-02 22:31:15 UTC
(In reply to alex14641 from comment #4)
> As of KDE 4, this bug is still present.

Are you able to test this on Plasma 5?
Comment 6 Andrew Crouthamel 2018-11-16 02:39:05 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version?

Thank you for helping us make KDE software even better for everyone!