Since upgrade to 0.6.91, I lost cursor focus, when I launch xfce4-terminal. Previous one was fine. I saw, you removed the 'gtk_widget_grab_focus' method in 'terminal_screen_force_resize_window' function, I re-added it, but cursor is still unfocusing. I use these current libraries: * Gtk+ 3.18.8 * Vte 0.42.4
Hi, Are other apps (e.g. gnome-terminal) getting focus when they are launched? I can disable new windows getting focus (in the openbox settings), and then no new window will get it. But once I've enabled the setting, new terminal windows get the focus just fine.
(In reply to Igor from comment #1) > Hi, > > Are other apps (e.g. gnome-terminal) getting focus when they are launched? > > I can disable new windows getting focus (in the openbox settings), and then > no new window will get it. But once I've enabled the setting, new terminal > windows get the focus just fine. Problem still persists with 0.6.92. When I open new terminal, focus is not anymore available even if I click in window (or launch basic command, e.g. ls, cd and so on). I tried tilda (build against Vte 0.42.4) and cursor is fine like the 0.6.90 (and previous releases).
Thanks for the update. However, I've installed FreeBSD 10.3 in a VM, installed Xfce there and built the terminal from git. And the window focus is working fine for me. What DE/WM are you using?
Together with the IRC user Harzilein, we have found the reason of the issue today - it's the compiler. When compiled with gcc (in opposite to clang), there's no cursor focus issue. Harzilein has also provided a Makefile: http://sprunge.us/IhIA
Actually, I have fixed a bug in the code - should work with clang now. https://git.xfce.org/apps/xfce4-terminal/commit/?id=7e657dcf660b1b6ea2fc94cffb1f08f4d01063b5
I use Xfwm4. Lost focus appears with the GCC compiler (default in 9.3-RELEASE). I'm maintainer of the Xfce stack under FreeBSD, so I test each release under 9.3-RELEASE and 10.3 / 11.0-RC2. Harzilein's Makefile is wrong, when we need to use GCC instead compiler found in base system. I'm trying to test your patch.
Ok, please keep me updated.
(In reply to Igor from comment #7) > Ok, please keep me updated. Patch works fine, thanks!
(In reply to duchateau.olivier from comment #8) > (In reply to Igor from comment #7) > > Ok, please keep me updated. > > Patch works fine, thanks! Great! Thanks for reporting.