octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #60509] First initialization of graphics subsy


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #60509] First initialization of graphics subsystem switches graphics_toolkit when octave-cli used
Date: Mon, 3 May 2021 19:00:29 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #8, bug #60509 (project octave):

Who wrote this mess?  Probably me!  And probably there is a much simpler way
for this to be managed.

Yes, I think we want the initial default the first of "qt", "fltk", or
"gnuplot" that is available.  But that should just be initialized early on,
before any call to graphics_toolkit can happen.  After that, anything set by
graphics_toolkit should persist.

With octave-cli, "qt" will not be available, so then it is just "fltk" or
"gnuplot".

Maybe we could do away with the idea of available_graphics_toolkits?  Do we
need to maintain that list?  I forget why I thought it was needed.  What is it
used for now? Could we just fail if the requested toolkit is not found?



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60509>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]