Script Editor loses focus while typing

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
tonno
Posts: 4
Joined: Sun Nov 30, 2025 8:34 pm

Script Editor loses focus while typing

Post by tonno » Sun Nov 30, 2025 9:32 pm

Hello everyone!
I am new to livecode, I installed 10-0-3 rc2 with Xubuntu 24.
When I create a new stack and try to do the hello world app,
I place a button on the card, edit the script, choose on 'mouseup' from the left pane,
then, I try to enter the codeword 'answer' between the lines 'on mouseup' and 'end mouseup'
after each letter, the edit window loses focus (the cursor disappears, the window title greys out)
I have to click into the script editor window to be able to continue typing.

Interestingly, inside of quotation marks, eg "Hello World" the focus is not lost.

Any hints how to prevent that behaviour?

greetings to the reader!

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10438
Joined: Wed May 06, 2009 2:28 pm

Re: Script Editor loses focus while typing

Post by dunbarx » Sun Nov 30, 2025 11:31 pm

Hi.

I am not a linux user, but that should not matter. I have never heard of your problem. What happens if you do NOT use the left pane as a shortcut, and manually type:

Code: Select all

on  mouseUp
  answer "XYZ"
end mouseUp
Craig

tonno
Posts: 4
Joined: Sun Nov 30, 2025 8:34 pm

Re: Script Editor loses focus while typing

Post by tonno » Mon Dec 01, 2025 7:21 pm

Hi Craig,

so I am happy to be the unicorn :-)
The problem persists, independent of using the left pane or typing the commands manually.
I found out that the editor windows works as expected, if I untick the View - Palettes option.
This helps a bit but then the tools bar is gone until I tick the option again.

Any ideas on that?

Interestingly, the window title of the tools bar does not get "ungreyed", when the script window title gets greyed out.
So it's not just the tools bar hijacking somehow the focus.

greetings,
tonno

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10294
Joined: Fri Feb 19, 2010 10:17 am

Re: Script Editor loses focus while typing

Post by richmond62 » Mon Dec 01, 2025 7:25 pm

LiveCode and Xubuntu have experienced focus issues for quite a few years now.

dunbarx
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10438
Joined: Wed May 06, 2009 2:28 pm

Re: Script Editor loses focus while typing

Post by dunbarx » Mon Dec 01, 2025 7:55 pm

Aha. This ought to go to;

https://quality.livecode.com

Craig

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10294
Joined: Fri Feb 19, 2010 10:17 am

Re: Script Editor loses focus while typing

Post by richmond62 » Mon Dec 01, 2025 8:50 pm

If anyone is psying attention there when LC have effectively dumped 'Classic'.

tonno
Posts: 4
Joined: Sun Nov 30, 2025 8:34 pm

Re: Script Editor loses focus while typing

Post by tonno » Mon Dec 01, 2025 10:27 pm

I tried to file the bug but I don't seem to be able to create a quality control account,
since I am not getting an account creation confirmation email.

Frankly, I don't expect my problem to get solved, the xubuntu+livecode combination seems to be used seldom,
I switched to KDE VM, where that problem does not occur.

greetings and thanks for answering.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 10294
Joined: Fri Feb 19, 2010 10:17 am

Re: Script Editor loses focus while typing

Post by richmond62 » Tue Dec 02, 2025 2:49 pm

I don't seem to be able to create a quality control account
"Focus" has moved elsewhere.

Post Reply