Opened 16 years ago

Closed 16 years ago

#2257 closed Bug (invalid)

nested dialogs don't work correctly

Reported by: Alfonso Martínez de Lizarrondo Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: FCKeditor 2.6 Beta
Keywords: Confirmed Cc:

Description

Assume that in a dialog you want to show a mini-editor (ex: in the google maps plugin, being able to insert an image or link in the marker text).

So the process is: base editor, launches a dialog (let's name it base-dialog) that contains a minieditor (just another instance with a simplified toolbar).

If a dialog is launched from the minieditor, then there are several problems.

  • First time, the cover frame is show in the main editor, not covering the base-dialog. The insertion point in the minieditor is lost.
  • The second time it seems to work fine.
  • Close base-dialog, and launch it again. Now when you try to launch another dialog from the minieditor, it is shown behind the current base-dialog, and the game is over, you won't be able to get back to the main editor.

I think that at least the last part is important to fix. No matter what happens, no matter if there is any error, the user should be able always to close the dialogs and return back to its content (I mean: there might be other unknown circumstances where there's an error, but that shouldn't mean a reload of the page for the user).

Attachments (1)

Editor.zip (2.0 KB) - added by Alfonso Martínez de Lizarrondo 16 years ago.
sample plugin

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by Alfonso Martínez de Lizarrondo

Attachment: Editor.zip added

sample plugin

comment:1 Changed 16 years ago by Alfonso Martínez de Lizarrondo

this plugin provides a testcase to check the described behavior. load the plugin and add the button to your toolbar ('Editor')

comment:2 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added

Confirmed in IE and FF with the latest SVN version of FCKeditor.

comment:3 Changed 16 years ago by Alfonso Martínez de Lizarrondo

Resolution: invalid
Status: newclosed

The problem in the test case is that I didn't handle properly the z-index, so it's a problem in the developer. Let's close this bug to focus on more interesting things.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy