bugGNU Octave - Bugs: bug #37625, Direction arrows erases prompt

 
 

bug #37625: Direction arrows erases prompt

Submitted by:  Juan Pablo Carbajal <juanpi>
Submitted on:  Wed Oct 24 08:00:02 2012  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: JuanPiOpen/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

(Jump to the original submission Jump to the original submission)

Sun Jul 28 16:54:51 2013, comment #9:

Closing as it seems to have been fixed. Please reopen if I'm wrong.

Mike Miller <mtmiller>
Project Administrator
Fri Jun 21 04:11:56 2013, comment #8:

Is this bug still present? It appears to be fixed for me running the GUI on hg id 2f63d2f3ff11.

Mike Miller <mtmiller>
Project Administrator
Thu Apr 11 13:44:17 2013, comment #7:

I'm adding bug #37401 as a link because it seems to be related to history display and the terminal window size.

Rik <rik5>
Project Administrator
Thu Apr 11 09:41:55 2013, comment #6:

Hi,

The bug is still there for me as of hg id:
3a2daa39c682 tip

the following steps trigger the bug

octave:1> a=1
a = 1
octave:2> b=2
octave:3> [UP] b=2 [UP] a=1 [UP][UP]

Continue applying UP erases all input lines.

Juan Pablo Carbajal <juanpi>
Thu Apr 11 00:04:42 2013, comment #5:

April 4th, 2013

Juan,

Is this bug still present for you? There has been a lot of work on the GUI and I think this has been fixed.

--Rik

Rik <rik5>
Project Administrator
Fri Oct 26 10:45:23 2012, comment #4:

no-gui: Everything works fine without the gui.

=======

Update on the bug: Every time the string with the information of the last time Octvae was used causes the failure. Example [UP] means I pressed up.

octave:1> a=1
a = 1
octave:2> b=2
octave:3> [UP] b=2 [UP] a=1 [UP]

and I get

>ctave:3> # Octave 3.7.0+, Fri Oct 26 12:39:29 2012 CEST <juanpi@Ueberland-linux>


presing [UP] again

octave:3> exit

=======

Brahmic scripts : I oberse the behavuor in the gui, there are extra scpaces but the string is correct. With --no-gui I do not get the right script and the last quotes are erased.

Juan Pablo Carbajal <juanpi>
Fri Oct 26 05:28:26 2012, comment #3:

Juan Pablo: Do you get the same behavior in the GUI as well as in the --no-gui mode? For me the text mode works exactly like GNU Readline, and the command recall acts differently only with GUI.

While we're on the topic of cursor behavior, could you check something with Unicode strings? I noticed this earlier this week. Try pasting strings like "सिद्धिर्भवति कर्मजा" at the command line. For me, the cursor in the GUI jumps far to the right of the string's last character (especially for strings in Brahmic scripts), but the string is stored properly in Octave. This affects only GUI and not CLI or existing code. I suspect that the QScintilla library routines are moving the cursor one space to the right for every character read even if said character only diacritically modifies a previous character and does not itself occupy extra space, but I'm still tracking down the reason for this behavior.

Arun Giridhar <arungiridhar>
Fri Oct 26 04:46:18 2012, comment #2:

Is this related to Bug #37401? Based on Dan Sebald's comment there, that was related to pager output and is recognized but is being deferred until more fundamental GUI aspects have been worked out.

Arun Giridhar <arungiridhar>
Thu Oct 25 19:23:16 2012, comment #1:

This works for me, but I'm running a vanilla Kubuntu 10.04 system. This sounds like terminal settings are not being set correctly, but I'm not an expert at that stuff.

Rik <rik5>
Project Administrator
Wed Oct 24 08:00:02 2012, original submission:

Hi all,

Executing
./run-octave
on the latest default branch.

if I press the UP-arrow (or DOWN) then the prompt is erased. Several times and the copyright notice is being erased line by line.

Is this a bug on our side?

hg id
c6eaf2d7b2c7 tip

branch: default

Juan Pablo Carbajal <juanpi>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by arungiridhar (Posted a comment)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by juanpi (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Jul 28 16:54:51 2013mtmillerStatusWorks For Me=>Fixed
      Open/ClosedOpen=>Closed
    Thu Apr 11 13:44:17 2013rik5Dependencies-=>Depends on bugs #37401
    Thu Oct 25 19:23:16 2012rik5StatusNone=>Works For Me

    Back to the top


    Powered by Savane 3.1-cleanup