terminal icon indicating copy to clipboard operation
terminal copied to clipboard

Terminal write a lot to gsetting

Open mrquyetdx opened this issue 6 years ago • 6 comments

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.

mrquyetdx avatar Jan 12 '19 09:01 mrquyetdx

Same on 5.3.4, on Ubuntu 18.10 from ppa.launchpad.net/elementary-os/stable/ubuntu

dmchmk avatar Apr 26 '19 04:04 dmchmk

It is caused by save_state function

leaeasy avatar May 19 '19 08:05 leaeasy

Reproduced in Archlinux with pantheon-terminal-5.4.0-1. it's writing almost 60MBps.

syhrz avatar Dec 30 '19 12:12 syhrz

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?

jeremypw avatar Dec 30 '19 12:12 jeremypw

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?

jeremypw avatar Dec 30 '19 12:12 jeremypw

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.

jeremypw avatar Dec 30 '19 13:12 jeremypw