After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 730885 - short-circuit no-change changes
short-circuit no-change changes
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal minor
: ---
Assigned To: VTE Maintainers
VTE Maintainers
[fixed:vteparser]
Depends on: vteparser
Blocks:
 
 
Reported: 2014-05-28 11:39 UTC by Christian Persch
Modified: 2018-03-27 17:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2014-05-28 11:39:50 UTC
Could short-circuit changing e.g. window-title, icon-title, current-{file,directory}-uri etc when the new string is the same as the old one.
Comment 1 Egmont Koblinger 2014-05-28 12:08:10 UTC
Signals are batched up so only one is sent, even if multiple changes to the same value occur in a very short time.

Short circuiting can happen in vteseq.c:vte_sequence_handler_set_title_internal() and friends, in that case a quick back-n-forth toggling will still emit the signal; or in vte.c:vte_terminal_emit_pending_signals() in which case it won't.