Opened 10 years ago

Last modified 8 years ago

#10745 confirmed Bug

[FF&Inline] Cells selection is lost when merging cells

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone:
Component: Core : Selection Version: 4.0
Keywords: Cc: charis, Ales Seifert, Marian Kmet, gaoheng, richard@…

Description (last modified by Wiktor Walc)

  1. Open inlinebycode sample.
  2. Select two cells.
  3. Right click -> cells -> merge cells.
  4. Nothing happened - only left cell is selected. In the error console the following is reported:
    TypeError: e.getDocument is not a function

To debug add if ( !isDetect ) debugger; statement at the beginning of mergeCells function. See that when this function is called the selection is already broken, so only one cell is returned from getSelectedCells.

Note: mergeCells is called with isDetect flag when opening ctx menu and at this point selection is correct.

Change History (5)

comment:1 Changed 10 years ago by Piotrek Koszuliński

Status: newconfirmed

comment:2 Changed 8 years ago by Wiktor Walc

Cc: charis Ales Seifert Marian Kmet gaoheng added

Duplicates: #9770, #10736, #11072, #13588

comment:3 Changed 8 years ago by Wiktor Walc

Cc: richard@… added
Version: 4.0

comment:4 Changed 8 years ago by Wiktor Walc

Also confirmed by testing other scenario: having a relatively large table and selecting a group of cells in the middle.

comment:5 Changed 8 years ago by Wiktor Walc

Description: modified (diff)
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