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

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

[Octave-bug-tracker] [bug #39722] history list adds extraneous carriage


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #39722] history list adds extraneous carriage return when recalling commands
Date: Tue, 13 Aug 2013 20:54:34 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #5, bug #39722 (project octave):

As far as I can tell, after the patch is applied the last command should be
evaluated and not leave a text string on the command line.  When a single
command is selected and "evaluate" is chosen the command is run, so why not in
the list multiselection given the same mechanism is used?:


      if ((*it).isValid())
        emit command_double_clicked ((*it).data().toString());


It's just strange and unpredictable, I think.  When there is a single command,
that just goes into the FIFO and then the core takes it out--no obvious
problem.  When there are multiple commands, that's when the problem arises.

It could be that the core is inadvertently doing first in, last out queue so
that commands are backward or rearranged from the order they go in.  However,
the bigger issue is that commands are being lost signifying a mutex problem.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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