-
Notifications
You must be signed in to change notification settings - Fork 232
Second window comes into focus first #326
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
Comments
+1 same issue here. It seems like tmuxp ignore |
I have the same issue, too. |
Try with "- " in front of focus: 'true'.
After this configuration for next window begind with - layout: and follows the same blueprint ending with window_name: X Been just playing around, testing and it works fine on my side. |
No, it didn't work:
|
Focusing does not seem to work for me either. This is an example that I have (except for replacing the names): session_name: work
windows:
- window_name: Proxy
start_directory: ~/Code/acme_docker/proxy
panes:
- docker-compose up
- window_name: Satis
start_directory: ~/Code/acme_docker/satis
panes:
- docker-compose up
- window_name: Postal
focus: true
layout: even-horizontal
start_directory: ~/Code/acme/postal-service
panes:
- docker-compose up
- focus: true
- window_name: FoobarService
layout: even-horizontal
start_directory: ~/Code/acme/foobar-service
panes:
- docker-compose up
-
- window_name: ProjectUnkown
layout: even-horizontal
start_directory: ~/Code/acme/unkown.project.nl
panes:
- docker-compose up
-
- window_name: ProjectZero
layout: even-horizontal
start_directory: ~/Code/acme/zero.project.nl
panes:
- docker-compose up
- When I execute the above it opens the window named ProjectUnkown instead of the one with the |
/cc @tony PTAL - I might debug this and if I find what is wrong with it, try to fix it and create PR, but give me a hint if it's something that you already worked on or not ? |
@anselmos Go ahead and give it a shot. This is an open issue |
Works for me when |
I confirm that even today with the newest version of tmuxp that focus works on panes, but has no effect on windows. |
i've fixed some typos and focus works for me |
not working too |
Been having this issue too. Using version 1.3.5 My hacky work-around is:
I add the Would be nice to get this fixed properly. |
Does #500 fix this issue properly for anyone? Looking for testers! |
It works for me, thanks! |
@laixintao @animeshb @npearson72 @Qiaocci @Blake-LeBlanc @ashdo @jgb @rightaway @Ilyes512 @anselmos @Alrefai @pjrulez Fix from #500 live in tmuxp 1.5.4 |
It works, thanks a lot |
Will try later this week and confirm. Thank you for putting your efforts into this fix. |
Will try it out this weekend and let you know, thanks Tony! |
Yeap I confirm it works on 1.5.4 version 🎉 Thanks! |
1.5.4 version fixes the issue on my end as well. Thank you @tony ! |
This works 🎉🥇. I can go back to my workflow! |
I have a simple config with three windows. I have set
focus: true
for the first window to show upon loading a new session. Instead of the first, second window opens up.What is wrong with my configuration?
Version information:
tmuxp 1.3.5
tmux 2.6
Debian Testing
The text was updated successfully, but these errors were encountered: