Skip to content

Crash after unzooming a single terminal inside a tab #835

@Vulcalien

Description

@Vulcalien

To Reproduce
Open Terminator. Open a tab. Zoom the single terminal in it (Ctrl+Shift+X), then unzoom it.

Desktop: (pretty sure it's not relevant)

  • OS or Linux Distribution: Linux Mint
  • Version: 21
  • Display Technology: X11

Describe the bug
Terminator crashes when unzooming a single terminal inside a tab. When there are 2 or more terminals, the issue doesn't occur. I did a git bisect, and found that the commit introducing the bug is 11639159, pushed for PR #810. The problems seems to be here:

#notify plugins of tab-change
dbg("emit tab-change for tabpos: %s " % tabpos)
term_widget.emit('tab-change', tabpos)
self.set_current_page(tabpos)
widget.grab_focus()

in Notebook.newtab. The problem disappears when term_widget.emit('tab-change', tabpos) is removed.

When it doesn't crash, I see an extremely large number of new tabs, all containing the same terminal. Maybe it gets confused by the fact there is only one terminal..?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions