! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
FYI: New APIs in VTE 0.52
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Egmont Koblinger 2017-12-27 23:06:51 CET
FYI: VTE 0.52 (to be released in March 2018) adds 3 new functionalities and their corresponding APIs (already present in git). It's up to you whether you want to hook up and make config options for them.

Hopefully Ubuntu Bionic 18.04 LTS is going to ship VTE 0.52. If you care about this distro and would like your app to offer these features in this long term support release, you should probably release a new version of your app in time which (conditionally to this VTE version) enables these features.

- vte_terminal_{get,set}_cell_{height,width}_scale: Increased line spacing and character spacing mostly for accessibility for people with imperfect sight.

- vte_terminal_{get,set}_bold_is_bright: Whether escape sequences such as \e[1;35m switch to bright colors in addition to bold (legacy behavior) or switch to bold and leave the color intact (new behavior, required for solarized, base16 and similar modern color schemes). (And while at it, we've removed "Allow bold text" from gnome-terminal's UI, and will probably start deprecating its API in about a year. I see no sane reason for this option to exist.)

- vte_terminal_{get,set}_text_blink_mode: VTE now implements blinking text (\e[5m) and enables it by default, this option lets you disable it or make it conditional to the terminal being (un)focused.

Please refer to VTE's source tree for details, e.g. compile with --enable-gtk-doc and check the generated docs under doc/reference/html/index.html.
Comment 1 Igor editbugs 2018-01-03 15:59:55 CET
Thanks a lot Egmont, I will see how to make use of the new APIs.
Comment 2 Git Bot editbugs 2018-01-06 19:31:16 CET
Igor referenced this bugreport in commit 324e1a45d360f74557169fec4a2285d64a6e7072

Add option to control text blinking

https://git.xfce.org/apps/xfce4-terminal/commit?id=324e1a45d360f74557169fec4a2285d64a6e7072
Comment 3 Igor editbugs 2018-01-13 19:19:36 CET
Egmont, I've implemented support for vte_terminal_set_bold_is_bright, but the terminal is now ignoring the "bold color" setting (vte_terminal_set_color_bold). g-t seems to be behaving the same way for me.
Is this change intended? Thanks!
Comment 4 Git Bot editbugs 2018-01-13 19:30:07 CET
Igor referenced this bugreport in commit 4d22587223baf6c4dcd69c99174fa86063a106e4

Add "Bold is bright" option

https://git.xfce.org/apps/xfce4-terminal/commit?id=4d22587223baf6c4dcd69c99174fa86063a106e4
Comment 5 Egmont Koblinger 2018-01-13 20:05:15 CET
> but the terminal is now ignoring the "bold color" setting

Thanks, Igor, I've filed https://bugzilla.gnome.org/show_bug.cgi?id=792501 for it, let's discuss it over there if you don't mind :)
Comment 6 Git Bot editbugs 2018-01-20 17:38:34 CET
Igor referenced this bugreport in commit 1200fd705f5494037bbdbeb7609ccfb9a86653fb

Add cell spacing options

https://git.xfce.org/apps/xfce4-terminal/commit?id=1200fd705f5494037bbdbeb7609ccfb9a86653fb
Comment 7 Igor editbugs 2018-01-20 17:39:26 CET
New features added.
Thanks a lot, Egmont!
Comment 8 Egmont Koblinger 2018-09-07 18:16:09 CEST
FYI: vte-0.56 / gnome-terminal 3.32 (March 2019) will flip the default of "bold is bright" to false.

It's of course entirely up to you whether you follow us or not.
Comment 9 Igor editbugs 2018-09-07 19:27:21 CEST
Egmont, thanks for the heads up! But I think I'll leave it on by default since this is the behavior our users are used to.

Bug #14127

Reported by:
Egmont Koblinger
Reported on: 2017-12-27
Last modified on: 2018-09-07

People

CC List:
0 users

Version

Version:
unspecified

Attachments

Additional information