-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug-760] working directory feature is broken #804
Closed
vssdeo
wants to merge
3
commits into
gnome-terminator:master
from
vssdeo:760-working-directory-feature-is-broken
Closed
[bug-760] working directory feature is broken #804
vssdeo
wants to merge
3
commits into
gnome-terminator:master
from
vssdeo:760-working-directory-feature-is-broken
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…n layout is pressed - it does get updated if the window is closed by pressing top x close icon. - on pressing Save, it seems that the prefseditor takes this from current_layout = terminator.describe_layout() and saves it in config - whereas the current changes are done per key stroke and config is updated - this patch copies the parameters like directory and command when Save is press and on_layoutrefreshbutton_clicked() is called - Hence working dir and command are copied when Save is pressed using uuid to match terminals. - If there is a command registered then the terminal runs the command and exits. so one is not able to see the results.
Note: issue #760 update by the reporter notes that, it does not work for him though the update of directory and command is done, I am following up on that |
Let's wait for this one, cross-checking all conditions |
- directory was not getting expanded for ~ to user dir while changing path
-added home dir ~ expansion to UI in prefs also
@vssdeo I'm getting an error when I'm trying to merge this:
Can you fix this up so that it can be merged again? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Ref: #760
Observation
It was reported in bug that this used to work in previous versions, but I could not find that for me it only worked after the patch.
command in layout issue:
I have notices in the released version 2.1.3 and in the master branch I was working that if a command is present the terminator exits after being launched. I could trace it to terminal.py in following lines. I am not sure if thats the default behavior but it seemed confusing when program exited.
elif self.config['exit_action'] in ('close', 'left'):
self.cnxids.new(self.vte, 'child-exited',
lambda x, y: self.emit('close-term'))
Testing
Launch terminator
Right-click and Preferences->Layout
Try changing working directory and press Save below.
exit terminator and relaunch
the previous state would be same unmodified
after this patch that should work