Bug SS-4604
1 vote

Children issues in Text Region

Created by Davide on 9/20/2019 12:07 PM Last Updated by smath on 9/21/2019 3:16 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

Duplicating a text region with children inside by CTRL+mouse drag results in corrupted children on cloned region ("missing" tag)

    smath (Saturday, September 21, 2019 3:16 PM) #

Regarding Ctrl-Enter inside text regions, do we really need a change? Shift+Enter also works as line break, while Ctrl+Enter in MS Word means page break, which is actually the same in SMath Studio.

    Martin Kraska (Saturday, September 21, 2019 2:25 PM) #

Hotkey issues, update

  • Ctrl-Enter inside text regions used to create a line break, but now inserts a separator line
  • Ctrl-G doesn't work in embedded math regions
  • After inserting a math region by ALT++ (instead of ALT+= on german keyboard) the focus goes to the File Tab of the main menu. You have to press ESC or use the mouse to re-gain focus to the inserted math region.

 

    Davide (Friday, September 20, 2019 5:27 PM) #

Ok :-)

    smath (Friday, September 20, 2019 3:20 PM) #

Davide, no need to do this as all listed issues are critical and I'm already working on them. Will try to handle them in the scope of this ticket.

    Davide (Friday, September 20, 2019 3:16 PM) #

Title changed, since there are several issues listed here. If I have enough time later I'll open a separate issue for each one.

    Martin Kraska (Friday, September 20, 2019 3:13 PM) #

Hotkey issues, update

  • Ctrl-Enter inside text regions used to create a line break, but now inserts a separator line
  • Ctrl-G doesn't work in embedded math regions

    smath (Friday, September 20, 2019 12:54 PM) #

Thanks Martin. Absolutely gree. Will fix it.

I think I will just restore previous functionality.

    Martin Kraska (Friday, September 20, 2019 12:51 PM) #

Hotkeys might require a revision.

E.g. Ctrl-Enter inside text regions used to create a line break, but now inserts a separator line. I guess this isn't what the user wants in most cases.

 

    smath (Friday, September 20, 2019 12:29 PM) #

Thank you Davide!

Actually there are several known issues with Children Regions:

  1. Lost children Regions on cloning with Ctrl+move;
  2. Issues with Redo history (Undo works ok);
  3. Impossible to correctly open a file which contains TextRegion inside TextRegion (save works good) - related to translatable Region behavior;
  4. Graphical glitches happens sometimes on file open (reason is not clear for now; hard to reproduce);
  5. Breakpoints functionality does not work for Children Regions.

In addition there are some improvements to be done:

  1. Performance should be improved;
  2. Margins for children Regions must be removed;
  3. Container Region must be able to handle page end correctly to render next line on the next page if line cannot fit to page.