GNOME Bugzilla – Bug 767313
Shouldn't shortcut uri-changed signal
Last modified: 2021-06-10 15:14:09 UTC
If multiple current-directory-uri-changed (or window-title-changed or whatever similar) events occur almost immediately after each other, only a single signal is sent. As such, the container application has no chance to see the ephemeral intermediate value. As reported in bug 709055, when opening a new tab the last seen local directory should be used, that is, if current-directory belongs to a remote host, it should be ignored. One possible approach is to filter out remote hosts on VTE level (and just pretend those OSC 7's were not seen at all), but this would make it impossible to use OSC 7 for the purpose of profile change (https://github.com/gnunn1/terminix/issues/135#issuecomment-224130095) and also I don't think that's the right design. But this means that there might be two OSC 7's right after each other, the first belonging to a local directory, the second belonging to a remote one. In order for being able to open a new tab in the last seen local directory, a signal should be sent for that one too.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/2315.