Highlighted in the expression entry

Messages in english

Modérateur : xcasadmin

GermanXG
Messages : 21
Inscription : mar. déc. 24, 2024 6:24 am

Highlighted in the expression entry

Message par GermanXG » mar. oct. 07, 2025 5:42 am

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?

parisse
Messages : 5921
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Highlighted in the expression entry

Message par parisse » mar. oct. 07, 2025 6:24 pm

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.

GermanXG
Messages : 21
Inscription : mar. déc. 24, 2024 6:24 am

Re: Highlighted in the expression entry

Message par GermanXG » jeu. oct. 09, 2025 7:27 am

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

GermanXG
Messages : 21
Inscription : mar. déc. 24, 2024 6:24 am

Re: Highlighted in the expression entry

Message par GermanXG » dim. oct. 19, 2025 11:17 pm

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.

parisse
Messages : 5921
Inscription : mar. déc. 20, 2005 4:02 pm
Contact :

Re: Highlighted in the expression entry

Message par parisse » mer. oct. 22, 2025 7:11 pm

It's a focus issue. I think I have a fix, by simulating a click on the expression widget after it has been created.

Répondre