Describe the bug
Kitty fails to launch after I had opened and closed a lot of Kitty windows.
After a while it works again.
Edit:
If I happen to still have a Kitty window open, running killall kitty fixes the problem temporarily
To Reproduce
I cannot find an exact way, it simply happens after I opened a lot of instances and closed them again.
Additional context
It works with kitty --config NONE and after a while the normal config works again too.
[005 18:24:14.945337] Traceback (most recent call last):
File "/usr/bin/../lib/kitty/kitty/main.py", line 559, in main
_main()
File "/usr/bin/../lib/kitty/kitty/main.py", line 551, in _main
run_app(opts, cli_opts, bad_lines)
File "/usr/bin/../lib/kitty/kitty/main.py", line 293, in __call__
_run_app(opts, args, bad_lines)
File "/usr/bin/../lib/kitty/kitty/main.py", line 271, in _run_app
boss.start(window_id, startup_sessions)
File "/usr/bin/../lib/kitty/kitty/boss.py", line 1154, in start
self.startup_first_child(first_os_window_id, startup_sessions=startup_sessions)
File "/usr/bin/../lib/kitty/kitty/boss.py", line 407, in startup_first_child
wid = self.add_os_window(startup_session, window_state=wstate, os_window_id=os_window_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/../lib/kitty/kitty/boss.py", line 444, in add_os_window
tm = TabManager(os_window_id, self.args, wclass, wname, startup_session)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/../lib/kitty/kitty/tabs.py", line 881, in __init__
self._add_tab(Tab(self, session_tab=t))
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/bin/../lib/kitty/kitty/tabs.py", line 165, in __init__
self.startup(session_tab)
File "/usr/bin/../lib/kitty/kitty/tabs.py", line 214, in startup
self.new_special_window(spec)
File "/usr/bin/../lib/kitty/kitty/tabs.py", line 549, in new_special_window
return self.new_window(
^^^^^^^^^^^^^^^^
File "/usr/bin/../lib/kitty/kitty/tabs.py", line 533, in new_window
self._add_window(window, location=location, overlay_for=overlay_for, overlay_behind=overlay_behind)
File "/usr/bin/../lib/kitty/kitty/tabs.py", line 501, in _add_window
self.relayout()
File "/usr/bin/../lib/kitty/kitty/tabs.py", line 296, in relayout
self.current_layout(self.windows)
File "/usr/bin/../lib/kitty/kitty/layout/base.py", line 324, in __call__
self.do_layout(all_windows)
File "/usr/bin/../lib/kitty/kitty/layout/tall.py", line 189, in do_layout
self.layout_single_window_group(next(all_windows.iter_all_layoutable_groups()))
File "/usr/bin/../lib/kitty/kitty/layout/base.py", line 337, in layout_single_window_group
wg.set_geometry(geom)
File "/usr/bin/../lib/kitty/kitty/window_list.py", line 120, in set_geometry
w.set_geometry(geom)
File "/usr/bin/../lib/kitty/kitty/window.py", line 818, in set_geometry
self.screen.resize(new_geometry.ynum, new_geometry.xnum)
MemoryError
Describe the bug Kitty fails to launch after I had opened and closed a lot of Kitty windows. After a while it works again. Edit:
If I happen to still have a Kitty window open, running
killall kitty
fixes the problem temporarilyTo Reproduce I cannot find an exact way, it simply happens after I opened a lot of instances and closed them again.
Environment details
Additional context It works with
kitty --config NONE
and after a while the normal config works again too.