Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create working config file with 5 terminals #409

Closed
horschi opened this issue Mar 22, 2021 · 5 comments
Closed

Cannot create working config file with 5 terminals #409

horschi opened this issue Mar 22, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@horschi
Copy link

horschi commented Mar 22, 2021

Describe the bug
I am trying to create a config file that creates 4 VPaned and 5 Terminals. But when starting terminator with the config, only 4 terminals are visible. It seems one terminal is sized very small so that it is not visible.

Strangely it works fine if I strip the config down to 3 Terminals.

Edit: It also works with the "-d" option.

To Reproduce
Steps to reproduce the behavior:

  • Extract config file from configs.zip
  • Execute: terminator -u --config myconf.config
  • Only 4 terminals are visible for me, as seen in Screenshot

Expected behavior
I would expect that all 5 terminals are visible.

Screenshots
Screenshot at 2021-03-22 09-35-02

Desktop (please complete the following information):

  • OS: Linux Mint Mate 19.3 (Tricia) / Ubuntu bionic
  • Terminator: 1.91

Additional context
Config files:
myconf3.config -> Works fine, opens 3 terminals
myconf.config -> Shows only 4 of 5 terminals
configs.zip

Stdout:

$ terminator -u --config  mycnf.config 

(terminator:3200): dbind-WARNING **: 09:38:16.077: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Unable to load Keybinder module. This means the hide_window shortcut will be unavailable
Unable to bind hide_window key, another instance/window has it.
Traceback (most recent call last):
  File "/usr/share/terminator/terminatorlib/paned.py", line 312, in wrapcloseterm
    Terminator().find_terminal_by_uuid(sibling.get_toplevel().last_active_term.urn).grab_focus()
AttributeError: 'NoneType' object has no attribute 'grab_focus'
<window.Window object at 0x7f46ccac9cd0 (terminatorlib+window+Window at 0x55913fc22260)> is not in registered window list
$
@horschi
Copy link
Author

horschi commented Mar 22, 2021

I just ran terminator with the "-d" option and it works. Is this perhaps a race condition in terminator and debug logging slows things down?

Here is the debug log:
debuglog.txt

@mattrose
Copy link
Member

That's ... weird. And, of course, a heisenbug

@horschi
Copy link
Author

horschi commented Mar 22, 2021

@mattrose : Well, logging takes time and therefore changes the timing inside applications :-)

@mattrose mattrose added the bug Something isn't working label May 31, 2021
@Vulcalien
Copy link
Member

This bug may have been fixed by this #442 pull request. I couldn't reproduce it, but this seems a very similar case.

@mattrose
Copy link
Member

Can confirm. PR #442 fixes this, or at least, it's fixed in master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants