Jump to content
Clément

Delphi 12.2 code editor blinks for every key I press

Recommended Posts

Hi,

 

Just upgraded to 12.2, and the installation completed without any errors.
All my components are installed, everything is fine.

I opened my latest project, and the code editor blinks for every key I press.

Seems to be relate to an automated syntax check.

Every key I type triggers a syntax checker (that pop's the error in the "Structure" window) blinks the entire code editor. *very* annoying
Hopefully there's a checkbox to disable this. 

 

Any one experienced this? Is there away to disable it?

 

 

Share this post


Link to post
9 minutes ago, Clément said:

the code editor blinks for every key I press.

Can you show a small video of that? Based on your description I cannot reproduce that behavior, so I might got it wrong.

Share this post


Link to post
25 minutes ago, Uwe Raabe said:

Can you show a small video of that? Based on your description I cannot reproduce that behavior, so I might got it wrong.

The tools I have right know didn't manage to capture correctly. I have to use my phone.

 

https://www.dhs.com.br/downloads/IDE_12_2_Blink.mp4

 

Even with the phone, it quite don't show how annoying it is.. but every key blinks

Share this post


Link to post
3 minutes ago, aehimself said:

@Clément Are you accessing Delphi through MsTSC?

Yes. I've tried Remote Desktop using single monitor and dual monitor ( my usual setup ).
I have not changed anything in my connectivity. I just upgraded from 12.1 to 12.2

Edited by Clément

Share this post


Link to post

OK, my setup is Windows (no VM) and IDE Light Theme and that doesn't show any blinking.

Share this post


Link to post

I'm only asking because the quick peek I took at Delphi 12.2 until now showed the same symptom. And I'm using RDP to access the machine Delphi is installed on, too.

Share this post


Link to post

I just accessed the machine without VM and the code editor doesn't blink.
Is there any special new settings for RDP access?

Share this post


Link to post
On 9/14/2024 at 6:21 PM, Clément said:

I just accessed the machine without VM and the code editor doesn't blink.
Is there any special new settings for RDP access?

My colleagues and I planned to upgrade from 12.1 to 12.2 next week. Most of the time we access Delphi in the office through VPN and RDP. Most PCs with Delphi 12.1 installed are real, but there are also VMs.
I didn't understand when the problem occurs

Share this post


Link to post
21 hours ago, tgbs said:

My colleagues and I planned to upgrade from 12.1 to 12.2 next week. Most of the time we access Delphi in the office through VPN and RDP. Most PCs with Delphi 12.1 installed are real, but there are also VMs.
I didn't understand when the problem occurs

I can access my development machine in three ways.
 1) Physically. I have access to the actual machine. 
 2) Remotely using VPN and RDP. 
 3) In the office, I use a physical machine with 2 VMs. One of those VM I'm using to open a VPN/RDP to access my development machine.

 

After migrating to 12.2 I noticed some blinking when accessing my machine using the VM (method 3): There was the blinking.
Using method 2  blinking
with method 1 no blinking at all. 

 

What's happening ( when using method 2 and 3) :

  As I type my code, some syntax check takes place. The code editor light ups a few areas of the IDE. For example, Red exclamation dots on the margins, the squirrels lines below invalid code, the structure windows displays the errors. During all that action, the lines in the code editor flashes very fast. And as I type the code to "resolve" the errors, the code editor blinks.

It didn't happened with 12.1. 
I tried a few settings to optimize my RDP connection, but the blinking is still there. The optimization helped reducing a little.


 

Edited by Clément
  • Thanks 1

Share this post


Link to post

sounds like a hardware acceleration issue..can you try disabling it or updating the video drivers?

Share this post


Link to post
On 9/17/2024 at 10:00 PM, FaFaFooey said:

sounds like a hardware acceleration issue..can you try disabling it or updating the video drivers?

I'll give you it's an old machine/graphic card... the same I used with 12.1, 11.x, 10.x ... where there was no blink. 

Share this post


Link to post
On 9/17/2024 at 2:44 PM, Uwe Raabe said:

Can you try to disable the Editor Scrollbar Annotations?

I disable most of new features IDE (one by one, and restarting the IDE after each change). Still blinks. 

Share this post


Link to post
On 9/19/2024 at 9:09 AM, Die Holländer said:

Seems the same issue like this Stackoverflow Question

I removed "Smooth fonts" from RDP parameters. And it still blinks. 
For the sake of testing, I removed every option:

image.png.c15bfde980bd9fb76af7e1d6429f9ca5.png

 

And it still blinks. 

Share this post


Link to post

RSS-1824 was already open about this issue . No solutions, no workarounds yet.

Just fyi.

Share this post


Link to post

What happen if Windows Service called "Theme" is stopped and disabled ?

Will the flicking continue to exist with RDP ?

Share this post


Link to post
5 hours ago, Kas Ob. said:

What happen if Windows Service called "Theme" is stopped and disabled ?

Will the flicking continue to exist with RDP ?

Unfortunately the flicking still exists. I stopped the service and started the IDE.

Edited by Clément
  • Like 1

Share this post


Link to post

We were updated from 12.1 to 12.2. There is no problem with the RDP from real Windows and Linux machines to 12.2. 12.2 is on real and virtual machines.

Edit: Forgot to say that 12.2 is on Windows 10 and 11

Edited by tgbs
  • Like 1

Share this post


Link to post

I have same problem on RDP.

Look like Flicker happens when CodeInsight show Done (maybe they need refressh window). CodeInsight is started every time a key is pressed. Disabling CodeInsigh (and Restart LSP) block flickering but I need LSP .

Share this post


Link to post

I just want to share my similar setup (but with no problems): I also remotely access a physical Windows 11 machine via VPN/RDP. I upgraded from Delphi 12.1 to 12.2 a couple of weeks ago and have no problems with blinking. 

 

The only thing different is that in order to keep my main computer's internet connection for Teams meetings and personal email, I start up a VMWare machine and connect remotely from there. The VMWare machine is running Windows 10. So basically, it's like this:

  • Windows 11 desktop (three monitors):
    • VMWare virtual machine with Windows 10 on two of the monitors
      • VPN/RDP -> Windows 11 with Delphi 12.2

Fast internet, fairly new hardware on both ends, all visual options on in RDP, works great.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×