<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>24735</bug_id>
          
          <creation_ts>2001-04-25 05:03:03 +0000</creation_ts>
          <short_desc>close window doesnt work with open dialog box</short_desc>
          <delta_ts>2006-12-29 23:45:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>konqueror</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Mandrake RPMs</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>raviyella</reporter>
          <assigned_to name="Konqueror Bugs">konqueror-bugs-null</assigned_to>
          <cc>mattr</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>29788</commentid>
    <comment_count>0</comment_count>
    <who name="">raviyella</who>
    <bug_when>2001-04-25 04:59:59 +0000</bug_when>
    <thetext>(*** This bug was imported into bugs.kde.org ***)

Package:           konqueror
Version:           unknown (using KDE 2.1.1 )
Severity:          normal
Installed from:    Linux-Mandrake 8.0 i586
Compiler:          gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
OS:                Linux 2.4.2-11mdksmp i686
OS/Compiler notes: 

If an open dialog box is displayed by one of the konqueror windows and at this time if you try to close any konqueror window (the ones that spawned off the same window that has the open box open. not windows you open by say clicking on the konqueror icon again) it doesnt do anything. only finding and closing the open dialog box will let you close the other windows too.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>29789</commentid>
    <comment_count>1</comment_count>
    <who name="David Faure">faure</who>
    <bug_when>2001-05-05 11:02:52 +0000</bug_when>
    <thetext>On Wednesday 25 April 2001 05:59 raviyella@hotmail.com wrote:
&gt; Package: konqueror
&gt; Version: unknown (using KDE 2.1.1 )
&gt; Severity: normal
&gt; Installed from:    Linux-Mandrake 8.0 i586
&gt; Compiler:          gcc version 2.96 20000731 (Linux-Mandrake 8.0 2.96-0.48mdk)
&gt; OS:                Linux 2.4.2-11mdksmp i686
&gt; OS/Compiler notes: 
&gt; 
&gt; If an open dialog box is displayed by one of the konqueror windows and at this time if you try to close any konqueror window (the ones that spawned off the same window that has the open box open. not windows you open by say clicking on the konqueror icon again) it doesnt do anything. only finding and closing the open dialog box will let you close the other windows too.

That&apos;s called a modal dialog box.

The real fix for this is to minimize the number of dialog boxes (we&apos;ve done
that already) and to try and display errors inside the HTML frame instead
of in a dialog box (still to be done).

-- 
David FAURE david@mandrakesoft.com faure@kde.org
http://perso.mandrakesoft.com/~david/ http://www.konqueror.org/
KDE Making The Future of Computing Available Today</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>254580</commentid>
    <comment_count>2</comment_count>
    <who name="">raviyella</who>
    <bug_when>2004-07-30 23:55:09 +0000</bug_when>
    <thetext>oops...i missed this then....

i think i understand what a modal dialog is, but shouldnt the modal dialog be modal only to its parent window and not to any other windows...

This problem still exists in kde 3.2.1. Try this

1. start konqueror (say this is window 1)
2. click menu &gt; location &gt; new window (ctrl+N) (say this is window 2)
3. in window2 click menu &gt; location &gt; open location (ctrl+o)
4. click ctrl+o again to get the file open dialog box
5. switch to window1
6. try closing window1 now...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>295408</commentid>
    <comment_count>3</comment_count>
    <who name="Matt Rogers">mattr</who>
    <bug_when>2004-12-18 04:35:05 +0000</bug_when>
    <thetext>I can at least confirm the behavior with KDE 3.4 alpha 1, although i&apos;m not really sure we can fix it or if it should even be considered a bug...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>376064</commentid>
    <comment_count>4</comment_count>
    <who name="Pieter Botha">info</who>
    <bug_when>2005-09-25 23:17:00 +0000</bug_when>
    <thetext>Behaviour confirmed with KDE 3.4.2 latest release for Suse 9.3 X64 rpm&apos;s.
I think one should considder thus as a usability bug.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>464182</commentid>
    <comment_count>5</comment_count>
    <who name="Ian Ventura-Whiting">ian</who>
    <bug_when>2006-08-29 14:28:12 +0000</bug_when>
    <thetext>Confirmed on KDE 3.5.3 (using SuSE packages) and KDE 3.5.4 (compiled from source).
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>496840</commentid>
    <comment_count>6</comment_count>
    <who name="Martin Koller">martin</who>
    <bug_when>2006-12-29 23:45:52 +0000</bug_when>
    <thetext>SVN commit 617678 by mkoller:

BUG: 24735

Make the konqueror main window a group leader to ensure modal dialogs from
one window do not block other konqueror main windows


 M  +1 -1      konq_mainwindow.cc  


--- branches/KDE/3.5/kdebase/konqueror/konq_mainwindow.cc #617677:617678
@@ -142,7 +142,7 @@
 }
 
 KonqMainWindow::KonqMainWindow( const KURL &amp;initialURL, bool openInitialURL, const char *name, const QString&amp; xmluiFile)
- : KParts::MainWindow( NoDCOPObject, 0L, name, WDestructiveClose | WStyle_ContextHelp )
+ : KParts::MainWindow( NoDCOPObject, 0L, name, WDestructiveClose | WStyle_ContextHelp | Qt::WGroupLeader )
 {
   setPreloadedFlag( false );
 
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>