Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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


In reply to Re: application crash during WINCH Signal by marioroy
in thread application crash during WINCH Signal by hanspr

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found