medley icon indicating copy to clipboard operation
medley copied to clipboard

Slow (spelled S-L-O-W) refresh sometimes

Open hjellinek opened this issue 1 year ago • 5 comments

Describe the bug I've noticed that Medley sometimes draws text very slowly, and other times acceptably quickly.

This is a screen recording of one of the slower examples, SEdit in this case. I see it in the exec sometimes too. But I just edited another s-expression of similar visual size in SEdit and had it flash onto the screen immediately. Why is it sometimes so slow?

To Reproduce Steps to reproduce the behavior:

  1. Set a variable FOO to the s-expression in the attached file.
  2. In an Interlisp exec, evaluate ed(FOO)
  3. Watch SEdit redisplay slowly, or maybe quickly! It's unpredictable, but once it's going slowly it stays slow.

Expected behavior SEdit displays the s-expression quickly.

Context (please complete the following information):

  • OS: macOS Ventura, SDL
  • OS Version: 13.7.1
  • Host arch: Intel
  • Maiko version: commit 55d8504060d0d40505a2ddc39daca12f9ecb0303
  • IL:MAKESYSDATE: 6-Nov-2024

Additional context Add any other context about the problem here.

hjellinek avatar Dec 15 '24 21:12 hjellinek

Which display subsystem? If X11, which Xserver?

nbriggs avatar Dec 16 '24 00:12 nbriggs

Sorry, I threw it on the OS line: SDL.

I've been meaning to update the Issue template.

hjellinek avatar Dec 16 '24 00:12 hjellinek

Does the issue still occur?

pamoroso avatar Sep 16 '25 19:09 pamoroso

Does the issue still occur?

I just tested it under the same conditions except for a new Medley build.

The performance is about the same as in the video.

hjellinek avatar Sep 16 '25 20:09 hjellinek

is this eelated to using SDL instead of X on MacOS?

masinter avatar Sep 19 '25 19:09 masinter