Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor is not displayed in cells when editing code #1783

Open
IInatas opened this issue May 30, 2023 · 9 comments
Open

Cursor is not displayed in cells when editing code #1783

IInatas opened this issue May 30, 2023 · 9 comments

Comments

@IInatas
Copy link

IInatas commented May 30, 2023

Dear Wxmaxima Team,

thanks for working constantly on this great piece of software. I discover a problem using the latest version (see below) with Manjaro.
When the cursor is placed in a cell with the mouse, it is visible. Moving the cursor with the cursor keys only shifts the cursor marker invisibly - i.e. the cursor stroke remains, but editing takes place at the desired position.

regards,
Marcus Menzel

build_info(version="5.46.0",timestamp="2023-04-05 13:12:48",host="x86_64-unknown-linux-gnu",lisp_name="SBCL",lisp_version="2.3.3",maxima_userdir="/home/marcus/.maxima",maxima_tempdir="/tmp",maxima_objdir="/home/marcus/.maxima/binary/5_46_0/sbcl/2_3_3",maxima_frontend="wxMaxima",maxima_frontend_version="23.05.1_GTK3")
Screenshot_20230530_124708

@hugodiniz
Copy link

Detect same problem.

@yurytch
Copy link
Contributor

yurytch commented Jul 21, 2023

Looks like a graphical toolkit problem.
I have both horizontal ('post-cell') and vertical (editing) forms of cursor visible .
My instance of wxMaxima is compiled against wxGTK3 3.0.5.

@gunterkoenigsmann
Copy link
Member

Besides wxDC (that is used for drawing the cursor rectangle) the bug could be in wxTimer, in that case...

@gunterkoenigsmann
Copy link
Member

...or we somehow use more timers than Windows allows us to, sometimes: Windows is said to be very restrictive in that respect.

@Famondir
Copy link

Famondir commented Jul 31, 2023

Having the same problem on Windows 11 x64 with latest Maxima and wxMaxima 23.051 (build 22621). The cursor stays visible if I placed it with the mouse and moves (coorectly?) if I use up or down key. But with left and right key it does not move at all. But if I press up or down again I can see that it has changed position left or right (but not visible).

Okay. It seems to be more complicated. In my first 8 to 12 statements I define matrices and the cursor works. When I go to statements after 11 (I define functions there) the cursor does not work. When I go back to statements in between 8 and 11 from 12+ it does not work. When I go back to statements 8 and before it works again. From there I con go to statements up to 11 with working cursor.

@Ardhanm
Copy link

Ardhanm commented Oct 1, 2023

Same happens to me on wxMaxima 23.05.1. I can move the cursor left and right while on the first 8 statements. From there on, it doesn't work. Any advance on this issue? Thank you.

Update: I just installed wxMaxima 23.08.0 and configured the path to Maxima inside prior wxMaxima 23.05.1 installation path.
Now the cursor seems to work perfectly fine.

@gunterkoenigsmann
Copy link
Member

I had to change the code that displays the cursor after that release. Let's hope for the best: on my computer I don't see that problem.

Which operating system are you using?

@Ardhanm
Copy link

Ardhanm commented Oct 1, 2023

Windows 11

@silverus777
Copy link

maxima
Hello everyone,
I can confirm the issue and add more info.
In my case the problem has do to something with window content scroll position.
It look like area being updated is misplaced.
Displacement grows with position of vertical scroll bar of window content:

  1. When it is top position, everything is ok,
  2. When moved one notch down, only part of height of the cursor is being updated* (in small window).
  3. When moved forward down, entire cursor stops being updated.
    *In big window (full screen) one notch down is enough to stop updating of entire cursor.

It would be great if you could figure this out!
( wxMaxima 23.05.1, Windows 11 23H2 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants