in reply to application crash during WINCH Signal
Hi hanspr,
I tried a fresh Xubuntu install and experience WINCH not working in Xubuntu 18.04.3 and 19.10. In fact the WINCH handler never stops once reaching past the end of the terminal screen (i.e. runs repeatedly even though not resizing the application window).
Fortunately, there's a solution. On the login screen, choose "Xfce Session". The Gtk3 asbru-cm application works in Xubuntu 18.04.3 and 19.10 as expected. Possibly, something to do with the "Xubuntu Session".
Update: Fix for the Xubuntu Session
The fix for the "Xubuntu Session" is unsetting the "GTK_OVERLAY_SCROLLING" environment variable not present inside the "Xfce Session". A good place is at the top of the script in /opt/asbru/asbru-cm (well, before loading any Gtk3 related modules).
BEGIN { # Fix for WINCH handling using Gtk3 on Xubuntu 18.04.3 and 19.10 delete $ENV{'GTK_OVERLAY_SCROLLING'}; } use utf8; binmode STDOUT,':utf8'; binmode STDERR,':utf8'; ...
Regards, Mario
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: application crash during WINCH Signal
by hanspr (Sexton) on Nov 29, 2019 at 23:00 UTC | |
by marioroy (Prior) on Nov 29, 2019 at 23:12 UTC | |
by hanspr (Sexton) on Nov 29, 2019 at 23:18 UTC |