Bugzilla will undergo maintenance 2024-03-29 18h00 CET. Bugzilla will be placed in read-only mode at that time.

Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 453696 - [TERMINALS] Locale console view should remember the path between restarts
Summary: [TERMINALS] Locale console view should remember the path between restarts
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: terminal (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 10.3.0   Edit
Assignee: Jonah Graham CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-01 02:33 EST by Lars Vogel CLA
Modified: 2021-05-19 14:57 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2014-12-01 02:33:45 EST
If I open a local terminal and restart Eclipse my path is lost. That limits the usage of the terminal view for me. Would be nice if it could persist its path and try to restore it, at least for local terminals.
Comment 1 Lars Vogel CLA 2020-05-18 07:44:21 EDT
AFAIK Terminal moved to CDT. Jonah, please move to the correct component.
Comment 2 Jonah Graham CLA 2020-05-18 11:52:59 EDT
Sorry I didn't catch this earlier when I moved bugs to CDT. The Summary had terminal in it, but the component was unexpected. I will look at doing another query to see if I can find more. 

In the meantime this bug is already covered by a later bug, but one with a little more background. So I am marking this as a dup of Bug 460495

*** This bug has been marked as a duplicate of bug 460495 ***
Comment 3 Jonah Graham CLA 2020-05-18 11:53:47 EDT
PS Lars, you did move it to the correct product/component -> CDT/terminal :-)
Comment 4 Jonah Graham CLA 2021-05-19 12:53:16 EDT
Reopening because I can solve this one independently of Bug 460495 - at least on Linux.

On Windows and macOS we don't have the way of getting the *current* working directory, so instead my patch will restore to the initial working directory. See Bug 573645
Comment 5 Jonah Graham CLA 2021-05-19 12:53:44 EDT
reopening.
Comment 6 Jonah Graham CLA 2021-05-19 12:59:07 EDT
(In reply to Jonah Graham from comment #4)
> [..] so instead my patch will restore to the initial working
> directory [...]

This matches the thinking earlier by previous devs:

(In reply to Martin Oberhuber from Bug 460495 comment #4)
> As a first step, I'm fine if only the "startup directory" of any terminal is
> restored on restart.
Comment 7 Eclipse Genie CLA 2021-05-19 13:19:23 EDT
New Gerrit change created: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/180785
Comment 9 Jonah Graham CLA 2021-05-19 14:57:49 EDT
Done and added to N&N https://wiki.eclipse.org/CDT/User/NewIn103#Terminal