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

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

[Octave-bug-tracker] [bug #48005] menu() does not work without X


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #48005] menu() does not work without X
Date: Wed, 25 May 2016 02:40:50 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0

Update of bug #48005 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

Confirmed, this is because menu checks


if (isguirunning () || usejava ("awt"))


and the check is succeeding even when it is not possible to use AWT widgets
because there is no graphical environment.

I wonder if usejava("awt") and usejava("swing") should return false if the
widgets can't actually be instantiated because there is no X environment
available. Matlab's help for usejava is not particularly insightful, but I
think that would make the most sense.

Would you like to submit a patch to fix this?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48005>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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