Opened 9 years ago

Closed 8 years ago

#4844 closed defect (notsugar)

Sugar terminal attempts to display hardware/xterm notification line but fails

Reported by: greenfeld Owned by:
Priority: Unspecified by Maintainer Milestone: Unspecified
Component: Terminal Version: Git as of bugdate
Severity: Major Keywords:
Cc: Distribution/OS: Fedora
Bug Status: Unconfirmed

Description (last modified by greenfeld)

Description of problem:
This is an interaction between two Fedora components.

The Sugar learning environment's Terminal activity reads /etc/profile.d/vte.sh to get its shell prompt. But this prompt attempts to show the previous command run in a GNOME-style notification if the Terminal does not have active focus. This is done using a terminal escape sequence which the Sugar terminal does not have.

Instead; the Sugar terminal will show command prompts like:
{unicode 0x001b}777;notify;Command completed;previous_command[user@hostname directory]#

Version-Release number of selected component (if applicable):
sugar-terminal-44-1.fc22.noarch
vte-profile-0.30.0-1.fc22.i686

How reproducible: Always

Steps to Reproduce:

  1. Start the SoaS Live CD, or log into a Fedora system with Sugar (@sugar-desktop) installed using Sugar as your login environment.
  2. Go through the first-time setup (if applicable) and then press the multiple horizontal line "list" icon from the spiral view.
  3. Scroll down the list and choose the "Terminal" activity.
  4. Look at your shell prompt.

Actual results: An ugly shell prompt

Expected results: Either the vte scripts should not presume every terminal has that capability, Sugar terminal should implement that capability, or Sugar terminal should silently eat the request.

Additional info:
Seen in F22 Final TC3, x86 & x64.

Change History (3)

comment:2 Changed 9 years ago by greenfeld

  • Description modified (diff)
  • Summary changed from Sugar terminal attempts to display hardware/xterm title line but fails to Sugar terminal attempts to display hardware/xterm notification line but fails

comment:3 Changed 8 years ago by quozl

  • Resolution set to notsugar
  • Status changed from new to closed

Custom escape sequence are the responsibility of Vte, not Sugar, not Terminal, not Tilda, not Terminator, not Sakura. GNOME Terminal handles this custom sequence. As the custom sequence is generated by the Vte package (via vte.sh), and not properly consumed by the Vte package (via libvte), the problem is with Vte assuming that GNOME Terminal is in use for all shells.

Closing as not-sugar.

p.s. doesn't occur on Ubuntu 16.04 or 16.10 with Vte 2.91.

Note: See TracTickets for help on using tickets.