Bug#889930: Plot viewer doesn't work properly

2018-02-15 Thread Louis-Philippe Véronneau
> Is it possible this is a video driver / OpenGL problem on your system?
> Can you try running octave with LIBGL_ALWAYS_SOFTWARE=1 in your
> environment? See also https://www.mesa3d.org/envvars.html for other
> variables to try.

Yeah, running octave with LIBGL_ALWAYS_SOFTWARE=1 indeed solves the problem.

Good to know it's not an octave bug after all then!

Thanks,

-- 
pollo



signature.asc
Description: OpenPGP digital signature


Bug#889930: Plot viewer doesn't work properly

2018-02-15 Thread Mike Miller
On Thu, Feb 15, 2018 at 13:26:34 -0500, Louis-Philippe Véronneau wrote:
> I guess there is a library missing somewhere that I would need to
> install on my openbox machine.

This seems less likely to me now. I installed a clean (unstable) system
without any recommends enabled, ran octave in openbox on a vnc, and
everything worked fine.

Is it possible this is a video driver / OpenGL problem on your system?
Can you try running octave with LIBGL_ALWAYS_SOFTWARE=1 in your
environment? See also https://www.mesa3d.org/envvars.html for other
variables to try.

Best to use gnuplot if your system has problems with the default
GL-based plotting library.

-- 
mike


signature.asc
Description: PGP signature


Bug#889930: Plot viewer doesn't work properly

2018-02-15 Thread Mike Miller
On Thu, Feb 15, 2018 at 13:26:34 -0500, Louis-Philippe Véronneau wrote:
> I ran the same code with the same version of octave but on a PC running
> Gnome 3 instead of openbox and I did not have this problem...
> 
> I guess there is a library missing somewhere that I would need to
> install on my openbox machine.

Could be. I just installed openbox, started it in a vnc session, and
octave plots appear and behave as expected. I will try to repeat on a
clean system if I get a chance.

-- 
mike


signature.asc
Description: PGP signature


Bug#889930: Plot viewer doesn't work properly

2018-02-15 Thread Louis-Philippe Véronneau
I ran the same code with the same version of octave but on a PC running
Gnome 3 instead of openbox and I did not have this problem...

I guess there is a library missing somewhere that I would need to
install on my openbox machine.

I'll try to debug this some more.

-- 
pollo



signature.asc
Description: OpenPGP digital signature


Bug#889930: Plot viewer doesn't work properly

2018-02-08 Thread Louis-Philippe Véronneau
Package: octave
Severity: important

Hi!

Using octave 4.2.1-5, I can't make the plot viewer window work properly.

When generating a plot using the plot() function, the plot viewer window
pops-up, but nothing is shown inside the window.

Fortunately, the window buttons still work and I'm able to save the plot
as a PDF.

Once I save the plot, the plot shows up correctly, but the window
buttons like Pan, Z+ or Z- don't work.

If I overlay another program on top of the plot viewer, the plot
disappears once again.

Don't hesitate to ask for more info if you are not able to reproduce
this bug!

-- 
pollo



signature.asc
Description: OpenPGP digital signature