Closed simonbcn closed 7 years ago
I think the bug is major. I change On new instance
to Split Down
or Split Right
and it doesn't work either.
With New Session
works but it doesn't focus the window.
With New Window
works well.
I fixed the add right/down actions, the problem with those is unrelated to the focus issue. I can duplicate the focus issue, I don't why this isn't working in Wayland. I've confirmed that I'm calling present
on the window correctly which should raise it to top. The quake window works because it goes through a hide/show cycle, doing that here makes things works but of course you get annoying flashing.
I'll keep at it and see what I can do to sort it out.
I suspect this is because of this GTK bug:
It's very probably. 😞 Then this isn't a Tilix bug. I close this.
Confirmed: it's a Wayland bug. I've tested on Gnome Shell on X and it works well.
With New Session works but it doesn't focus the window.
This part doesn't work on X as well.
Was that commit supposed to fix it? Because tilix --focus-window --action=app-new-session
still doesn't work. A new tab is opened, the window just isn't focused.
Should work now, thanks for testing and pointing out that it wasn't.
Thanks, it's working now.
Maybe we need to reopen this, because is not working anymore.
On 22.04 (wayland) I do get a notification that "tilix is ready", while tilix still being in the background. :cry:
Same as @radugrosu: would expect tilix to be refocused on wayland.
Definitely needs to be reopened, because the feature still doesn't work
I have set
On new instance
:Focus Window
and I set a shortcut ingnome-control-center
>Keyboard
to open a tilix window when I pressF12
. When I pressF12
the first time, it opens a new terminal window and it focuses it. I set the focus to another window and I pressF12
again but it doesn't focus the opened tilix window. I tested it withtilix --focus-window
and it doesn't work.