<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mate-terminal/src, branch osc-profile-overrides</title>
<subtitle>MATE terminal emulator application</subtitle>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/'/>
<entry>
<title>terminal-screen: reset OSC color overrides on profile change</title>
<updated>2026-05-15T16:37:34+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2026-05-15T16:36:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=2e2c42962d4f6ecbbd6ed70dd48c3815165740da'/>
<id>2e2c42962d4f6ecbbd6ed70dd48c3815165740da</id>
<content type='text'>
VTE maintains a two-layer color system where colors set via OSC 10/11
escape sequences take precedence over colors set via the API When
switching profiles, the API-layer colors were updated but any active OSC
overrides would persist, causing the profile's colors to be ignored.
This feeds OSC 110/111 reset sequences after setting profile colors to
clear the override layer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VTE maintains a two-layer color system where colors set via OSC 10/11
escape sequences take precedence over colors set via the API When
switching profiles, the API-layer colors were updated but any active OSC
overrides would persist, causing the profile's colors to be ignored.
This feeds OSC 110/111 reset sequences after setting profile colors to
clear the override layer.
</pre>
</div>
</content>
</entry>
<entry>
<title>terminal-screen: prefer OSC 7 for current working directory</title>
<updated>2026-05-06T17:28:37+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2026-04-09T21:03:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=439707b511e84a2eeabddcb1e1b7946956008626'/>
<id>439707b511e84a2eeabddcb1e1b7946956008626</id>
<content type='text'>
Use the current directory URI (set by the shell via OSC 7 escape
sequence) to determine the working directory for new tabs, instead of
reading /proc. This works inside tmux/screen/sudo, preserves symlink
components, and is consistent with other VTE-based terminal emulators.

The /proc-based detection is kept as a fallback for shells that don't
emit OSC 7 (e.g. vte.sh is not sourced). The initial working directory
is used as a final fallback, and the separate _with_fallback variant is
folded into the main function so all callers benefit from the complete
fallback chain.

Adapted from https://gitlab.gnome.org/GNOME/gnome-terminal/-/commit/cf3cad87

Fixes #195
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the current directory URI (set by the shell via OSC 7 escape
sequence) to determine the working directory for new tabs, instead of
reading /proc. This works inside tmux/screen/sudo, preserves symlink
components, and is consistent with other VTE-based terminal emulators.

The /proc-based detection is kept as a fallback for shells that don't
emit OSC 7 (e.g. vte.sh is not sourced). The initial working directory
is used as a final fallback, and the separate _with_fallback variant is
folded into the main function so all callers benefit from the complete
fallback chain.

Adapted from https://gitlab.gnome.org/GNOME/gnome-terminal/-/commit/cf3cad87

Fixes #195
</pre>
</div>
</content>
</entry>
<entry>
<title>profile-editor: fix color scheme combo not restoring selection</title>
<updated>2026-05-06T17:28:07+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2026-03-16T18:58:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=a4311214f6e2dc7ec7ff06878ed268ef011c7c67'/>
<id>a4311214f6e2dc7ec7ff06878ed268ef011c7c67</id>
<content type='text'>
The built-in color scheme dropdown always showed "Custom" when reopening
the profile editor. Two bugs were present:

- color comparison was called as pointer-to-pointer comparison, which
  always fails.

- gdk_rgba_equal does exact floating-point comparison, which is too
  strict for colors that have been round-tripped through GSettings
  string serialization. Using the fuzzy rgba_equal function fixes that.

Fixes #486
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The built-in color scheme dropdown always showed "Custom" when reopening
the profile editor. Two bugs were present:

- color comparison was called as pointer-to-pointer comparison, which
  always fails.

- gdk_rgba_equal does exact floating-point comparison, which is too
  strict for colors that have been round-tripped through GSettings
  string serialization. Using the fuzzy rgba_equal function fixes that.

Fixes #486
</pre>
</div>
</content>
</entry>
<entry>
<title>terminal-screen: Fix empty title after exiting curses programs</title>
<updated>2026-03-09T12:38:06+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2026-02-25T16:16:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=1200182163817f08eda4eb6b9fb34e7582bd6a3a'/>
<id>1200182163817f08eda4eb6b9fb34e7582bd6a3a</id>
<content type='text'>
When curses programs send empty title escape sequences on exit, the
window title would become blank in replace mode instead of reverting to
the initial title. Fix by checking for both NULL and empty string before
falling back to the static title.

Fixes #479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When curses programs send empty title escape sequences on exit, the
window title would become blank in replace mode instead of reverting to
the initial title. Fix by checking for both NULL and empty string before
falling back to the static title.

Fixes #479
</pre>
</div>
</content>
</entry>
<entry>
<title>window: Add icon session persistence</title>
<updated>2026-01-20T20:36:30+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2026-01-13T16:49:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=72e82009ab236c2edb16827905b0aeb5bfc61a11'/>
<id>72e82009ab236c2edb16827905b0aeb5bfc61a11</id>
<content type='text'>
Store and persist window icons in session config files. Icons set via
the command line are now saved during session management and restored
when loading config files.

Also adds error reporting for invalid icon file paths.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Store and persist window icons in session config files. Icons set via
the command line are now saved during session management and restored
when loading config files.

