Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 443046

Summary: [TERMINALS] After restart, the terminal's encoding setting is lost
Product: [Tools] TCF Reporter: Paul Verest <paul.verest>
Component: TargetAssignee: Project Inbox <tcf.tm-inbox>
Status: RESOLVED FIXED QA Contact: Uwe Stieber <uwe.st>
Severity: major    
Priority: P2 CC: aleherb+eclipse, mober.at+eclipse, mschorn.eclipse
Version: 1.2   
Target Milestone: 1.3   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 436001, 460495    

Description Paul Verest CLA 2014-09-01 22:53:25 EDT
After restart current directory and encoding setting are lost.

I opened 2 local shells selecting UTF-8, and doing some work in different dirs.
After Eclipse restart Terminal View and tabs within are restored, directory location falls back to user home and encoding to system default (not selected UTF-8)
Comment 1 Martin Oberhuber CLA 2014-09-03 05:41:53 EDT
I agree that the terminal's encoding must be restored after quit and restart.

Regarding the directory, we'll only be able to restore the directory that the terminal was started with (if started from project explorer). We won't be able to restore the "current directory" since we cannot track the terminal's "current directory" as you start using the shell. That additional request is to some extent discussed in bug 441652 .
Comment 2 Uwe Stieber CLA 2015-02-19 04:04:55 EST
Fixed for the encoding part. Encoding is correctly restored now.

http://git.eclipse.org/c/tcf/org.eclipse.tcf.git/commit/?id=abbb34028ca8e2f480d8282e423eac74b4d13b59
Comment 3 Martin Oberhuber CLA 2015-02-20 23:44:39 EST
I've split the loss of the startup directory into new bug 460495 , which only has "normal" severity.

This allows marking the "encoding" issue as fixed via this bug, which was a major problem.