Bug 160428

Summary: window.alert misuse: User is unable to exit gracefully from this page without killing konqueror
Product: [Applications] konqueror Reporter: Pacho Ramos <pacho>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: maksim, ruchir.brahmbhatt, zahl
Priority: NOR Keywords: triaged
Version: 3.5   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: creates subsequently some alert window by JavaScript

Description Pacho Ramos 2008-04-05 21:02:22 UTC
Version:            (using KDE 3.5.9)
Installed from:    Mandriva RPMs
OS:                Linux

From https://qa.mandriva.com/show_bug.cgi?id=39813

This link will send you to a site that opens windows until you will explode of
nervs:
http://rain.prohosting.com/boyarul/cateva_reguli.html

There isn't anyway for exiting it except killing konqueror. I think that user
should be able to close tab even forcing it without exiting all.

Thanks
Comment 1 Axel Solbach 2008-04-21 11:35:58 UTC
Created attachment 24469 [details]
creates subsequently some alert window by JavaScript
Comment 2 Axel Solbach 2008-04-21 11:37:50 UTC
Still in KDE4 trunk.
This is not a error but the expected inconvenient behaviour. The Testcase below (which is a simplification of the html file linked above) creates subsequently a bunch of  javascript error message (window.alert("...")) which will be displayed as a KNotification. The main window looses input focus and hence it is not possible to interact with the main window. Closing a tab or the whole application is not possible until all error message has been closed.
Comment 3 A. Spehr 2008-04-23 08:54:15 UTC
It might be the expected behavior, but it is very annoying, and perhaps should be limited. 
Comment 4 A. Spehr 2008-07-25 13:01:12 UTC
http://bugs.kde.org/show_bug.cgi?id=88219 for a similar issue (different function) in terms of "how many windows can you open how quickly" misuse
Comment 5 A. Spehr 2008-07-25 13:10:27 UTC
also c.f. http://bugs.kde.org/show_bug.cgi?id=107918
Comment 6 Ruchir Brahmbhatt 2009-06-23 14:55:31 UTC
Not sure if this is a bug. This happens in all browsers. I tested in firefox and konqueror. The difference is that, in firefox, I could close tab by quickly pressing close button after hitting enter for prompt.
Comment 7 Myriam Schweingruber 2012-06-18 14:07:40 UTC
Message from the Bugsquad and Konqueror teams:
This bug is closed as outdated, as we do not have the manpower to maintain the KDE3 version anymore.
If you still can reproduce this issue with Konqueror 4.8.4 or later, please open a new report.
Thank you for your understanding.