Also adds error reporting for invalid icon file paths.
</pre>
</div>
</content>
</entry>
<entry>
<title>options: Re-introduce the icon option</title>
<updated>2026-01-20T20:36:30+00:00</updated>
<author>
<name>Victor Kareh</name>
<email>vkareh@redhat.com</email>
</author>
<published>2025-08-19T15:13:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=94734444297bc6ba359fdb480dfa1c7be9561944'/>
<id>94734444297bc6ba359fdb480dfa1c7be9561944</id>
<content type='text'>
Since profiles do not provide a way of setting the window icon, we
re-introduce the --icon option to allow the window instance to report an
icon programmatically.

Fixes https://github.com/mate-desktop/mate-terminal/issues/246
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since profiles do not provide a way of setting the window icon, we
re-introduce the --icon option to allow the window instance to report an
icon programmatically.

Fixes https://github.com/mate-desktop/mate-terminal/issues/246
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not suppress resize hints on X11</title>
<updated>2025-08-08T07:43:40+00:00</updated>
<author>
<name>lukefromdc</name>
<email>lukefromdc@hushmail.com</email>
</author>
<published>2025-08-08T07:39:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=d3977a7f55d56c24f8f53e5ac481c469dbd59eef'/>
<id>d3977a7f55d56c24f8f53e5ac481c469dbd59eef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>terminal-window: Factor CSDs into geometry hints</title>
<updated>2024-02-18T13:10:28+00:00</updated>
<author>
<name>Brian Norris</name>
<email>briannorris@chromium.org</email>
</author>
<published>2024-02-16T00:10:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=d7c96c4e06702084b6104a1a167e922152404b6f'/>
<id>d7c96c4e06702084b6104a1a167e922152404b6f</id>
<content type='text'>
It seems Wayland-based window managers provide additional decorations
that we're not tracking in our "preferred size" computations. This means
every geometry update shrinks the window by a bit.

Factor in the allocated dimensions, not just the preferred ones.

Borrows some ideas from
https://bugzilla.gnome.org/show_bug.cgi?id=769898

I also drop a few unused values leftover from gnome-terminal.

Fixes #350
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It seems Wayland-based window managers provide additional decorations
that we're not tracking in our "preferred size" computations. This means
every geometry update shrinks the window by a bit.

Factor in the allocated dimensions, not just the preferred ones.

Borrows some ideas from
https://bugzilla.gnome.org/show_bug.cgi?id=769898

I also drop a few unused values leftover from gnome-terminal.

Fixes #350
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid unprocessed file URIs being pasted to the terminal.</title>
<updated>2023-12-10T17:46:43+00:00</updated>
<author>
<name>cristian64</name>
<email>cristian64@gmail.com</email>
</author>
<published>2023-11-24T13:32:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=9d043b40b70fd48d0297e7768cb940197ff9245c'/>
<id>9d043b40b70fd48d0297e7768cb940197ff9245c</id>
<content type='text'>
The `uris_as_paths` member, which is set to `true` when the paste
command has been triggered by the **Paste Filenames** action, was being
checked too late: a file URI was ultimately being entered to the
terminal, as opposed to the expected plain text version.

Test plan:

- Copy a file in Caja, or in any other file explorer that inserts the
  `text/uri-list` and `text/plain` MIME formats into the clipboard.
- Paste the file in a MATE Terminal either via `Ctrl+Shift+V`, or via
  the **Paste** action in the context menu.

Without this change, a file URI is entered. For example:

```
file:///home/jane.doe/my%20pictures/foo%20bar.jpg
```

With this change, a regular filepath [that the filesystem can recognize]
is pasted. For example:

```
/home/jane.doe/my pictures/foo bar.jpg
```

Note that the behavior of the **Paste Filenames** context menu action
remains unchanged (i.e. file URIs are still converted to regular paths
surrounded by single quotes).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `uris_as_paths` member, which is set to `true` when the paste
command has been triggered by the **Paste Filenames** action, was being
checked too late: a file URI was ultimately being entered to the
terminal, as opposed to the expected plain text version.

Test plan:

- Copy a file in Caja, or in any other file explorer that inserts the
  `text/uri-list` and `text/plain` MIME formats into the clipboard.
- Paste the file in a MATE Terminal either via `Ctrl+Shift+V`, or via
  the **Paste** action in the context menu.

Without this change, a file URI is entered. For example:

```
file:///home/jane.doe/my%20pictures/foo%20bar.jpg
```

With this change, a regular filepath [that the filesystem can recognize]
is pasted. For example:

```
/home/jane.doe/my pictures/foo bar.jpg
```

Note that the behavior of the **Paste Filenames** context menu action
remains unchanged (i.e. file URIs are still converted to regular paths
surrounded by single quotes).
</pre>
</div>
</content>
</entry>
<entry>
<title>Tabs: only invoke naming dialog to doubleclick on tab header</title>
<updated>2023-09-23T21:41:07+00:00</updated>
<author>
<name>lukefromdc</name>
<email>lukefromdc@hushmail.com</email>
</author>
<published>2023-09-20T05:11:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.mate-desktop.org/mate-terminal/commit/?id=97351f49ee3b9510f76b4e0c2a997ae334940de8'/>
<id>97351f49ee3b9510f76b4e0c2a997ae334940de8</id>
<content type='text'>
Do not show the tab rename dialog when terminal window content is doubleclicked in terminal apps using the mouse
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not show the tab rename dialog when terminal window content is doubleclicked in terminal apps using the mouse
</pre>
</div>
</content>
</entry>
</feed>
