Terminator crash when change selection of layout in layout editor

Bug #1944659 reported by Sean Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Terminator
New
Undecided
Unassigned

Bug Description

Problem:
            1. When open preference layout editor, If you select a leaf item of a layout on the right panel
            2. Then change to select another layout name on the left, the terminator will crash.
    Reason:
            1. When changing the layout name in the left panel, the TreeStore of the LayoutEditor will be cleared by calling treestore.clear() in LayoutEditor.setLayout().
            2.When the LayoutEditor.treestore.clear(), LayoutEditor.on_layout_item_selection_changed() while be triggered.
            3. Since the layout name has been changed, it can't find an old layout_item in a new layout in LayoutEditor.set_layout_item().
Environment:
    Distributor ID: Ubuntu
    Description: Ubuntu 21.04
    Release: 21.04
    Codename: hirsute
Version: 2.1.0

Revision history for this message
Sean Wang (wxwok) wrote :
Sean Wang (wxwok)
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.