Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

Re: application crash during WINCH Signal

by marioroy (Parson)
on Nov 29, 2019 at 21:32 UTC ( #11109454=note: print w/replies, xml ) Need Help??

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 (Acolyte) on Nov 29, 2019 at 23:00 UTC

    Thanks a lot Mario, I saw your message on github, thanks again here too.

    Your solutions fixes the issue for good.

      Great to hear hanspr. I was curious and took a look. No changes were necessary to the WINCH handler. Removing an environment variable resolves the issue from what I can tell.

        Yes I know now, to me was a walk around the problem, I knew I was avoiding the underling issue. Thanks, again.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11109454]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2020-09-27 14:34 GMT
Find Nodes?
    Voting Booth?
    If at first I donít succeed, I Ö

    Results (142 votes). Check out past polls.