Return-Path: X-Original-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DD9E59088 for ; Fri, 15 Jun 2012 03:36:36 +0000 (UTC) Received: (qmail 46861 invoked by uid 500); 15 Jun 2012 03:36:36 -0000 Delivered-To: apmail-incubator-ooo-issues-archive@incubator.apache.org Received: (qmail 46799 invoked by uid 500); 15 Jun 2012 03:36:35 -0000 Mailing-List: contact ooo-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-issues@incubator.apache.org Delivered-To: mailing list ooo-issues@incubator.apache.org Received: (qmail 46777 invoked by uid 99); 15 Jun 2012 03:36:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 03:36:35 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.123] (HELO sif.zones.apache.org) (140.211.11.123) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jun 2012 03:36:32 +0000 Received: by sif.zones.apache.org (Postfix, from userid 80) id BB57576EB; Fri, 15 Jun 2012 03:36:11 +0000 (UTC) From: bugzilla@apache.org To: ooo-issues@incubator.apache.org Subject: [Bug 119994] [From Symphony]Cannot modify the second document even if close range picker in first document Date: Fri, 15 Jun 2012 03:36:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: spreadsheet X-Bugzilla-Component: editing X-Bugzilla-Keywords: X-Bugzilla-Severity: major X-Bugzilla-Who: yunquanp@cn.ibm.com X-Bugzilla-Status: CONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ooo-issues@incubator.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: flagtypes.name Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/ooo/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/ooo/show_bug.cgi?id=119994 pengyunquan changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #78334| |review? Flags| | --- Comment #1 from pengyunquan --- Created attachment 78334 --> https://issues.apache.org/ooo/attachment.cgi?id=78334&action=edit Patch for Bug119994.patch Root Cause : On creation of SD, the Range picker dialog of the SC document is hidden, and it is in nonmodal state. When the new dialog for creation of SD is popped up, in its call of Dialog::SetModalInputMode, it changes its previous execute dialog( the Range picker dialog for SC ) to modal state without check whether the excuting dialog is in modal state. In the case of this bug, the Range picker dialog should not be changed to modal state becaused its range picker is running, and its user event should be handled by the SC document. If the Range picker dialog is incorrectly changed to modal state, it handle the user event and it is hidden, so the document can not respond to the user's mouse click on document, and the document is lock. Solution : In Dialog::SetModalInputMode, if prev-execute dialog is not in modal state, skip prev-execute dialog, and check the prev-prev-dialog, untill find a modal dialog. -- You are receiving this mail because: You are the assignee for the bug.