terminal
terminal copied to clipboard
Terminal write a lot to gsetting
I'm using terminal version 5.3.3 from Arch Aur (pantheon-terminal-git r1769.11e3666-1). Each time terminal runs, it writes a lot to gsetting entry: /io/elementary/terminal/saved-state/tabs. Here is an extract from G_MESSAGES_DEBUG=all io.elementary.terminal:
(io.elementary.terminal:22536): dconf-DEBUG: 16:32:28.396: change_fast (io.elementary.terminal:22536): dconf-DEBUG: 16:32:28.396: change_notify: /io/elementary/terminal/saved-state/tabs
and there is a lot of this. An effect is 50% of disk I/O is caused by this behaviour.
Same on 5.3.4, on Ubuntu 18.10 from ppa.launchpad.net/elementary-os/stable/ubuntu
It is caused by save_state function
Reproduced in Archlinux with pantheon-terminal-5.4.0-1. it's writing almost 60MBps.
Sounds like some kind of loop - the state is not really changing that much normally. Is this happening when the app is static or is something happening?
Doesn't happen on ElementaryOS 5.1 so will have to investigate on Ubuntu. So, does the state of `io/elementary/terminal/saved-state/tabs' continuously change visibly when viewed with with dconf-editor even when the tab locations are not changing?
The latest version from the given ppa is based on Ubuntu 18.04 and cannot be expected to run properly on distros with different library versions. I tried running it on Ubuntu 18.04 installing only the elementary app theme and icon theme in addition to terminal dependencies and did not see this problem.