Menu

#2634 wxt: terminal does not refresh on Ubuntu on dev and 5.4.8

None
open-upstream-bug
nobody
None
2023-08-01
2023-07-03
No

wxt: terminal does not refresh on Ubuntu

How to reproduce

On Ubuntu, execute gnuplot-dev or gnuplot-5.4.8

set terminal wxt
plot x

The plot y=x appears,
Then I execute

plot x*x

The plot x**2 does not appear until I click the plot window by the mouse.

Discussion

  • Tatsuro MATSUOKA

    • summary: wxt: terminal does not on Ubuntu on dev and 5.4.8 --> wxt: terminal does not refresh on Ubuntu on dev and 5.4.8
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,8 +1,8 @@
    -wxt: terminal does not on Ubuntu
    +wxt: terminal does not refresh on Ubuntu
    
     How to reproduce
    
    -On Ubuntu, execute gnuplot-dev and gnuplot-5.4.8
    +On Ubuntu, execute gnuplot-dev or gnuplot-5.4.8
    
     ~~~
     set terminal wxt
    
    • Group: -->
    • Priority: -->
     
  • Tatsuro MATSUOKA

    It does not happen on Windows (MinGW and Cygwin)

     
  • Ethan Merritt

    Ethan Merritt - 2023-07-04

    Is this behaviour observed before or after the commit below?

    4d02ce8b014e48eda477ae16e9ea2526c1219302 (HEAD -> master, origin/master, origin/HEAD)
    Date: Wed Jun 28 20:25:00 2023 -0700

    wxt: fix uninitialized toggle state for refresh of plot display
    
     

    Last edit: Ethan Merritt 2023-07-04
  • Tatsuro MATSUOKA

    I observe the same behaviors on gnuplot-5.4.2 from the Ubuntu distro.
    I observe the same behaviors on gnuplot-5.2.8 (built from source)

     

    Last edit: Tatsuro MATSUOKA 2023-07-04
    • Ethan Merritt

      Ethan Merritt - 2023-07-04

      The question is whether this is related to, and possibly fixed by, the commit from last week that also was reported specifically for Ubuntu + wxt.

      It is curious that Ubuntu suffers from this bug (or bugs) but other linux distros do not.

       
  • Ethan Merritt

    Ethan Merritt - 2023-07-05

    Please ignore my previous question. That commit was bad, and broke wxt plot toggling.
    I will have to revert it and look elsewhere for problems.

    It is hard for me to debug this because I cannot reproduce the problem on my linux machines.

     
  • Tatsuro MATSUOKA

    I confirmed on Ubutu 22.04 on the WSL and native machine. In the weekend, I will try to install other Linux distro like Debain on on the WSL.

     

    Last edit: Tatsuro MATSUOKA 2023-07-05
  • Tatsuro MATSUOKA

    I tested on the latest snapshot for gnuplot-dev.
    Results were the same as before.

     
  • Tatsuro MATSUOKA

    I installed Debian 12 on the WSL. The same behaviors as those in Ubunutu happened in the Debian 12.

     
  • Tatsuro MATSUOKA

    I installed OpenSuSE 15.4 on the WSL2. Plot on the wxt terminal works as expected.
    Problem seems to be specific to the Debian and Ubuntu at the moment.

     
    • Ethan Merritt

      Ethan Merritt - 2023-07-09

      Could this be a problem with the Gnome desktop focus policy, rather than a problem with gnuplot itself?

      You could test this by logging in to a session using Xfce instead of Gnome on the same Ubuntu machine.

       

      Last edit: Ethan Merritt 2023-07-09
      • Tatsuro MATSUOKA

        I failed to install Xfce to my Ubuntu PC. Instead I dually installed Xubuntu 22.04.
        If I use Xubuntu, the wxt terminal works as expected.
        Perhaps your suggestion is right.
        I consider that I post this issue to the Ubuntu forums.

         

        Last edit: Tatsuro MATSUOKA 2023-07-10
        • Ethan Merritt

          Ethan Merritt - 2023-07-10

          I found this suggested work-around:
          https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900678
          https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=942570

          $ GDK_BACKEND=x11 ./gnuplot

          Does that work for you?

           
          • Tatsuro MATSUOKA

            Thanks! That works! I'll wait for the bug for Wayland will be fixed. Meanwhile I will use GDK_BACKEND=x11 for the wxt terminal on Ubunutu (or Debian).

             
  • Ethan Merritt

    Ethan Merritt - 2023-08-01
    • status: open --> open-upstream-bug
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.