bugGNU Octave - Bugs: bug #40792, gui starts but is unresponsive on...

 
 

bug #40792: gui starts but is unresponsive on ubuntu 12.04

Submitter:  None
Submitted:  Tue 03 Dec 2013 06:12:12 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  joaquin murgade Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Thu 19 Dec 2013 02:56:13 AM UTC, comment #14: 

It looks to me like the two issues in this bug report are resolved, is that correct?

Mike Miller <mtmiller>
Group Member
Wed 18 Dec 2013 12:29:43 AM UTC, comment #13: 

Thank you for the tip . Alt-Tab worked perfectly.
Yes it must be a problem with Unity.
Unfortunately I have no means of testing in another distro.
thank you to all for this great math tool.
By the way I was using the development branch of gnuplot with
qt terminal ,rebuilt without qt and it's working fine with octave.
regards
joaquin


Anonymous
Tue 17 Dec 2013 10:26:35 PM UTC, comment #12: 

I am on Ubuntu 12.04 64-bit, using Octave dev version with JIT. I do always get the behavior that Joaquin described with fltk, namely the command window loses keyboard focus after closing a plot window, but I never thought of it as an Octave bug because after I close a plot window I habitually alt-tab back to the command window anyway. I guess it just became second nature to type Ctrl-W Alt-Tab. I have on rare occasion encountered similar keyboard-focus-losing with the Code::Blocks IDE. I've been told (but cannot independently verify) that the Unity UI may interact a little oddly with programs using Qt or QScintilla libraries. If you have access to a Linux machine not using Unity (either a non-Ubuntu distro or an Ubuntu variant like Kubuntu/Lubuntu/Xubuntu etc that uses a different window manager), could you verify Octave's behavior there? If the command window regains keyboard focus there, it's a Unity quirk and not an Octave GUI quirk.

I cannot get the "broken pipe" error with gnuplot (using gnuplot 4.4 patchlevel 3).

Arun Giridhar <arungiridhar>
Group Member
Wed 11 Dec 2013 07:38:36 PM UTC, comment #11: 

I don't know what might cause the "broken pipe" when plotting with gnuplot.

Torsten Lilge <ttl>
Group Member
Tue 10 Dec 2013 07:49:54 AM UTC, comment #10: 

Yes when i re-read my comments i noticed i wasn't clear
first the only thing i have in ~/.config/octave is  qt-settings
if i rename it to qt-settings_bak
i get the welcome wizard , i accept everything and get the
gui. so far no problems.
in the gui command window i enter
t=linspace(-12,12,200);
when i enter the command
plot(t,sin(t))
it plots with fltk correctly
but the command window doesn't respond to further
commands , i mean if i try to enter 1+1
nothing gets written but if i click in any place other
than the command window the editor for example or the help
or if i minimize the gui window and restore it again
the the focus returns to the command window
this happens only after a plot command
i dont have any problem with a calculation that doesn't involve
a plot.
 all this is without a .octaverc file
if i put an .octaverc file with the command : graphics_toolkit ("gnuplot") and start octave as usuall with octave --force-gui
it starts ok but when trying to plot there is this messege : "warning : broke pipe "
and nothing gets ploted , int this case the result is the gui not
responding  at all  no command window nor editor, nothing.
gnuplot is well installed as it used to work perfectly with
octave gui and still works with other program (maxima) and
as standalone.
hope this is a little clearer than the previous post.
regards
joaquin :)


Anonymous
Tue 10 Dec 2013 06:29:40 AM UTC, comment #9: 

Sorry, I can't follow you here: Before you said you started without settings file (comment #4, removed .config/octave). Now you have renamed qt-settings to qt-settings_bak, so you are still starting octave without settings file?
What happens if you start octave with settings file?
And what exactly made the change that the issue now only apperas after having made a plot?

Torsten Lilge <ttl>
Group Member
Tue 10 Dec 2013 02:36:45 AM UTC, comment #8: 

5c4124d8de77 (stable) tip
i rebuilt octave without passing --enable-jit
although it got selected by default
same problem as before
tried starting with qt-settings (the only file i have now in .config/octave ) renamed to qt-settings_bak without success.
since the problem reported with the gui appears now
only when i plot something i made an .octaverc with
the line : graphics_toolkit ("gnuplot")
but now when i tried to plot got
the message :"broken pipe"

best,
joaquin

Anonymous
Mon 09 Dec 2013 06:43:33 PM UTC, comment #7: 

Some more questions:

  • Running octave this way, does the settings file exists afterwards?
  • What happens when the settings file exists at start up?
  • What happens when you build without jit?


Torsten Lilge <ttl>
Group Member
Mon 09 Dec 2013 11:49:00 AM UTC, comment #6: 

sorry tested with octave --force-gui
i get the same results as before.
regards
joaquin

Anonymous
Mon 09 Dec 2013 04:44:01 AM UTC, comment #5: 

You're not supposed to run octave-gui directly.

Try running the command


octave --force-gui


Does that work for you?

John W. Eaton <jwe>
Group administrator
Mon 09 Dec 2013 04:16:42 AM UTC, comment #4: 

I have made a new build of octave with stable branch
and have the same problem as before . result of hg id :
2bdd8cea6585 (stable) tip
built with --enable-jit --prefix=/media/western/install_dir/octave
after building I ran tests and get :
1 fail
7 x fail
11522 pass
installed and removed ./config/octave
i launch octave-gui with the command /media/western/install_dir/octave/bin/octave-gui from a terminal
octave shows welcome i accept finish and i get the gui
then every command i type goes to the terminal i used to launch octave even if i double click over the gui.
if i use a command from the command history on the left
it works ok
for example
t=linspace(-1,1,10000); <- command already in my history
plot(t,sin(1./t)) <- command already in my history
it plots fine but after that even if i close
the plot window the gui doesn't respond
double clicking again on the left command history
makes the gui responsive again
i hope this clarifies a little what's goin on.
regards
joaquin


Anonymous
Thu 05 Dec 2013 06:01:50 PM UTC, comment #3: 

Did you build from the stable or the default branch?

Torsten Lilge <ttl>
Group Member
Tue 03 Dec 2013 09:28:45 PM UTC, comment #2: 

to the first question yes deleted from ~/.config
yes i get the welcome wizard ok before the gui
i got the sources first by :
"hg clone http://www.octave.org/hg/octave"
later i do hg pull and hg update
of course "git" was an error i meant mercurial
regards
joaquin

Anonymous
Tue 03 Dec 2013 07:58:54 PM UTC, comment #1: 

A few questions:

  • I guess you mean you have deleted octave from ~/.config?
  • Are you seeing the welcome wizard before the frozen gui?
  • Are you building from the stable or default branch?
  • What do you mean by "from git"?



Torsten Lilge <ttl>
Group Member
Tue 03 Dec 2013 06:12:12 PM UTC, original submission:  

Hello built Dec 2 2013 octave from git after making hg pull
enabled octave-gui enabled jit prefix=/media/western/install_dir/octave
steps to reproduce problem:
deleted octave directory from ~/.configure
started octave with comand  /media/western/install_dir/octave/bin/octave-gui from  a terminal.
gui starts but is not responsive .
In another built to weeks ago it worked fine.
from the terminal and without gui octave is working as expected.

regards
joaquin

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by jordigh (Updated the item)
  • -email is unavailable- added by arungiridhar (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-01-02 rik5 StatusNeed Info Invalid / Not an Octave Bug
        Open/ClosedOpen Closed
    2013-12-18 jordigh Summarygui not working on ubuntu 12.04 gui starts but is unresponsive on ubuntu 12.04
    2013-12-08 ttl StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code