Drop-down Menues of PceEmacs on the wrong screen

I’m using: SWI-Prolog version 9.2.9 (64 bits) on a Windows 11 machine with an separate monitor on my laptop. The SWI-Prolog is working fine (so far) on the sep. monitor. If I try to use the PceEmacs by clicking on File / Edit… the editor appears on the laptops screen. When I then drag the editor beneth SWI-Prolog on the sep. monitor all the drop-down menues appears on the laptop instead on the sep. screen.

Has anyone solved this fishy behavior? Or any hints?

Viele Grüße | Best regards

Siegfried

No.

There are not many that use SWI-Prolog on Windows and even less that use multiple monitors.

This problem has been around for years.

For now I would suggest to just adapt to looking at the other screen when looking at the drop down items. Personally I just keep it all on one monitor.

I could go on, but there is a lot of history on this forum related to Windows, GUI and SWI-Prolog; read between the lines to mean that getting it all to work nicely is hard and you found one of the rough edges.

HTH

I have a similar setup, though on Win 10. And it works for me (i.e. I get all windows on the external monitor) maybe because my external monitor is set up as the primary monitor…

Ja, if I change the monitors it works, but it means also doing the important things on the smaller on… A couple of month ago my old office laptop (which was linux) died and I decided to go further with windows. Obvious a not so good idea… :sob: .

Ähm, that was exactly my task in my old job as an auditor in the renewables… (sorry for that :wink: )

Okay, may I’ll try Notepad++ or something else… let’s see.

(post deleted by author)

I use VSCode with the Extension: VSC-Prolog - Visual Studio Marketplace

AFAIK the debugger with the extension does not work to the level one might expect, so for such debugging I use the one with SWI-Prolog. All the other coding chores I do with VSCode.

1 Like

Interesting! - I have to check that out.

1 Like

(Nothing of importance)

You may try 9.3.30. That is the latest release that uses SDL3 as portable API to control windows. It is still a under development, but it may already work better. Please report any issues you find with that version. Development on 9.2.x is frozen. Next stable will be 9.4.0, forked from 9.3.x when most issues with the new code base are resolved.