bugGNU Octave - Bugs: bug #54862, New error messages when plotting...

 
 

bug #54862: New error messages when plotting after octave started with --no-gui-libs

Submitted by:  Rik <rik5>
Submitted on:  Thu 18 Oct 2018 03:12:26 AM UTC  
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  John W. Eaton <jwe>
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

( Jump to the original submission)

Sat 27 Oct 2018 02:20:23 AM UTC, comment #8:

Fixed. Closing report.

Rik <rik5>
Project Administrator
Fri 26 Oct 2018 03:06:19 AM UTC, comment #7:

Thanks for the reminder. I made the change locally but forgot to push it. It's done now:

http://hg.savannah.gnu.org/hgweb/octave/rev/811e094ba676

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Fri 26 Oct 2018 01:08:19 AM UTC, comment #6:

Still an issue (10/25/18).

Rik <rik5>
Project Administrator
Sat 20 Oct 2018 04:04:56 PM UTC, comment #5:

Marking as In Progress since jwe has a plan for this if using _octave_linke_enabled_ is okay.

Rik <rik5>
Project Administrator
Thu 18 Oct 2018 07:00:05 PM UTC, comment #4:

@jwe: I currently use FLTK as a single threaded reference toolkit, mainly when something goes wrong with the default Qt toolkit and I want to determine if it is due to cross thread communication (see e.g. bug #48273).

Since you have recently mentioned your will to remove the FLTK toolkit, Qt single threaded would be a perfect replacement :-).

Pantxo Diribarne <pantxo>
Project Member
Thu 18 Oct 2018 03:02:58 PM UTC, comment #3:

Panxto: OK, I can use that for now. What do you mean by "test the qt toolkit"?

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Thu 18 Oct 2018 07:23:48 AM UTC, comment #2:

@jwe: I'd use "__octave_link_enabled__ ()" which is false in --no-gui-libs only. On the other hand, it would be very useful to have a way to test the qt toolkit in single threaded mode, but it is probably another matter.

Pantxo Diribarne <pantxo>
Project Member
Thu 18 Oct 2018 04:10:17 AM UTC, comment #1:

My recent change was intended to defer loading the qt graphics toolkit until it is needed. Although it might be nice to have it available to octave-cli, doing that is a more complicated job than I'm interested in doing at the moment. So I think we should just make the qt toolkit unavailable to octave-cli for now. The following line in the libgui/graphics/PKG_ADD file is supposed to do that:

However, this fails because the _have_feature_ tests will both be true if configure finds those features, even though the Qt libraries are not linked with octave-cli. So what other test can we do here to determine that the Qt libraries are not loaded, even though configure found them? isguirunning is not the right thing here, because it will return false when Octave (with the Qt libraries) is started in command-line mode, and in that case the qt graphics toolkit does work.

John W. Eaton <jwe>
Project AdministratorIn charge of this item.
Thu 18 Oct 2018 03:12:26 AM UTC, original submission:

Here is a sample session which invokes Octave without GUI libraries.

Undoubtedly this is related to this changeset

Rik <rik5>
Project Administrator

 

(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 pantxo (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by rik5 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-10-27 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2018-10-26 jwe StatusIn Progress => Ready For Test
    2018-10-20 rik5 StatusNone => In Progress

    Back to the top


    Powered by Savane 3.4