Page 1 sur 1

Highlighted in the expression entry

Publié : mar. oct. 07, 2025 5:42 am
par GermanXG
After insert an expression entry, if a write something and press the arrows, I don't see any highlighted region. The characters just become italic (I suppose this is because they are selected). I have to press the right button "Sel" and then I can see the highlighted region.
But if I understand correctly, just by pressing the arrows I should be able to select the expression, right?

Re: Highlighted in the expression entry

Publié : mar. oct. 07, 2025 6:24 pm
par parisse
I'm not sure I understand the issue. If you enter something in the expression editor, nothing is selected, you have an insertion cursor. Pressing the up arrow key should select the current expression, then arrow keys should move the selection.

Re: Highlighted in the expression entry

Publié : jeu. oct. 09, 2025 7:27 am
par GermanXG
Here a video that show the differences in select with arrows and with the button. I have this issue no matter if I use MATE or Xfce. This is with fltk 1.3.

https://youtu.be/-N3pem7RtBY

Re: Highlighted in the expression entry

Publié : dim. oct. 19, 2025 11:17 pm
par GermanXG
I compiled xcas from source (latest release) on another laptop running Lubuntu 24. I have the same problem described in the video in my previous post. However, on another computer running Lubuntu 24, I have xcas 1.9.0 installed, and I have no problems with that version.

I've also noticed that if I click on the expression entry before moving the arrows, the highlighting is correct. The same is true if I press the "Sel" selection button before moving the arrows.

Re: Highlighted in the expression entry

Publié : mer. oct. 22, 2025 7:11 pm
par parisse
It's a focus issue. I think I have a fix, by simulating a click on the expression widget after it has been created.