all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* octave: menus on figure windows not responsive
@ 2015-01-28 17:53 Alan Barnett
  2015-01-29  0:08 ` Leo Liu
  2015-01-29  0:16 ` octave: menus on figure windows not responsive Glenn Morris
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Barnett @ 2015-01-28 17:53 UTC (permalink / raw)
  To: Help Gnu Emacs mailing list

I'm running octave 3.8.1, emacs 24.3.50.2, and Ubuntu 24.04.
I loaded the latest version of octave.el.
I am able to run octave from emacs as an inferior process using the 
run-octave command.

I have a problem with the graphics.  When I use the "plot" command, a 
window opens and the plot appears correctly,  The problem is that 
neither pulldown menus on the plot window nor the "x", "minimize", and 
"fullscreen" buttons in the upper right of the window frame are 
sensitive.  I therefore cannot close the window.
I can move and resize the window using the mouse, but when I resize the 
window, the plot size doesn't change.
In addition, I cannot open more than one window at a time;  if I use the 
"figure" command to open a new plot window, the old one closes.

Has anyone else noticed this bug?  Is there a fix?

-- 
Alan Barnett
Imaging Physicst
NICHD




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: octave: menus on figure windows not responsive
  2015-01-28 17:53 octave: menus on figure windows not responsive Alan Barnett
@ 2015-01-29  0:08 ` Leo Liu
  2015-01-29 13:34   ` bug#19723: 24.4; octave.el; graphics window behaves incorrectly Alan Barnett
  2015-01-29  0:16 ` octave: menus on figure windows not responsive Glenn Morris
  1 sibling, 1 reply; 6+ messages in thread
From: Leo Liu @ 2015-01-29  0:08 UTC (permalink / raw)
  To: Alan Barnett; +Cc: Help Gnu Emacs mailing list

On 2015-01-29 01:53 +0800, Alan Barnett wrote:
> I'm running octave 3.8.1, emacs 24.3.50.2, and Ubuntu 24.04.
> I loaded the latest version of octave.el.
> I am able to run octave from emacs as an inferior process using the
> run-octave command.
>
> I have a problem with the graphics.  When I use the "plot" command, a
> window opens and the plot appears correctly,  The problem is that
> neither pulldown menus on the plot window nor the "x", "minimize", and
> "fullscreen" buttons in the upper right of the window frame are
> sensitive.  I therefore cannot close the window.
> I can move and resize the window using the mouse, but when I resize
> the window, the plot size doesn't change.
> In addition, I cannot open more than one window at a time;  if I use
> the "figure" command to open a new plot window, the old one closes.
>
> Has anyone else noticed this bug?  Is there a fix?

Could you try start emacs with -q or -Q and then load the latest
octave.el to see if this happens again? If yes, please report it by M-x
report-emacs-bug. Thanks.

Leo



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: octave: menus on figure windows not responsive
  2015-01-28 17:53 octave: menus on figure windows not responsive Alan Barnett
  2015-01-29  0:08 ` Leo Liu
@ 2015-01-29  0:16 ` Glenn Morris
  1 sibling, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2015-01-29  0:16 UTC (permalink / raw)
  To: Alan Barnett; +Cc: Help Gnu Emacs mailing list

Alan Barnett wrote:

> I'm running octave 3.8.1, emacs 24.3.50.2, and Ubuntu 24.04.

24.3.50 is an old development version of what became Emacs 24.4.
There is no reason to run that instead of the actual Emacs 24.4 release.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19723: 24.4; octave.el; graphics window behaves incorrectly
  2015-01-29  0:08 ` Leo Liu
@ 2015-01-29 13:34   ` Alan Barnett
  2015-01-30  0:52     ` Leo Liu
  2021-05-28  1:00     ` Lars Ingebrigtsen
  0 siblings, 2 replies; 6+ messages in thread
From: Alan Barnett @ 2015-01-29 13:34 UTC (permalink / raw)
  To: 19723

When I ran emacs and typed

M-x run-octave

emacs opened a buffer called *Inferior octave*
with octave running.

I then issued the octave plot command:
octave>plot(1:100)

The plot window appeared, but the pull-down menus, the buttons at the
bottom, and the close (x) button did not respond to mouse clicks.

The minimize button worked correctly.
The full-screen toggle button worked, but was buggy.
When I pushed the full-screen toggle button, the plot window did expand,
but the plot remained the same size and the menu bar and bottom buttons
were not displayed.
Manually changing the plot window size with the mouse resulted in the
same behavior.

The octave plot window behaves correctly when octave is run from a
console instead of from emacs.





In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
  of 2015-01-29 on cavu
Windowing system distributor `The X.Org Foundation', version 11.0.11501000

System Description:    Ubuntu 14.04.1 LTS

Important settings:
   value of $LANG: en_US.UTF-8
   value of $XMODIFIERS: @im=ibus
   locale-coding-system: utf-8-unix

Major mode: Inferior Octave

Minor modes in effect:
   shell-dirtrack-mode: t
   compilation-shell-minor-mode: t
   display-time-mode: t
   tooltip-mode: t
   electric-indent-mode: t
   mouse-wheel-mode: t
   tool-bar-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<escape> x r u n - c o t a <tab> <backspace> <backspace>
<backspace> <backspace> o c <tab> <return> p l o t
( 1 : 1 0 0 ) <return> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <down-mouse-1> <mouse-1> q
u i t <return> <help-echo> <escape> x r e p o <tab>
r <tab> <return>

Recent messages:
Loading /usr/pkg/ess/lisp/ess-site...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Load-path shadows:
/home/asb/emacs/octave hides 
/usr/local/share/emacs/24.4/lisp/progmodes/octave

Features:
(shadow sort mail-extr emacsbug message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums mail-utils octave help-mode skeleton
texinfo gv derived pcase smie tramp tramp-compat auth-source eieio
byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util
mail-prsvr password-cache tramp-loaddefs trampver ido ess-toolbar
ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb
ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l
ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs
make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d compile ess-tracebug
format-spec ess-roxy advice hideshow ess-help ess-developer ess-r-args
eldoc help-fns ess-s-l ess ess-inf comint ansi-color ring ess-mode
ess-noweb-mode ess-utils ess-custom executable easymenu ess-compat
ess-site time time-date tooltip electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
gfilenotify dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 135847 9426)
  (symbols 48 24688 0)
  (miscs 40 116 148)
  (strings 32 29679 5165)
  (string-bytes 1 872076)
  (vectors 16 15978)
  (vector-slots 8 454151 8294)
  (floats 8 124 261)
  (intervals 56 279 0)
  (buffers 960 15)
  (heap 1024 32789 936))






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19723: 24.4; octave.el; graphics window behaves incorrectly
  2015-01-29 13:34   ` bug#19723: 24.4; octave.el; graphics window behaves incorrectly Alan Barnett
@ 2015-01-30  0:52     ` Leo Liu
  2021-05-28  1:00     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 6+ messages in thread
From: Leo Liu @ 2015-01-30  0:52 UTC (permalink / raw)
  To: Alan Barnett; +Cc: 19723

On 2015-01-29 21:34 +0800, Alan Barnett wrote:
> I then issued the octave plot command:
> octave>plot(1:100)
>
> The plot window appeared, but the pull-down menus, the buttons at the
> bottom, and the close (x) button did not respond to mouse clicks.

This might have something to do with how octave plotting window uses
something like readline event loop or some such.

See inferior-octave-startup-args and mess with it. I seem to recall
removing --no-line-editing might help but it might cause problems
somewhere else.

HTH,
Leo





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#19723: 24.4; octave.el; graphics window behaves incorrectly
  2015-01-29 13:34   ` bug#19723: 24.4; octave.el; graphics window behaves incorrectly Alan Barnett
  2015-01-30  0:52     ` Leo Liu
@ 2021-05-28  1:00     ` Lars Ingebrigtsen
  1 sibling, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-05-28  1:00 UTC (permalink / raw)
  To: Alan Barnett; +Cc: 19723

Alan Barnett <alansbarnett@verizon.net> writes:

> emacs opened a buffer called *Inferior octave*
> with octave running.
>
> I then issued the octave plot command:
> octave>plot(1:100)
>
> The plot window appeared, but the pull-down menus, the buttons at the
> bottom, and the close (x) button did not respond to mouse clicks.

(I'm going through old bug reports that unfortunately got little
response at the time.)

I'm able to reproduce this in Emacs 28...  but it turns out that I can
reproduce this on the command line as well by using the -i switch:

$ octave -i
...
octave:1> plot(1:100)
octave:2> 

will display the same symptoms.  So I don't think this is an Emacs
bug -- it has to be an Octave bug, and should be reported to the Octave
maintainers.

So I'm closing this bug in the Emacs bug tracker.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-05-28  1:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-28 17:53 octave: menus on figure windows not responsive Alan Barnett
2015-01-29  0:08 ` Leo Liu
2015-01-29 13:34   ` bug#19723: 24.4; octave.el; graphics window behaves incorrectly Alan Barnett
2015-01-30  0:52     ` Leo Liu
2021-05-28  1:00     ` Lars Ingebrigtsen
2015-01-29  0:16 ` octave: menus on figure windows not responsive Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.